What's new

Problem ze stworkiem

Status
Not open for further replies.

fidor11

User
Joined
Dec 29, 2010
Messages
18
Reaction score
0
Witam!

Problem tyczy si? potworka (ots po 8.7 VisumOTS)

Ot?? utworzy?em sobie w?asnego, przyk?adowego potworka:

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Teststworek" nameDescription="a teststworek" race="undead" experience="160" speed="180" manacost="590">
	<health now="270" max="270"/>
	<look type="67" head="0" body="0" legs="0" feet="0" corpse="2952"/>
	<targetchange interval="2000" chance="0"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="1"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="1"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="52" attack="38"/>
	</attacks>
	<defenses armor="30" defense="25"/>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="1"/>
		<immunity poison="1"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="1"/>
		<immunity outfit="0"/>
		<immunity drunk="0"/>
		<immunity invisible="0"/>
	</immunities>
	<loot capacity="500">
		<item id="2395" countmax="1" chance="1500"/>
		<item id="2124" countmax="1" chance="200"/>
		<item id="2148" countmax="15" chance="16000"/>
		<item id="2166" countmax="1" chance="5000"/>
		<item id="2156" countmax="1" chance="100"/>
		<item id="2483" countmax="1" chance="5000"/>
		<item id="1294" countmax="4" chance="13000"/>
		<item id="2509" countmax="1" chance="7000"/>
		<item id="2050" countmax="1" chance="5500"/>
	</loot>
</monster>

Kod to ctrl c / ctrl v Stone Golema ?eby mie? pewno?? ?e czego? nie namieszam (tylko nazwa zmieniona).
Zapisa?em jako stworektestowy.xml w "C:\VisumXTRA\data\monster"

Nast?pnie doda?em go do mapeditora, postawi?em na mapie, ustawi?em czas respownu blebleble...

Niby wszystko ok, ale gdy pr?buje odpali? otsa w konsoli pojawia si? nast?puj?cy b??d:

[Spawn::addMonster] Can not find Teststworek

Czy kto? zechce mi wyja?ni? co zrobi?em nie tak?
 

Sandstormowski

Advanced User
Joined
Jul 22, 2011
Messages
409
Reaction score
29
Age
22
Odp: Problem ze stworkiem

Musisz to doda? do monsters.xml weg?ug schematu.
 

fidor11

User
Joined
Dec 29, 2010
Messages
18
Reaction score
0
Odp: Problem ze stworkiem

Ja nawet nie zauwa?y?em ?e tam co? takiego jest ;)
Dzi?ki serdeczne, ju? dzia?a jak trzeba

Temat do zamkni?cia
 
Status
Not open for further replies.
Top