[Release]LuckyBag

Joined
Jan 5, 2007
Messages
652
Reaction score
7
Location
Megaton
shadow-xx - [Release]LuckyBag - RaGEZONE Forums


add to model.mrs > weapon > item (copy and past the elu and the texture there)
Code:
[ATTACH]36346._xfImport[/ATTACH]

Add to zitem.xml
Code:
<!-- luckybag -->
 <ITEM id="400000011" name="STR:ZITEM_NAME_400000011" mesh_name="luckybag" totalpoint="0" type="custom"
  res_sex="a" res_level="5" slot="custom" weapon="food" weight="4" bt_price="2000" delay="1000"
  damage="0" ctrl_ability="0" magazine="4" maxbullet="4" reloadtime="10" slug_output="false"
  gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF"
  image_id="3" bullet_image_id="0" magazine_image_id="0" snd_fire="we_grenade_fire"
  desc="STR:ZITEM_DESC_400000011" />

Add to strings.xml
Code:
<STR id="ZITEM_NAME_400000011">LuckyBag</STR>
<STR id="ZITEM_DESC_400000011">Heals hp and ap by 15</STR>

Add to worlditem.xml
Code:
<!-- luckybag -->
   <AddWorldItemElu name ="luckybag">
    <AddBaseModel name ="luckybag" filename="model/weapon/item/luckybag.elu"/>
   </AddWorldItemElu>

add this one to worlditem.xml 2
Code:
<WORLDITEM id="123" name="luckybag">
   <TYPE>hpap</TYPE>
   <AMOUNT>15</AMOUNT>
   <MODELNAME>luckybag</MODELNAME>
  </WORLDITEM>

Add to weapon.xml (sry forgot to post this one)
Code:
<AddWeaponElu name="luckybag" weapon_motion_type = "8" weapon_type = "12" >
		<AddBaseModel name="luckybag" filename="model/weapon/item/luckybag.elu" />
	</AddWeaponElu>

Add to shop.xml
Code:
<!-- luckybag -->
<SELL itemid="400000011" />
 

Attachments

Last edited:
Uhh anyone help me?

I got my rocket on my second item and the lucky bag on the first item part, and when i switch over to the luckybag it just shows my rocket launcher when i press Fire it launches a rocket with the noise of a grenade when you throw it,
I imported the settings correctly, i put them both into worlditem.xml in the matchserver and the system.mrs.

Please someone help.
 
Yes,
Will i need to add anything to weapon.xml i think that may fix it..
Only what do i add?

e.g:

Code:
	<AddWeaponElu name="candy" weapon_motion_type = "8" weapon_type = "12" >
		<AddBaseModel name="candy" filename="model/weapon/item/medickit_candy.elu" />
	</AddWeaponElu>
 
old? atleast... on teambsod o.O

I had it working exactly a year ago. Back when mrs edits was popular.

Btw LuckyBag is supposed to be an item that switches stats weekly I beleive. Like one week(Or when used. Either one MAIET is working on) it supposed to be 10hp healing then another 15 then another ammo, but these are psevers like that would happen.
 
Back