Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release]LuckyBag

Legendary Battlemage
Joined
Jan 5, 2007
Messages
652
Reaction score
7
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

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Oct 14, 2006
Messages
46
Reaction score
0
for zitem and worlditem do we need to add them to both of them (the one in matchserver system shop and strings)
 
Legendary Battlemage
Joined
Jan 5, 2007
Messages
652
Reaction score
7
for zitem and worlditem do we need to add them to both of them (the one in matchserver system shop and strings)

zitem.mrs in server and client
worlditem dont know i only did the client

@centrix
Old to u new to me :)
 
Banned
Banned
Joined
Apr 20, 2006
Messages
54
Reaction score
1
Hmm,
I don't see the item, i see a differant Weapon instead of the LuckyBag.
 
Newbie Spellweaver
Joined
Oct 14, 2006
Messages
46
Reaction score
0
everytime I edit anything in my zitem I always get invalid zitem -.-"
 
Newbie Spellweaver
Joined
Jan 15, 2007
Messages
77
Reaction score
0
and this bag, unlike the other, actually gives ya something lol
 
Legendary Battlemage
Joined
Jan 5, 2007
Messages
652
Reaction score
7
just edit one of the 2 zitems and copy the edited one to the other
 
Banned
Banned
Joined
Apr 20, 2006
Messages
54
Reaction score
1
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.
 
Legendary Battlemage
Joined
Jan 5, 2007
Messages
652
Reaction score
7
u put the elu and the texture in the map model(.mrs) > weapon > item ??
 
Banned
Banned
Joined
Apr 20, 2006
Messages
54
Reaction score
1
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>
 
Newbie Spellweaver
Joined
Dec 26, 2006
Messages
14
Reaction score
0
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.
 
Junior Spellweaver
Joined
Dec 26, 2006
Messages
195
Reaction score
0
must be a traditional korean delicacy o_O
 
Back
Top