changing stungun charge speed?

im trying to make a stungun that acts like a machinegun but i cant get the charge time away, i changed clip size and its fully automatic and the refire delay but it all doesnt seem to change the fact that it has to recharge after every shot... help?
 
You'll want to modify the values for the following parameters for your weapon in weapons.xtbl:

<Refire_Delay>:
Does exactly like it says, delays firing a second shot for the time sepecified. Value is in miliseconds.
<Overheat_Info>:
Overheat Info is an optional sub tag with many child properties. You can either tweak the child properties to what you desire, or remove everything between the <Overheat_Info></Overheat_Info> tags to prevent the stun gun from ever overheating.
 
You'll want to modify the values for the following parameters for your weapon in weapons.xtbl:

<Refire_Delay>:
Does exactly like it says, delays firing a second shot for the time sepecified. Value is in miliseconds.
<Overheat_Info>:
Overheat Info is an optional sub tag with many child properties. You can either tweak the child properties to what you desire, or remove everything between the <Overheat_Info></Overheat_Info> tags to prevent the stun gun from ever overheating.


ok i will see if it works thanks to you sir
 
ok, another question that weapons can not delay anything to load?
as the cyber buster
The Cyber Buster (SMG-Cyberspace) makes use of the "infinite magazine capacity" flag in weapons.xtbl. Just add that flag to the <Flags> tag on whatever weapon you want to have infinite magazine size.

Code:
<Flags><Flag>infinite magazine capacity</Flag></Flags>
 
good after studying well the weapon set weapons.xtbl unlimited smg
<Weapon><Name>SMG-Cyberspace</Name><Weapon_Class>smg</Weapon_Class><Trigger_Type>automatic</Trigger_Type><Magazine_Size>40</Magazine_Size><Range_Max>500</Range_Max><Damage_Max><NPC_Damage>300</NPC_Damage><Player_Damage>28</Player_Damage></Damage_Max><_Editor><Category>Entries:weapon_radial:smg</Category></_Editor><Ragdoll_Force_Shoot>400</Ragdoll_Force_Shoot><Animation_Group>Rifle</Animation_Group><AI_Ideal_Range_Max>13</AI_Ideal_Range_Max><Muzzle_Effect>SMG_MuzzleFlash_Upgrade</Muzzle_Effect><Object_Bullet_Hit_Impulse_Magnitude>100</Object_Bullet_Hit_Impulse_Magnitude><Category>WPNCAT_SUB_MACHINE_GUN</Category><PlayerWeaponSpread><SpreadMinMax><SpreadMovementMultipliers><Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch><Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle><Movement_Multiplier_Fine_Aim>0.8</Movement_Multiplier_Fine_Aim></SpreadMovementMultipliers><Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle></SpreadMinMax><SpreadDynamics><Player_To_Spread_Max>500</Player_To_Spread_Max><Player_To_Spread_Min>1000</Player_To_Spread_Min></SpreadDynamics><Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle></PlayerWeaponSpread><NPCWeaponSpread><SpreadMinMax><NPC_Spread_Max>0</NPC_Spread_Max><NPC_Spread_Min>0</NPC_Spread_Min><SpreadMovementMultipliers><Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch><Movement_Multiplier_Walk>1</Movement_Multiplier_Walk><Movement_Multiplier_Run>1</Movement_Multiplier_Run><Movement_Multiplier_Sprint>1</Movement_Multiplier_Sprint><Movement_Multiplier_Vehicle>0.5</Movement_Multiplier_Vehicle></SpreadMovementMultipliers></SpreadMinMax><SpreadDynamics><NPC_To_Spread_Max>4</NPC_To_Spread_Max><NPC_To_Spread_Min>800</NPC_To_Spread_Min></SpreadDynamics></NPCWeaponSpread><Flags><Flag>dual wieldable</Flag><Flag>unlockable</Flag><Flag>allow offhand grenade</Flag><Flag>do not hide when sprinting</Flag><Flag>infinite magazine capacity</Flag></Flags><Ammo>Bullet SMG</Ammo><Inv_Slot>smg</Inv_Slot><Ammo_per_Shot>1</Ammo_per_Shot><Audio><Weapon_Model>SMG_CYBERSPACE</Weapon_Model><Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound><Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End><looping>True</looping><Sound_Radius>50</Sound_Radius><Soundbank_Name>Wep_SMG_Cyberspace</Soundbank_Name><alt_looping>False</alt_looping></Audio><Constant_Effects><Constant_Effect><Effect>vfx_screen_rcgun</Effect><Weapon_Prop_Point>vfx5</Weapon_Prop_Point><Condition>weapon raised</Condition></Constant_Effect><Constant_Effect><Effect>vfx_screen_rcgun</Effect><Weapon_Prop_Point>vfx4</Weapon_Prop_Point><Condition>weapon raised</Condition></Constant_Effect></Constant_Effects><Alt_Trigger_Type>single</Alt_Trigger_Type><Strafe_Angles>Pistol</Strafe_Angles><Melee_Attack_Info>pistol</Melee_Attack_Info><AI_Ideal_Range_Min>8</AI_Ideal_Range_Min><Camera_Info><Primary_Fire_Camera_Shake>weapon_fire_ar</Primary_Fire_Camera_Shake><Primary_Fire_Camera_Shake_Intensity>0.2</Primary_Fire_Camera_Shake_Intensity><Primary_Fine_Aim_Camera_Shake>weapon_fire_ar</Primary_Fine_Aim_Camera_Shake><Primary_Fire_Fine_Aim_Camera_Shake_Intensity>0.2</Primary_Fire_Fine_Aim_Camera_Shake_Intensity><Player_Hit_Camera_Shake>bullet_hit</Player_Hit_Camera_Shake><Player_Hit_Camera_Shake_Intensity>0.5</Player_Hit_Camera_Shake_Intensity><Primary_Recoil_Multiplier>0.0</Primary_Recoil_Multiplier></Camera_Info><Effect_Situations></Effect_Situations><Ammo_Regeneration>0.0</Ammo_Regeneration><Tracer_Info><Tracer>SMG_UpgradedTracer</Tracer><Tracer_NPC>SMG_UpgradedTracer</Tracer_NPC><Alt_Tracer>Default</Alt_Tracer><Alt_Tracer_NPC>NPC</Alt_Tracer_NPC><Tracer_Frequency>2</Tracer_Frequency></Tracer_Info><NPC_Desired_Burst_Size>10</NPC_Desired_Burst_Size><NPC_Aim_Drift>SMG-Cyber</NPC_Aim_Drift><Riot_Shield_Damage_Multiplier>1.0</Riot_Shield_Damage_Multiplier><Diversion_Kill_Multiplier>1.0</Diversion_Kill_Multiplier><Overheat_Info><Percent_Increase_Per_Shot>0.00</Percent_Increase_Per_Shot><Percent_Decrease_Per_Second>0.4</Percent_Decrease_Per_Second><Percent_Decrease_Per_Reload>0</Percent_Decrease_Per_Reload><Percent_Decrease_Per_Second_Overheated>0.3</Percent_Decrease_Per_Second_Overheated><Percent_Decrease_Per_Reload_Overheated>0.05</Percent_Decrease_Per_Reload_Overheated><Overheat_Flags><Flag>applies to primary</Flag></Overheat_Flags></Overheat_Info><Blood_Decal_Scale>1.0</Blood_Decal_Scale><Override_Bullet_Impact_Effect>Bullethit_Electric</Override_Bullet_Impact_Effect></Weapon>
 
Back
Top