Gentlemen of the Row

I restored my weapons.xtbl it went away. No I didn't test it yet, sorry about that though.
 
Sorry for posting double, I found out why my game froze at 40%.
The option spas12 in the weapons.xtbl file was not corrctly posted, it should be like this:
Code:
<Weapon>
        <Name>spas12</Name>
        <Weapon_Class>shotgun</Weapon_Class>
        <Trigger_Type>single</Trigger_Type>
        <Magazine_Size>7</Magazine_Size>
        <Range_Max>60</Range_Max>
        <Sound_Radius>50</Sound_Radius>
        <Damage_Max>
            <NPC_Damage>280</NPC_Damage>
            <Player_Damage>55</Player_Damage>
            </Damage_Max>
        <Damage_Min>
            <NPC_Damage>220</NPC_Damage>
            <Player_Damage>30</Player_Damage>
            </Damage_Min>
        <Fire_Cone_Angle>6.0</Fire_Cone_Angle>
        <Shots_Per_Round>4</Shots_Per_Round>
        <_Editor>
            <Category>Entries:Ranged</Category>
            </_Editor>
        <Ragdoll_Force_Shoot>450</Ragdoll_Force_Shoot>
        <MeleeAttacks>
            <StandingSecondary>sg_stand_ns</StandingSecondary>
            <MovingSecondary>sg_move_ns</MovingSecondary>
            <ProneAttackSecondary>sg_prone_kick</ProneAttackSecondary>
            <Melee_Range>1.4</Melee_Range>
            <StandingSynced>sg_stand</StandingSynced>
            <MovingSynced>sg_move</MovingSynced>
            </MeleeAttacks>
        <Animation_Group>Spas12</Animation_Group>
        <AI_Range_Max>7</AI_Range_Max>
        <Brass>Shotgun</Brass>
        <Muzzle_Effect>muzz_lg</Muzzle_Effect>
        <Category>WPNCAT_SHOTGUN</Category>
        <PlayerWeaponSpread>
            <SpreadMinMax>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Walk>1.3</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Run>1.5</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>2.0</Movement_Multiplier_Vehicle>
                    <Movement_Multiplier_Fine_Aim>0.5</Movement_Multiplier_Fine_Aim>
                    </SpreadMovementMultipliers>
                <Player_Spread_Max>0.0</Player_Spread_Max>
                <Player_Spread_Min>0.0</Player_Spread_Min>
                <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
                </SpreadMinMax>
            <SpreadDynamics>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1.2</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.75</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.75</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>0.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>0.75</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                <Player_To_Spread_Max>2</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>2</NPC_Spread_Max>
                <NPC_Spread_Min>1</NPC_Spread_Min>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>1.10</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>1.25</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>1.25</Movement_Multiplier_Vehicle>
                    </SpreadMovementMultipliers>
                <SpreadTargetMovementMultipliers>
                    <Target_Movement_Multiplier_Walk>1.15</Target_Movement_Multiplier_Walk>
                    <Target_Movement_Multiplier_Run>1.4</Target_Movement_Multiplier_Run>
                    <Target_Movement_Multiplier_Sprint>1.8</Target_Movement_Multiplier_Sprint>
                    <Target_Movement_Multiplier_Vehicle>1.6</Target_Movement_Multiplier_Vehicle>
                    </SpreadTargetMovementMultipliers>
                </SpreadMinMax>
            <SpreadDynamics>
                <NPC_To_Spread_Max>3</NPC_To_Spread_Max>
                <NPC_To_Spread_Min>750</NPC_To_Spread_Min>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1.2</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.75</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.75</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>0.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>0.75</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                </SpreadDynamics>
            </NPCWeaponSpread>
        <feedback_name_shot_in_vehicle>IV_WF_SG_Pump_Action_Shotgun</feedback_name_shot_in_vehicle>
        <feedback_name_shot_on_foot>OF_WF_SG_Pump_Action_Shotgun</feedback_name_shot_on_foot>
        <feedback_name_melee_soft>OF_WF_BS__Default_Soft</feedback_name_melee_soft>
        <feedback_name_melee_hard>OF_WF_BS__Default_Hard</feedback_name_melee_hard>
        <pickup_info>
            <min_ammo_given>3</min_ammo_given>
            <max_ammo_given>7</max_ammo_given>
            </pickup_info>
        <Time_Management>
            <Refire_Delay>400</Refire_Delay>
            <npc_refire_delay>
                <min>400</min>
                <max>800</max>
                </npc_refire_delay>
            </Time_Management>
        <feedback_name_spinup>Null_Feedback</feedback_name_spinup>
        <Ammo>Bullet Shotgun</Ammo>
        <Inv_Slot>shotgun</Inv_Slot>
        <Ammo_per_Shot>0</Ammo_per_Shot>
        <Audio>
            <Fire_Sound>SHOTGUN_FIRE</Fire_Sound>
            <NPC_Fire_Sound>SHOTGUN_FIRE_NPC</NPC_Fire_Sound>
            <Secondary_Fire_Sound>RFL_MELEE</Secondary_Fire_Sound>
            <Reload_Sound>SHOTGUN_RELOAD</Reload_Sound>
            <No_Ammo_Sound>SHOTGUN_DRY_FIRE</No_Ammo_Sound>
            <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
            <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
            <MeleeSound>
                <ImpactFoleyFlesh>IMP_METAL_HIT_FLESH</ImpactFoleyFlesh>
                </MeleeSound>
            </Audio>
        <Constant_Effects></Constant_Effects>
        <Alt_Trigger_Type>single</Alt_Trigger_Type>
        <Flags>
            </Flags>
        <Fine_Aim_Animation_Group>Spas12</Fine_Aim_Animation_Group>
        <Spinebend_Limits>Rifle</Spinebend_Limits>
        <Strafe_Angles>Rifle</Strafe_Angles>
        <Player_Combat_Ready_MS>3000</Player_Combat_Ready_MS>
        <NPC_Combat_Ready_MS>2000</NPC_Combat_Ready_MS>
        <Tracer_Effect>gun_tracer</Tracer_Effect>
        </Weapon>
In other words, it was missing this "<Weapon>" at the beginning of the Spas12 option.
 
  • Like
Reactions: F13
A freeze at 40% means there was an error in an xtbl, so maybe the sound was left over code from sr1 or an earlier build from sr2. @glenquagmire71 did you test it?
Indeed, been using it for the last week, the sounds are there and work, but yes it was missing the
Code:
<weapon>[/weapon] at the top. IIRC the sounds were based on what I found from the foley.xbtl file
 
Come to think of it I added a silencer to the Mcmanus Sniper. And the Lazarus Gun is nothing now but a stun gun that can revive people and no more sound of thunder while using this gun. Let me know if you want these modified codes to the Mcmanus and the Lazarus Gun.
 
Last edited:
  • Like
Reactions: F13
Come to think of it I added a silencer to the Mcmanus Sniper. And the Lazarus Gun is nothing now but a stun gun that can revive people and no more sound of thunder while using this gun. Let me know if you want these modified codes to the Mcmanus and the Lazarus Gun.
Id Like those mods.
 
These were modified in the weapons.xtbl file. They're yours now have fun ;)
 

Attachments

  • weapons.xtbl
    342.5 KB · Views: 340
  • Like
Reactions: F13
Back
Top