-
[help]Making dual swords
Ok im trieng to make rusty sword duals.I change it in zitem.pack it and put it in match server.Than when i try to weald them nothing apears and when i play with them i dont get any sword all it does is say the name of it.I know you have to do something in weapon.xml or something could someone tell me what?
-
Re: [help]Making dual swords
rename the thing to like katana01x2 or w/e
-
Re: [help]Making dual swords
Quote:
Originally Posted by
deathtilldusk
rename the thing to like katana01x2 or w/e
That does nothing. You have to actually define what it is, not just change the name
To make the dual katanas, go into weapon.xml in model.mrs. Add a new entry with whatever mesh name you want, doesn't have to include x2. Change the model (elu file) to one of the katanas. Then make the weapon type and weapon motion type to those of kodachi (the key is on the top of the XML file). Then in zitem add a new kodachi with the mesh name you made in weapon.xml
-
Re: [help]Making dual swords
I dont really get this could i explain with little more detail please
Code:
To make the dual katanas, go into weapon.xml in model.mrs. Add a new entry with whatever mesh name you want, doesn't have to include x2. Change the model (elu file) to one of the katanas. Then make the weapon type and weapon motion type to those of kodachi (the key is on the top of the XML file). Then in zitem add a new kodachi with the mesh name you made in weapon.xml
-
Re: [help]Making dual swords
I will help you out. OK??
Quote:
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana01.elu" />
</AddWeaponElu>
1> Unpack model.mrs
2> Edit weapon.xml
3> Past in this code
4> Save it and repack model.mrs
5> Open zitem.xml and past in this
Quote:
<ITEM id="997" name="Dual Katana 01" iscashitem="false" mesh_name="katana01x2" totalpoint="0" type="melee"
res_sex="a" res_level="0" slot="melee" weapon="doublekatana" weight="3" bt_price="50"
delay="356" damage="5" range="160" ctrl_ability="0" magazine="0" reloadtime="0" slug_output="false"
gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFF80" desc=".." />
6> You can change the weight, damamge etc, and Item number
7> Save it. And place the zitem.xml into your matchserver and repack your system.mrs
8> Restart the server and start gunz.
9> But the item, and hopla you have double katana.
Did i help you out or not??
I'm helping you because i'm an very good mood today.
And thank me if I help you!
-
Re: [help]Making dual swords
ty a lot it worked but i got question it gave me giant sword duals how u change it to other swords like milatery?
-
Re: [help]Making dual swords
Code:
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/sword/sword01.elu" />
</AddWeaponElu>
Change that.
-
Re: [help]Making dual swords
u think i could use same thing for daggers?
and how do u know which sword or gun is which?
-
Re: [help]Making dual swords
@ RoA changed it. LOL stupid mistake of me
@Arnelis you can use the same thing for dual daggers, but then you need to the weapon.xml string to dagger01x2 and the file name will be then model/weapon/dagger/dagger01.elu
And in the zitem.xml also dagger01x2. But the dagger01x2 can be changed to dualdagger01 or something you want, but make it the same in weapon.xml and zitem.xml
-
Re: [help]Making dual swords
and how do u know which sword or gun is which?
like dagger01 or dagger 02
-
Re: [help]Making dual swords
there are a couple of different elu file named dagger01 dagger02 etc, and also there .tga files with same name
Download Infranvieuw with the plugins for dds files, Then you look with items is it,
Wanna edit them download photoshop with the nvidia plugin for dds files.
And the pictures wont look like the same as in the game there flat.
-
Re: [help]Making dual swords
hm this is stupid ok i go to model and weapons i copy the line u gave me 4 more times.In each one i change sword name [code]model/weapon/sword/sword01.elu[code]to 02,03,04,05.Than i quit and save pack.Than zitem.i paste the line u gave me.I change ids of it ones that r not used.Exit,save,pack.Than when i play all those 5 swords are giant sword duals with same name.
-
Re: [help]Making dual swords
For dual katana change it to katana01, i made an mistake in the post.
katana01x2 is dual katana
sword01x2 is dual giant sword
dagger01x2 is dual dagger
And the name you can change in the zitem at this part
Quote:
name="Dual Katana 01"
i think you will be abble to make now the dual katanas,daggers and swords or not?
-
Re: [help]Making dual swords
-
Re: [help]Making dual swords
hey i went to model changed from
model/weapon/sword/sword01.elu
to
model/weapon/sword/katana01.elu
exited packed and played when i played i saw my character wearing nothing.do i change something in zitem?
-
Re: [help]Making dual swords
...did you even look in model.mrs? That file doesn't exist in the sword folder, it's in the KATANA folder.
-
Re: [help]Making dual swords
-
Re: [help]Making dual swords
Ok i did i renamed it it in weapon.xml and now when i log in all the dual swords are rusty sword duals:(What can i do?
-
Re: [help]Making dual swords
there are i think nine katana models. they should go in order so just use it like going up
like for example change the repetitive
Code:
model/weapon/katana/katana01.elu
to something with one number up like
Code:
model/weapon/katana/katana02.elu or
model/weapon/katana/katana03.elu
so on and so on. but remember it only goes to about nine
-
Re: [help]Making dual swords
9 models of katanas, i have 17 model for the katana
-
Re: [help]Making dual swords
i have that done.And when i log ni all of them are rusty swords.
Code:
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana01.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana02.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana03.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana04.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana05.elu" />
</AddWeaponElu>
Here these are the ones i added in weapon.xml u think i should change
Code:
<AddBaseModel name="katana01x2"
to like katana02x2 for like all of them i dont think so though since its the emotes from that one.
-
Re: [help]Making dual swords
-
Re: [help]Making dual swords
You have them all named the same exact thing -_-
-
Re: [help]Making dual swords
-
Re: [help]Making dual swords
which names should i change?
-
Re: [help]Making dual swords
LOL u add the code that has Add weapon Elu at the begining to Weapon.xml not zitem.
-
Re: [help]Making dual swords
-
Re: [help]Making dual swords
Weapon.xml
Code:
<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana01.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana02x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana02x2" filename="model/weapon/katana/katana02.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana03x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana03x2" filename="model/weapon/katana/katana03.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana04x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana04x2" filename="model/weapon/katana/katana04.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana05x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana05x2" filename="model/weapon/katana/katana05.elu" />
</AddWeaponElu>
When you define a mesh in weapon.xml, you have to give each one a different name. The names don't even have to be "Katana01x2" or anything like that.. they could be "ZOMGCRAZYKATANALOL" if you wanted. It is only important that the mesh names are different.
Now for example, to add Katana02x2 to your zitem.xml, do the following:
Zitem.xml
Code:
<ITEM id="9000001" name="Test Dual Katana" mesh_name="Katana02x2" totalpoint="0" type="melee"
res_sex="a" res_level="0" slot="melee" weapon="doublekatana" weight="18" bt_price="0"
delay="300" damage="25" ctrl_ability="0" magazine="0" reloadtime="0" 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="0" bullet_image_id="0" magazine_image_id="0" desc="This is an example of a Dual Katana." />