Please Register and Login to our forum to access all features!
ROTMG free hack Hack ROTMG and Private Server ROTMG Private Server
Play ROTMG Tool Private Server Play ROTMG Hacked Client
View the Frequently Asked Questions Donate to ROTMG Tool Visit the Community Site
Realm of the Mad God Hacks, Cheats and Private Server - Come as Guests, Stay as Family!
Advertisement

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, 2015 8:28 pm

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>
Banned
Banned
Posts: 158
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award

Postby VoidReaper » Mon 21 Dec, 2015 8:21 am

<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, walker 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: 506
Joined: Mar '15
PS Name: GodofDeath
Location: the Void frolicking among the souls of the dead, and watching over my kingdom
Thanks: 41
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, 2015 6:27 am

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

Postby Clouds » Tue 22 Dec, 2015 6:40 am

@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>
Banned
Banned
Posts: 158
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award

Postby VoidReaper » Tue 22 Dec, 2015 7:11 am

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, walker 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: 506
Joined: Mar '15
PS Name: GodofDeath
Location: the Void frolicking among the souls of the dead, and watching over my kingdom
Thanks: 41
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, 2015 7:32 am

@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>
Banned
Banned
Posts: 158
Joined: Dec '15
PS Name: Clouds
Location: Probably at my house.
Thanks: 3
Great Ideas Award