• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC [Release] Magebomb creature!

Tony32

Veteran OT User
Joined
Jun 6, 2008
Messages
1,256
Reaction score
347
Hello!

This is the first creature I manage to release. It's not really a magebomb, but it summons 20 magebomb creatures. Fun to play with or use in a quest or a script.

OBS!! I'm using TFS but I don't really know what version it was. Probably for 8.11/8.1 but I think it will work in any TFS 8.1 and later.

First off, create a file called:

Random Noob.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Random Noob" nameDescription="a random noob" race="blood" experience="200" speed="300" manacost="390">
  <health now="350" max="350"/>
<look type="129" head="36" body="83" legs="116" feet="78" corpse="2212"/>
  <targetchange interval="5000" chance="8"/>
  <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="0"/>
    <flag targetdistance="3"/>
    <flag staticattack="90"/>
    <flag runonhealth="50"/>
  </flags>
  <attacks>
  </attacks>
  <defenses armor="10" defense="13"/>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="0"/>
    <immunity paralyze="0"/>
    <immunity outfit="0"/>
    <immunity drunk="0"/>
    <immunity invisible="0"/>
  </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="Come here, free itenz!"/>
    <voice sentence="Come, look! A bug!"/>
    <voice sentence="I found a bug! Come and look!"/>
  </voices>
  


<summons maxSummons="20">
<summon name="Magebomb" interval="10" chance="100"/>
<summon name="Magebomb" interval="20" chance="100"/>
<summon name="Magebomb" interval="30" chance="100"/>
<summon name="Magebomb" interval="40" chance="100"/>
<summon name="Magebomb" interval="50" chance="100"/>
  </summons>



  <loot>
    <item id="2148" countmax="20" chance1="100000" chancemax="0"/>
    <item id="2465" chance="10000"/>
    <item id="2461" chance="10000"/>
    <item id="2649" chance="10000"/>
    <item id="2671" countmax="2" chance1="20000" chancemax="0"/>
    <item id="3976" countmax="10" chance1="50000" chancemax="0"/>
    <item id="1987" chance="100000">
      <inside>
        <item id="2456" chance="6666"/>
        <item id="2544" countmax="15" chance1="10000" chancemax="0"/>
        <item id="2546" countmax="5" chance1="10000" chancemax="0"/>
        <item id="2147" countmax="2" chance1="3333" chancemax="0"/>
        <item id="2675" countmax="4" chance1="6666" chancemax="0"/>
        <item id="2690" countmax="4" chance1="6666" chancemax="0"/>
        <item id="2050" chance="20000"/>
        <item id="2478" chance="3333"/>
        <item id="2652" chance="2222"/>
        <item id="2201" chance="2500"/>
      </inside>
    </item>
  </loot>
</monster>

and now make a file called:
Magebomb.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Magebomb" nameDescription="a Magebomber" race="blood" experience="48" speed="250" manacost="390">
  <health now="130" max="130"/>
  <look type="134" head="95" body="0" legs="113" feet="115" corpse="6080"/>
  <targetchange interval="5000" chance="8"/>
  <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="0"/>
    <flag targetdistance="3"/>
    <flag staticattack="90"/>
    <flag runonhealth="18"/>
  </flags>
  <attacks>
    <attack name="physical" interval="2000" chance="100" range="7" min="-60" max="-120">
      <attribute key="shootEffect" value="suddendeath"/>
    </attack>
  </attacks>
  <defenses armor="10" defense="13"/>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="0"/>
    <immunity paralyze="0"/>
    <immunity outfit="0"/>
    <immunity drunk="0"/>
    <immunity invisible="0"/>
  </immunities>
  <voices interval="5000" chance="0">
    <voice sentence="I will silence you forever!"/>
    <voice sentence="You saw something you shouldn't!"/>
  </voices>
  


<summons maxSummons="0">
    <summon name="Magebomb" interval="50000" chance="0"/>
  </summons>



  <loot>
    <item id="2148" countmax="20" chance1="100000" chancemax="0"/>
    <item id="2465" chance="10000"/>
    <item id="2461" chance="10000"/>
    <item id="2649" chance="10000"/>
    <item id="2671" countmax="2" chance1="20000" chancemax="0"/>
    <item id="3976" countmax="10" chance1="50000" chancemax="0"/>
    <item id="1987" chance="100000">
      <inside>
        <item id="2456" chance="6666"/>
        <item id="2544" countmax="15" chance1="10000" chancemax="0"/>
        <item id="2546" countmax="5" chance1="10000" chancemax="0"/>
        <item id="2147" countmax="2" chance1="3333" chancemax="0"/>
        <item id="2675" countmax="4" chance1="6666" chancemax="0"/>
        <item id="2690" countmax="4" chance1="6666" chancemax="0"/>
        <item id="2050" chance="20000"/>
        <item id="2478" chance="3333"/>
        <item id="2652" chance="2222"/>
        <item id="2201" chance="2500"/>
      </inside>
    </item>
  </loot>
</monster>


Now when you got these monsters, go in to your server dir/data/monster and then create a folder called Customs.

When you got that folder, put Magebomb.xml and Random Noob.xml in there.

Now open monsters.xml in the monster dir and add following:
Code:
        <monster name="Random Noob" file="customs/Random Noob.xml"/>
        <monster name="Magebomb" file="customs/Magebomb.xml"/>

Now you're done! I'm sorry that I don't got any screenshots or movies cause I dont have Xampp installed anymore so I can't start the server :p

P.S
They don't drop any good loot at ALL!!

Have fun and please comment ^^ haha
 
Last edited:
i have a TFS 8.40 but i need a capture the flag in my server white and black teams please can you fix that btw i hope you can fix special efects when ppl enter
 
i have TFS 8.40 can you please fix that and i hope you can fix some speacial efects to it when ppl enter thx and sry for my english

yours blackish
 
Back
Top