ROTMG free hack Hack ROTMG and Private Server
   Realm of the Mad God Hacks, Cheats and Private Server
PS
Private Server
HC
Hacked Client
$
Donations
?
Help
C
Community

Follow us on Facebook!
Please Register and Login to our forum to access all features!

Mobs - ROTMG Tool


Discuss any thing that is coding related here, ask for help, or show us your work

Mobs

Postby Clouds » Sun 20 Dec 15 - 20:28

Can someone teach me how to code mobs?
Even just a layout for a god or something would be very appreciated.
Originally KrazyCat
User avatar
Clouds  <i> Offline</i>
Donator
Donator
Posts: 166
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award

Postby VoidReaper » Mon 21 Dec 15 - 8:21

<Object type="0x1add" id="-----">
<Enemy/>
<Class>Character</Class>
<RemoteTexture>
<Id>9512340</Id>
<Instance>draw</Instance>
</RemoteTexture>
<HitSound>monster/dark_elves_hit</HitSound>
<DeathSound>monster/dark_elves_death</DeathSound>
<Size>250</Size>
<MaxHitPoints>10000</MaxHitPoints>
<Defense>120</Defense>
<Projectile id="0">
<ObjectId>Purple Mystic Shot</ObjectId>
<Damage>100</Damage>
<Speed>130</Speed>
<LifetimeMS>100000</LifetimeMS>
<PassesCover/>
<Parametric/>
</Projectile>
<Projectile id="1">
<ObjectId>Dark Blue Magic</ObjectId>
<Damage>90</Damage>
<Speed>110</Speed>
<LifetimeMS>300</LifetimeMS>
</Projectile>
</Object>

Here's the code for a mob that I have on a custom list that I was given by Shlub for a server of his, I've removed the name for various reasons. Also there's a chance that this won't actually work, it only worked a small portion of the times it was spawned so I don't have high hopes for it.

</Object>
<Object type="0x1ade" id="xp sheep">
<Group>Sheep</Group>
<Enemy/>
<HitSound>monster/djinn_hit</HitSound>
<DeathSound>monster/djinn_death</DeathSound>
<MaxHitPoints>100</MaxHitPoints>
<Class>Character</Class>
<AnimatedTexture>
<File>chars8x8rBeach</File>
<Index>0</Index>
</AnimatedTexture>
<Size>100</Size>
<XpMult>20</XpMult>
</Object>
Here's the code for the XP sheep I also got this off the custom list I was given by Shlub. Hope this helps even just a little. x3
Image~Death, King of the Void

Masters Will Fall, and Darkness will Rise...
The Void Army is Rising Again...
User avatar
VoidReaper  <i> Offline</i>
Global Moderator
Global Moderator
Posts: 532
Joined: Mar '15
PS Name: GodofDeath
Location: the Void, frolicking among the souls of the dead, and watching over my kingdom
Thanks: 46
Member of the Quarter Nuclear Award Dev Award Created Award Great Ideas Award
Bug Zapper Award LMAO Award [OLD] Member of the Month

Postby Clouds » Tue 22 Dec 15 - 6:27

@VoidReaper Thanks a lot c:
Originally KrazyCat
User avatar
Clouds  <i> Offline</i>
Donator
Donator
Posts: 166
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award

Postby Clouds » Tue 22 Dec 15 - 6:40

@VoidReaper Also, how do I actually input these into the game (say I had my own private server)?
Originally KrazyCat
User avatar
Clouds  <i> Offline</i>
Donator
Donator
Posts: 166
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award

Postby VoidReaper » Tue 22 Dec 15 - 7:11

It occurred to me this morning that I gave you the stats and projectile stats for an enemy but I didn't give you the behaviors..... sadly I don't have the behaviors scripts.
Image~Death, King of the Void

Masters Will Fall, and Darkness will Rise...
The Void Army is Rising Again...
User avatar
VoidReaper  <i> Offline</i>
Global Moderator
Global Moderator
Posts: 532
Joined: Mar '15
PS Name: GodofDeath
Location: the Void, frolicking among the souls of the dead, and watching over my kingdom
Thanks: 46
Member of the Quarter Nuclear Award Dev Award Created Award Great Ideas Award
Bug Zapper Award LMAO Award [OLD] Member of the Month

Postby Clouds » Wed 23 Dec 15 - 7:32

@VoidReaper Okay, I'll check some other forums to try and find them. Still really appreciate it c:
Originally KrazyCat
User avatar
Clouds  <i> Offline</i>
Donator
Donator
Posts: 166
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award