[Tutorial] How add New Weapons

Status
Not open for further replies.
RPG Files


On Item DB

<Weapon itemID="100999" category="20" upgrade="1" FNAME="SUP_RPG7" Weight="7000">
<Model file="Data/ObjectsDepot/Weapons/SUP_RPG7.sco" AnimPrefix="SUP_RPG7" muzzlerOffset.x="0" muzzlerOffset.y="0" muzzlerOffset.z="0" />
<MuzzleModel file="muzzle_rpg" />
<HudIcon file="$Data/Weapons/HudIcons/SUP_RPG7.dds" />
<Store name="RPG-7" icon="$Data/Weapons/StoreIcons/SUP_RPG7.dds" desc="RPG-7 Mete Explosao na bunda do Thales" LevelRequired="39" />
<PrimaryFire bullet="rocket" damage="200" immediate="false" mass="0.15" decay="500" speed="40" area="6" delay="0" timeout="30" numShells="2" clipSize="1" reloadTime="4" activeReloadTick="2.43" rateOfFire="30" spread="2" recoil="10" numgrenades="0" grenadename="asr_grenade" firemode="100" ScopeType="default" ScopeZoom="30" />
<Animation type="rpg" />
<Sound shoot="Sounds/NewWeapons/SUP/SUP_Generic_Shot" reload="Sounds/Weapons/New Reloads/SUP_Generic_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="400163" d2="0" d3="0" d4="400162" d5="0" d6="0" d7="0" d8="0" />
</Weapon>

<Attachment itemID="400162" category="19" type="4" SpecID="4999" Weight="1000">
<Model file="Data/ObjectsDepot/Weapons/Rocket_RPG7.sco" MuzzleParticle="" FireSound="" ScopeAnim="" />
<Store name="RPG Teste" icon="$Data/Weapons/StoreIcons/SUP_RPG7_Rocket.dds" desc="Rocket of RPG" LevelRequired="35" />
<Upgrade damage="0" range="0" firerate="0" recoil="0" spread="20" clipsize="1" ScopeMag="0" ScopeType="" />
</Attachment>
<Attachment itemID="400163" category="19" type="1" SpecID="0" Weight="0">
<Model file="Data/ObjectsDepot/Weapons/ATTM_Optic_Iron_RPG7.sco" MuzzleParticle="" FireSound="" ScopeAnim="" />
<Store name="RPG7 IS" icon="$Data/Weapons/StoreIcons/ATTM_Optic_Iron_RPG7.dds" desc="RPG7 IS" LevelRequired="0" />
<Upgrade damage="0" range="0" firerate="0" recoil="0" spread="0" clipsize="0" ScopeMag="10" ScopeType="default" />
</Attachment>


AmmoDB.xml

<Ammo name="rocket">
<ParticleTracer file="WeaponFX_MissileTrail_01"/>
<Model file="Data/ObjectsDepot/Weapons/Rocket_RPG7.sco"/>
<Decal source="grenade"/>
<Bullet class="obj_Bullet"/>
</Ammo>


AnimationList.csv

SUP_RPG7,Idle_SUP_RPG,UI_Idle_Sup_RPG,Stand_Aim_SUP_RPG,Walk_Blend_SUP_RPG,Walk_Aim_SUP_RPG,Crouch_Blend_SUP_RPG,Crouch_Aim_SUP_RPG,Run_Blend_SUP_RPG,Sprint_Blend_SUP_RPG,Reload_Walk_SUP_RPG_01,Reload_Idle_SUP_RPG_01,Reload_Crouch_SUP_RPG_01,Stand_Shooting_SUP_RPG,none,none
 
Last edited:
RPG Files


On Item DB






AmmoDB.xml




AnimationList.csv

when a click in play game appears:

rRrRHLP - [Tutorial] How add New Weapons - RaGEZONE Forums


any idea?
 
What the heck? I do the RPG now and it works fine. There has to be some fix for the Famas IS since you guys got the RPG IS working fine. Did you forget a file? I seriously have gone through every DB and the ids are all correct for the IS. I am not sure what else could cause it to be invisible.

Ironsight from FAMAS in 1st person already fixed?

Nope can confirm it is still broken. The RPG works great, but Famas IS still broken. Re downloaded and started from scratch and still invisible. He has said for the past week it should be fixed soon, but nothing comes from that.
 
What the heck? I do the RPG now and it works fine. There has to be some fix for the Famas IS since you guys got the RPG IS working fine. Did you forget a file? I seriously have gone through every DB and the ids are all correct for the IS. I am not sure what else could cause it to be invisible.
Make sure you configurated All itens like Tutorial

On Famas Conf. inside ItenDB need be like that:

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>

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>

All Famas Files used on tutorial :


What the heck? I do the RPG now and it works fine. There has to be some fix for the Famas IS since you guys got the RPG IS working fine. Did you forget a file? I seriously have gone through every DB and the ids are all correct for the IS. I am not sure what else could cause it to be invisible.



Nope can confirm it is still broken. The RPG works great, but Famas IS still broken. Re downloaded and started from scratch and still invisible. He has said for the past week it should be fixed soon, but nothing comes from that.
Mateuus this computer and no single team doing this and messing with our server so it is hard to get I fix my server and still get help here....

IF dont work and you make all steps on this tutorial, when Mateuus get back they PC they gonna post all Files of FAMAS ( the same my ) here....
 
Last edited:
Make sure you configurated All itens like Tutorial

On Famas Conf. inside ItenDB need be like that:

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>

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>

All Famas Files used on tutorial :

where i put this files?
 
Status
Not open for further replies.
Back