• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Making a custom monster

Brohemith

New Member
Joined
Nov 28, 2010
Messages
46
Reaction score
0
Location
United States of America
I made a monster and it is not allowing me to import it to RMEs 8.54.
I really have no idea why this is happening becuase i have imported and used monsters before, i think it might be becuase the monster isnt a monster, its an item.

everytime i try to import it it comes up with something that is telling me:

Error uploading file Frosty the snowman, invalid format

Stuff like that and its pretty frustrating becuase im making them the same way i did before except now i use wordpad instead of notepad but if anyone knows how to solve this problem please tell me ASAP.
Than You ^.^
 
Its a monster called frosty the snowman with the ID of a snowman.

the script is:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Frosty The Snowman" nameDescription="frosty the snowman" race="ice" experience="20000" speed="500" manacost="0">
<health now="85000" max="85000"/>
<look type="11125" corpse="2111"/>
<targetchange interval="5000" chance="15"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="85"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2250" skill="120" attack="110"/>
<attack name="ice" interval="3500" chance="20" target="1" radius="4" min="-250" max="-850">
<attribute key="areaEffect" value="explosion"/>
</attack>
<attack name="ice" interval="4000" chance="15" target="0" radius="4" min="-100" max="-350">
<attribute key="areaEffect" value="smallclouds"/>
</attack>
<attack name="manadrain" interval="1000" chance="13" radius="5" target="0" min="-60" max="-230">
<attribute key="areaEffect" value="watersplash"/>
</attack>
<attack name="physical" interval="2500" chance="15" length="7" spread="0" min="0" max="-500">
<attribute key="areaEffect" value="mortarea"/>
</attack>
</attacks>
<defenses armor="45" defense="55">
<defense name="healing" interval="2000" chance="15" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="5" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element icePercent="-15"/>
<element energyPercent="-5"/>
<element earthPercent="-8"/>
<element firePercent="25"/>
</elements>
<immunities>
<immunity death="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Wave goodbye!"yell="1"/>
<voice sentence="Frosty the snowman was a jolly happy sould!"/>
<voice sentence="Im back...always said id be!"/>
</voices>

</item>
</loot>
</monster>
 
Use Codes please, so put any monsters that you don't have on your Server and change content to this monster that you have put on Map Editor.
 
Add it to monsters.xml.
race "ice" doesnt exist. If you want to use items as lootype you need to change <look type to typeex
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Frosty The Snowman" nameDescription="frosty the snowman" race="undead" experience="20000" speed="500" manacost="0">
<health now="85000" max="85000"/>
<look typeex="11125" corpse="2111"/>
<targetchange interval="5000" chance="15"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="85"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2250" skill="120" attack="110"/>
<attack name="ice" interval="3500" chance="20" target="1" radius="4" min="-250" max="-850">
<attribute key="areaEffect" value="explosion"/>
</attack>
<attack name="ice" interval="4000" chance="15" target="0" radius="4" min="-100" max="-350">
<attribute key="areaEffect" value="smallclouds"/>
</attack>
<attack name="manadrain" interval="1000" chance="13" radius="5" target="0" min="-60" max="-230">
<attribute key="areaEffect" value="watersplash"/>
</attack>
<attack name="physical" interval="2500" chance="15" length="7" spread="0" min="0" max="-500">
<attribute key="areaEffect" value="mortarea"/>
</attack>
</attacks>
<defenses armor="45" defense="55">
<defense name="healing" interval="2000" chance="15" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="5" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element icePercent="-15"/>
<element energyPercent="-5"/>
<element earthPercent="-8"/>
<element firePercent="25"/>
</elements>
<immunities>
<immunity death="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Wave goodbye!"yell="1"/>
<voice sentence="Frosty the snowman was a jolly happy sould!"/>
<voice sentence="Im back...always said id be!"/>
</voices>

</item>
</loot>
</monster>
 
Lua:
<look type="11125" corpse="2111"/>
Lol? What is this? To get a looktype of an item you must do it like this:
Lua:
<look typeex="11125" corpse="2111"/>
 
I can't understand you.
This error could already be fixed if you were clever enough to post the errors..
 
Example

when naming the file did you use spaces because the monster file I have seen don't use spaces

file name exptrainer.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Exp Trainer" nameDescription="a exp trainer" race="blood" experience="99999999" speed="240" manacost="600">
	<health now="1000000000" max="1000000000"/>
	<look type="57" head="0" body="0" legs="0" feet="0" corpse="3058"/>
	<targetchange interval="2000" chance="5"/>
	<strategy attack="70" defense="20"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="55" attack="1"/>
	</attacks>
	<defenses armor="25" defense="52">
		<defense name="healing" interval="250" chance="100" min="1000000000" max="1000000000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="speed" interval="1000" chance="10" speedchange="1100" duration="2000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="0"/>
		<immunity poison="0"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="I will punish the sinners!"/>
		<voice sentence="A prayer to the almighty one."/>
		<voice sentence="Repent Heretic!" yell="1"/>
	</voices>
	<loot capacity="500">
	</loot>
</monster>


code to add monsters to server in monsters.xml

Code:
<monster name="Exp Trainer" file="exptrainer.xml"/>

Try adding this to your server and then try and add your monster

note:
I basically took a trainer that I edited (just the number values) and copied and pasted the code and added exp
 
Last edited:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Frosty The Snowman" nameDescription="frosty the snowman" race="ice" experience="20000" speed="500" manacost="0">
<health now="85000" max="85000"/>
<look type="11125" corpse="2111"/>
<targetchange interval="5000" chance="15"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="85"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2250" skill="120" attack="110"/>
   </attack>
<attack name="ice" interval="3500" chance="20" target="1" radius="4" min="-250" max="-850">
<attribute key="areaEffect" value="explosion"/>
</attack>
<attack name="ice" interval="4000" chance="15" target="0" radius="4" min="-100" max="-350">
<attribute key="areaEffect" value="smallclouds"/>
</attack>
<attack name="manadrain" interval="1000" chance="13" radius="5" target="0" min="-60" max="-230">
<attribute key="areaEffect" value="watersplash"/>
</attack>
<attack name="physical" interval="2500" chance="15" length="7" spread="0" min="0" max="-500">
<attribute key="areaEffect" value="mortarea"/>
</attack>
</attacks>
<defenses armor="45" defense="55">
<defense name="healing" interval="2000" chance="15" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="5" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element icePercent="-15"/>
<element energyPercent="-5"/>
<element earthPercent="-8"/>
<element firePercent="25"/>
</elements>
<immunities>
<immunity death="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Wave goodbye!"yell="1"/>
<voice sentence="Frosty the snowman was a jolly happy sould!"/>
<voice sentence="Im back...always said id be!"/>
</voices>
</monster>
 
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Exp Trainer" nameDescription="a exp trainer" race="blood" experience="99999999" speed="240" manacost="600">
	<health now="1000000000" max="1000000000"/>
	<look type="57" head="0" body="0" legs="0" feet="0" corpse="3058"/>
	<targetchange interval="2000" chance="5"/>
	<strategy attack="70" defense="20"/>
	<flags>
     <flag summonable="0"/>
	 <flag attackable="1"/>
	 <flag hostile="1"/>
	 <flag illusionable="1"/>
	 <flag convinceable="0"/>
	 <flag pushable="0"/>
	 <flag canpushitems="1"/>
	 <flag canpushcreatures="1"/>
	 <flag targetdistance="1"/>
	 <flag runonhealth="0"/>
   </flags>
	<attacks>
		<attack name="melee" interval="2000" skill="55" attack="1"/>
	</attacks>
	<defenses armor="25" defense="52">
		<defense name="healing" interval="250" chance="100" min="1000000000" max="1000000000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="speed" interval="1000" chance="10" speedchange="1100" duration="2000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="0"/>
		<immunity poison="0"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="I will punish the sinners!"/>
		<voice sentence="A prayer to the almighty one."/>
		<voice sentence="Repent Heretic!" yell="1"/>
	</voices>
	<loot capacity="500">
	</loot>
</monster>
try this 1
 
Back
Top