- Joined
- Mar 29, 2013
- Messages
- 123
- Reaction score
- 39
Hi, well, now whe gonna show how add news weapons...
To show how add new weapons, whe gonna add FAMAS
Whe update the Famas Files, the original Fama Files dosent work, so whe replace for this, you need unpack "DataRageZone.rar" inside your Data Folder.
First go to folder
Open ItemDB.xml
and create a new code for weapon, some weapons whit close damage and range fire like FAMAS, for this tutorial whe use
Add (" <WeaponsArmory> ")
Add (" <AttachmentArmory> ")
Now whe gonna make the Animation , go on folder
Now you gonna need change the file "AnimationList.csv"
create a line whit this code, just on Line 2, because you need follow all steps...
On EnglisLang inside Folder
and search for:
and add 6 lines DOWN the 400157_name , to create a new ID for FAMAS...
And save!
Now open your SQL Server Management Studio
Go on dbo.Items_Weapons > Add new weapon ( now you need find some Weapon whit same conf. )
Now just test inside game
Have Fun!
Downloads Update 08/05/2013
Credits
CryZ Team
@Mateuus
@Folkz
To show how add new weapons, whe gonna add FAMAS
Whe update the Famas Files, the original Fama Files dosent work, so whe replace for this, you need unpack "DataRageZone.rar" inside your Data Folder.
C:\WarZ\bin\Data
First go to folder
C:\WarZ\bin\Data\Weapons
Open ItemDB.xml
and create a new code for weapon, some weapons whit close damage and range fire like FAMAS, for this tutorial whe use
Add (" <WeaponsArmory> ")
Code:
<Weapon itemID="101001" category="20" upgrade="1" FNAME="ASR_FAMAS" Weight="4000">
<Model file="Data/ObjectsDepot/Weapons/ASR_Famas.sco" AnimPrefix="ASR_FAMAS" muzzlerOffset.x="0" muzzlerOffset.y="0" muzzlerOffset.z="0" />
<MuzzleModel file="muzzle_asr" />
<HudIcon file="$Data/Weapons/HudIcons/ASR_Famas.dds" />
<Store name="Famas" icon="$Data/Weapons/StoreIcons/ASR_Famas.dds" desc="The Famas rifle is a gas operated standard infantry assault rifle, chambered for 5.56x45mm NATO round." LevelRequired="0" />
<PrimaryFire bullet="5.56" damage="33" immediate="false" mass="1" decay="300" speed="500" area="0" delay="0" timeout="0" numShells="0" clipSize="1" reloadTime="2.5" activeReloadTick="0.43" rateOfFire="625" spread="9" recoil="7.0035" numgrenades="0" grenadename="asr_grenade" firemode="101" ScopeType="default" ScopeZoom="0" />
<Animation type="assault" />
<Sound shoot="Sounds/NewWeapons/Assault/HK_G11" reload="Sounds/Weapons/New Reloads/G36-Reload" />
<FPS IsFPS="1" i0="2001" i1="5001" i2="3001" i3="1001" i4="4001" i5="0" i6="0" i7="0" i8="0" d0="0" d1="400158" d2="0" d3="0" d4="400159" d5="0" d6="0" d7="0" d8="0" />
</Weapon>
Add (" <AttachmentArmory> ")
Code:
<Attachment itemID="400158" category="19" type="1" SpecID="0" Weight="0">
<Model file="Data/ObjectsDepot/Weapons/ATTM_Optic_Iron_Famas.sco" MuzzleParticle="" FireSound="" ScopeAnim="" />
<Store name="Famas IS" icon="$Data/Weapons/StoreIcons/ATTM_Optic_Iron_Famas.dds" desc="" LevelRequired="0" />
<Upgrade damage="0" range="0" firerate="0" recoil="0" spread="0" clipsize="0" ScopeMag="10" ScopeType="default" />
</Attachment>
<Attachment itemID="400159" category="19" type="4" SpecID="4001" Weight="450">
<Model file="Data/ObjectsDepot/Weapons/ATTM_Mag_Famas_30rnd_01.sco" MuzzleParticle="" FireSound="" ScopeAnim="" />
<Store name="Famas 30 rounds" icon="$Data/Weapons/StoreIcons/ATTM_Mag_Famas_30rnd_01.dds" desc="This is a 30 round magazine for the Famas that allows the shooter to carry more ammo." LevelRequired="25" />
<Upgrade damage="0" range="0" firerate="0" recoil="0" spread="10" clipsize="30" ScopeMag="0" ScopeType="" />
</Attachment>
Now whe gonna make the Animation , go on folder
C:\WarZ\bin\Data\Animations5
Now you gonna need change the file "AnimationList.csv"
create a line whit this code, just on Line 2, because you need follow all steps...
Code:
ASR_Famas,Idle_ASR_Tar21,UI_Idle_ASR_Tar21,Stand_Aim_ASR_Tar21,Walk_Blend_ASR_Tar21,Walk_Aim_ASR_Tar21,Crouch_Blend_ASR_Tar21,Crouch_Aim_ASR_Tar21,Run_Blend_ASR_Tar21,Sprint_Blend_ASR_Tar21,Reload_Walk_ASR_Famas,Reload_Idle_ASR_Famas,Reload_Crouch_ASR_Famas,Stand_Shooting_ASR_Tar_Single_01,Zoom_ASR_Tar21_Fire,Stand_Shooting_ASR_Tar_Single_01
On EnglisLang inside Folder
Open the File english.lang ( our the files you use like language Ex: Russia.lang )C:\WarZ\bin\Data\LangPack
and search for:
Code:
400157
and add 6 lines DOWN the 400157_name , to create a new ID for FAMAS...
Code:
400158_name=Famas IS
400158_desc=
400159_name=Famas 30 rounds
400159_desc=This is a 30 round magazine for the Famas that allows the shooter to carry more ammo.
101001_name=Famas
101001_desc=The Famas rifle is a gas operated standard infantry assault rifle, chambered for 5.56x45mm NATO round.
And save!
Now open your SQL Server Management Studio
Go on dbo.Items_Weapons > Add new weapon ( now you need find some Weapon whit same conf. )
Code:
[URL="http://forum.ragezone.com/attachment.php?attachmentid=129598&d=1368033949"]FamasSQLUpdate.zip[/URL] download
Now just test inside game
Have Fun!
Downloads Update 08/05/2013
To view the content, you need to sign in or registerTo view the content, you need to sign in or register
Credits
CryZ Team
@Mateuus
@Folkz
Attachments
Last edited:

