Well i tried making my hp med a landmine by adding damage but it doesnt do sht.
instead of puttin hpap or hp or ap, what do you put? damage?look at worlditem.xml n use ur brain
Well, if no one hit you, what would happen?
i changed the ap and hp and damage to -15 and when i walk on it doesnt do any damage and it doesnt dissapear.
<WORLDITEM id="100" name="medikit">
<TYPE>hp</TYPE>
<AMOUNT>[COLOR="Red"]10[/COLOR]</AMOUNT>
<MODELNAME>medikit</MODELNAME>
</WORLDITEM>
<WORLDITEM id="100" name="medikit"> [COLOR="Red"]<= Look at zitem.xml[/COLOR]
<TYPE>hp</TYPE> [COLOR="Red"]<= Change to hp; ap; hpap; bullet[/COLOR]
<AMOUNT>[COLOR="Red"]-10[/COLOR]</AMOUNT>
<MODELNAME>medikit</MODELNAME> [COLOR="Red"]<= Mesh name[/COLOR]
</WORLDITEM>
i changed the ap and hp and damage to -15 and when i walk on it doesnt do any damage and it doesnt dissapear.
<AddWorldItemElu name="[b]medikit[/b]">
<AddBaseModel name="[b]medikit[/b]" filename="model/weapon/item/[B]eluname.elu[/B]"/>
so for
<TYPE>hp</TYPE> <= Change to hp; ap; hpap; bullet
should look like this?
<TYPE>hp; ap; hpap; bullet</TYPE>
if not post it here.
<WORLDITEM id="100" name="name-in-zitem.xml">
<TYPE>hpap</TYPE>
<AMOUNT>-60</AMOUNT>
<MODELNAME>the-mesh-name</MODELNAME>
</WORLDITEM>