Medkits

Results 1 to 4 of 4
  1. #1
    Member vraj123 is offline
    MemberRank
    Jan 2010 Join Date
    87Posts

    Medkits

    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


  2. #2
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Medkits

    Quote Originally Posted by killerzx View Post
    lol vraj
    Don't spam?

    @vraj123: You need to add them to the worlditem.xml as well.
    An example :

    Code:
    		<WORLDITEM id="02" name="hp02">
    			<TYPE>hp</TYPE>
    			<TIME>5000</TIME>
    			<AMOUNT>25</AMOUNT>
    			<MODELNAME>red</MODELNAME>
    		</WORLDITEM>
    The above is the part where you add the world item's stats and type.

    Code:
    			<AddWorldItemElu name ="candy">
    				<AddBaseModel name ="candy" filename="model/weapon/item/medickit_candy.elu"/>
    			</AddWorldItemElu>
    This is where you need to add the model. It's similar to weapon.xml.
    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.
    Last edited by Phoenix; 25-09-10 at 08:38 PM.

  3. #3
    Member vraj123 is offline
    MemberRank
    Jan 2010 Join Date
    87Posts

    Re: Medkits

    Quote Originally Posted by phoenix_147 View Post
    Don't spam?

    @vraj123: You need to add them to the worlditem.xml as well.
    An example :

    Code:
    		<WORLDITEM id="02" name="hp02">
    			<TYPE>hp</TYPE>
    			<TIME>5000</TIME>
    			<AMOUNT>25</AMOUNT>
    			<MODELNAME>red</MODELNAME>
    		</WORLDITEM>
    The above is the part where you add the world item's stats and type.

    Code:
    			<AddWorldItemElu name ="candy">
    				<AddBaseModel name ="candy" filename="model/weapon/item/medickit_candy.elu"/>
    			</AddWorldItemElu>
    This is where you need to add the model. It's similar to weapon.xml.
    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
    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

  4. #4
    Account Upgraded | Title Enabled! killerzx is offline
    MemberRank
    Dec 2008 Join Date
    638Posts

    Re: Medkits

    Quote Originally Posted by vraj123 View Post
    OMG BRO YOUR MY HERO
    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
    yay you fixed it :)..
    national gunz ftw!



Advertisement