• 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!

Skulls on NPC/Monsters

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,088
Solutions
15
Reaction score
382
Location
Sweden
YouTube
Joriku
Hello,
I've seen some OTS In later versions TFS 1.2/1.3 that has skulls on mobs, how would this be done?
 
 
Solved the errors, but this is just the level. Where's the skull part?
 
Last edited:
just add to ur monster.xml file
Lua:
skull="xxxx"
xxxx - red/black/green/yellow

it should look like:
XML:
<monster name="monster name" nameDescription="monster name" race="blood" skull="red" experience="0" speed="180" manacost="0">
    <health now="5000" max="5000"/>
 
just add to ur monster.xml file
Lua:
skull="xxxx"
xxxx - red/black/green/yellow

it should look like:
XML:
<monster name="monster name" nameDescription="monster name" race="blood" skull="red" experience="0" speed="180" manacost="0">
    <health now="5000" max="5000"/>

The skull is in the same monster to indícate his power, for example white normal, red medium black elite. And there get spawned randomly, its possible??
 
just add to ur monster.xml file
Lua:
skull="xxxx"
xxxx - red/black/green/yellow

it should look like:
XML:
<monster name="monster name" nameDescription="monster name" race="blood" skull="red" experience="0" speed="180" manacost="0">
    <health now="5000" max="5000"/>
Does not work
623fbed6e249f895f7234f7881742433.png
 
hm.jpg

hm i give u my event monster code, can u try it?


XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Lurker" nameDescription="lurker" race="blood" skull="red" experience="0" speed="180" manacost="0">
    <health now="5000" max="5000"/>
    <look type="2" head="95" body="94" legs="94" feet="19" corpse="0"/>
    <targetchange interval="2000" chance="0"/>
    <strategy attack="525" defense="0"/>
    <level min="150" max="200" />
    <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="70" />
    <flag runonhealth="0" />
    </flags>
<attacks>
        <attack name="melee" interval="2000" min="-100" max="-400" />
        <attack name="lifedrain" interval="2000" chance="15" range="1" min="-7" max="-13" />
    </attacks>

      <defenses armor="0" defense="0">
      </defenses>
</monster>
 
View attachment 46367

hm i give u my event monster code, can u try it?


XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Lurker" nameDescription="lurker" race="blood" skull="red" experience="0" speed="180" manacost="0">
    <health now="5000" max="5000"/>
    <look type="2" head="95" body="94" legs="94" feet="19" corpse="0"/>
    <targetchange interval="2000" chance="0"/>
    <strategy attack="525" defense="0"/>
    <level min="150" max="200" />
    <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="70" />
    <flag runonhealth="0" />
    </flags>
<attacks>
        <attack name="melee" interval="2000" min="-100" max="-400" />
        <attack name="lifedrain" interval="2000" chance="15" range="1" min="-7" max="-13" />
    </attacks>

      <defenses armor="0" defense="0">
      </defenses>
</monster>
Still nothing
56ae457458e92fc8948af7686fd2dd0e.png
 
Are you editing from a temporary winrar file or something? Why do you have your server files in appdata?
Oh i don't notic that it's in appdata, but
Lua:
skull="xxx"
should work unless the sources have been modified.. ur level system work with skulls without problem
 
Back
Top