hey guys, i added medkits models, into item folder, added motion to weapon.xml, added those into zitem , but when i go ingame and drop the meds, and try to go thru them i cant, they dont give my hp or ap
Printable View
hey guys, i added medkits models, into item folder, added motion to weapon.xml, added those into zitem , but when i go ingame and drop the meds, and try to go thru them i cant, they dont give my hp or ap
Don't spam?
@vraj123: You need to add them to the worlditem.xml as well.
An example :
The above is the part where you add the world item's stats and type.Code:<WORLDITEM id="02" name="hp02">
<TYPE>hp</TYPE>
<TIME>5000</TIME>
<AMOUNT>25</AMOUNT>
<MODELNAME>red</MODELNAME>
</WORLDITEM>
This is where you need to add the model. It's similar to weapon.xml.Code:<AddWorldItemElu name ="candy">
<AddBaseModel name ="candy" filename="model/weapon/item/medickit_candy.elu"/>
</AddWorldItemElu>
Just look how other items are added and add it the same way.
After you're done doing the worlditem part, replace the xml in the Server directory and system.mrs. Compile the system.mrs and restart MatchServer.
OMG BRO YOUR MY HERO :love:
IT WORKED :P
Add me on msn so if i need help with anything else in future i can ask from you ;)
my msn is: dj_vraj@hotmail.com