Template:Weapon Properties Writable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Add info about crouch for anim2)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border:0px solid red;margin-bottom:3px;padding-left:20px;">
<includeonly><div style="border:0px solid red;margin-bottom:3px;padding-left:20px;">
* "weapon_range" - ''float''
* "weapon_range" - ''float''
* "target_range" - ''float'' - '''Max targeting range'''
* "target_range" - ''float'' - '''Max targeting range'''
Line 5: Line 5:
* "damage" - ''int'' - '''Note: Changing the standard M4 stat will change how much damage vehicle guns (e.g: Rustler) do.'''
* "damage" - ''int'' - '''Note: Changing the standard M4 stat will change how much damage vehicle guns (e.g: Rustler) do.'''
* "maximum_clip_ammo" - ''int''
* "maximum_clip_ammo" - ''int''
* "move_speed" - ''float'' - How fast player can move with weapon
* "move_speed" - ''float'' - '''How fast player can move with weapon'''
* "flags" - ''int'' - '''(specify a flag to toggle it on/off) See [[Weapon Flags]]'''
* "flags" - ''int'' - '''(specify a flag to toggle it on/off) See [[Weapon Flags]]'''
<div style="border:0px solid red;margin-bottom:3px;padding-left:20px;">
<div style="border:0px solid red;margin-bottom:3px;padding-left:20px;">
Line 33: Line 33:
* "anim_loop_bullet_fire" - ''float'' - '''Time in aimed firing animation when weapon should be fired (Must be between Start and End)'''
* "anim_loop_bullet_fire" - ''float'' - '''Time in aimed firing animation when weapon should be fired (Must be between Start and End)'''
* "anim2_loop_start" - ''float'' - '''Start of non-aimed firing animation2 loop'''
* "anim2_loop_start" - ''float'' - '''Start of non-aimed firing animation2 loop'''
* "anim2_loop_stop" - ''float'' - '''End of non-aimed firing animation2 loop'''
* "anim2_loop_stop" - ''float'' - '''End of non-aimed firing animation2 loop (Reduce to increase crouch firing rate)'''
* "anim2_loop_bullet_fire" - ''float'' - '''Time in non-aimed firing animation2 when weapon should be fired (Must be between Start and End)'''
* "anim2_loop_bullet_fire" - ''float'' - '''Time in non-aimed firing animation2 when weapon should be fired (Must be between Start and End)'''
* "anim_breakout_time" - ''float'' - '''Time after which player can break out of attack and run off'''
* "anim_breakout_time" - ''float'' - '''Time after which player can break out of attack and run off'''
</div>
</div></includeonly>

Latest revision as of 08:15, 24 December 2023