Eradicator 1.0 - Hand held laser gun

Reason, are you running any other mods that would modify the weapons.xtbl? (From Idolninja's mods for example...)

If so, you're going to need to combine both versions together with something like winmerge.
 
I'm trying to apply this to my stun gun but my game crashes when it tries to load this is my setup. Any help very appreciated.

Code:
<Weapon>
 
            <Name>stun_gun</Name>
            <Weapon_Class>smg</Weapon_Class>
            <Trigger_Type>automatic</Trigger_Type>
            <Magazine_Size>10000</Magazine_Size>
            <Range_Max>300</Range_Max>
            <Damage_Max>
                <NPC_Damage>3000</NPC_Damage>
                <Player_Damage>3</Player_Damage>
            </Damage_Max>
            <_Editor>
                <Category>Entries:weapon_radial:pistol</Category>
            </_Editor>
            <Ragdoll_Force_Shoot>2950</Ragdoll_Force_Shoot>
            <Animation_Group>Pistol</Animation_Group>
            <AI_Ideal_Range_Max>400</AI_Ideal_Range_Max>
            <Brass>Rifle</Brass>
            <Flags>
                <Flags><Flag>incendiary shots</Flag>
                <Flag>melee can dislodge movers</Flag>
                <Flag>unlimited ammo</Flag>
                <Flag>infinite magazine capacity</Flag>
                <Flag>bullets damage tanks</Flag>
                <Flag>Target reticule</Flag>
                <Flag>explosions damage tanks</Flag>
                <Flag>allow offhand grenade</Flag>
                <Flag>do not hide when sprinting</Flag>
                <Flag>show reserve in hud</Flag>
                <Flag>on trigger</Flag>
                <Flag>bullets can hit multiple humans</Flag>
            </Flags>
            <Category>WPNCAT_RIFLE</Category>
            <Time_Management>
                <Refire_Delay>50</Refire_Delay>
                <npc_refire_delay>
                    <min>9000</min>
                    <max>14000</max>
                    <npc_refire_type>1. Random Range</npc_refire_type>
                </npc_refire_delay>
                <min>0</min>
                <max>0</max>
            </Time_Management>
            <Ammo>XM25 Laser</Ammo>
            <Inv_Slot>melee</Inv_Slot>
            <Ammo_per_Shot>1</Ammo_per_Shot>
            <Audio>
                <Weapon_Model>SP_VTOL01_W</Weapon_Model>
                <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
                <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
                <looping>False</looping>
                <Sound_Radius>10</Sound_Radius>
                <Soundbank_Name>Wep_VTOL_Weapons</Soundbank_Name>
                <alt_looping>False</alt_looping>
                                <Stop_Override_Event>WEAPON_FIRE_OVERRIDE_STOP</Stop_Override_Event>
            </Audio>
            <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>5.0</AI_Ideal_Range_Min>
            <Camera_Info>
                <Primary_Fire_Camera_Shake>charging</Primary_Fire_Camera_Shake>
<Primary_Fine_Aim_Camera_Shake>charging</Primary_Fine_Aim_Camera_Shake>
<Primary_Fire_Camera_Shake_Intensity>1.0</Primary_Fire_Camera_Shake_Intensity>
<Primary_Fire_Fine_Aim_Camera_Shake_Intensity>1.0</Primary_Fire_Fine_Aim_Camera_Shake_Intensity>
            </Camera_Info>
            <Effect_Situations>
                <Effect_Situation>
                    <Situation>laser cutter ribbon</Situation>
                    <Effect>VTOL_ChargingBeam</Effect>
                </Effect_Situation>
                <Effect_Situation>
                    <Situation>laser cutter target near</Situation>
                    <Effect>VTOL_Beam_GroundHit_Small</Effect>
                </Effect_Situation>
                <Effect_Situation>
                    <Situation>laser cutter target far</Situation>
                    <Effect>VTOL_Beam_GroundHit</Effect>
                </Effect_Situation>
            </Effect_Situations>
            <Penetrating_End_Point_Explosion>VTOL_Laser_Exp</Penetrating_End_Point_Explosion>
            <Ammo_Regeneration>0.0</Ammo_Regeneration>
            <Riot_Shield_Damage_Multiplier>1.0</Riot_Shield_Damage_Multiplier>
            <Diversion_Kill_Multiplier>1.0</Diversion_Kill_Multiplier>
            <NPC_Explosion>VTOL_M_Exp-NPC</NPC_Explosion><Blood_Decal_Scale>1.0</Blood_Decal_Scale>
            <NPC_Aim_Drift>FlyerBeam</NPC_Aim_Drift>
            <Override_Bullet_Impact_Effect>VTOL_Beam_GroundHit_Small</Override_Bullet_Impact_Effect>
        </Weapon>
 
You have a double <Flags> tag for "incendiary shots". I guess your game crashes at 40% of the loading.
 
You have a double <Flags> tag for "incendiary shots". I guess your game crashes at 40% of the loading.

That was it! thank you!

here's the final thing. i also fixed it so it would appear in the proper slot and i fixed the audio.
i also made my stun gun dual weildable but there aren't double lasers for some reason
Code:
<Weapon>
 
            <Name>stun_gun</Name>
            <Weapon_Class>pistol</Weapon_Class>
            <Trigger_Type>automatic</Trigger_Type>
            <Magazine_Size>10000</Magazine_Size>
            <Range_Max>300</Range_Max>
            <Damage_Max>
                <NPC_Damage>3000</NPC_Damage>
                <Player_Damage>3</Player_Damage>
            </Damage_Max>
            <_Editor>
                <Category>Entries:weapon_radial:pistol</Category>
            </_Editor>
            <Ragdoll_Force_Shoot>2950</Ragdoll_Force_Shoot>
            <Animation_Group>Pistol</Animation_Group>
            <AI_Ideal_Range_Max>400</AI_Ideal_Range_Max>
            <Brass>Rifle</Brass>
            <Flags>
                <Flag>incendiary shots</Flag>
                <Flag>melee can dislodge movers</Flag>
                <Flag>unlimited ammo</Flag>
                <Flag>infinite magazine capacity</Flag>
                <Flag>bullets damage tanks</Flag>
                <Flag>Target reticule</Flag>
                <Flag>explosions damage tanks</Flag>
                <Flag>allow offhand grenade</Flag>
                <Flag>do not hide when sprinting</Flag>
                <Flag>show reserve in hud</Flag>
                <Flag>on trigger</Flag>
                <Flag>bullets can hit multiple humans</Flag>
                <Flag>dual wieldable</Flag>
            </Flags>
            <Category>WPNCAT_RIFLE</Category>
            <Time_Management>
                <Refire_Delay>50</Refire_Delay>
                <npc_refire_delay>
                    <min>9000</min>
                    <max>14000</max>
                    <npc_refire_type>1. Random Range</npc_refire_type>
                </npc_refire_delay>
                <min>0</min>
                <max>0</max>
            </Time_Management>
            <Ammo>XM25 Laser</Ammo>
            <Inv_Slot>melee</Inv_Slot>
            <Ammo_per_Shot>1</Ammo_per_Shot>
            <Audio>
                <Weapon_Model>SP_VTOL01_W</Weapon_Model>
                <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
                <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
                <Warmup_Delay>1000</Warmup_Delay>
                <looping>True</looping>
                <Cooldown_Delay>0</Cooldown_Delay>
                <Sound_Radius>150</Sound_Radius>
                <Soundbank_Name>Wep_VTOL_Weapons</Soundbank_Name>
                <alt_looping>False</alt_looping>
                                <Stop_Override_Event>WEAPON_FIRE_OVERRIDE_STOP</Stop_Override_Event>
            </Audio>
            <Constant_Effects></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>5.0</AI_Ideal_Range_Min>
            <Camera_Info>
                <Primary_Fire_Camera_Shake>charging</Primary_Fire_Camera_Shake>
<Primary_Fine_Aim_Camera_Shake>charging</Primary_Fine_Aim_Camera_Shake>
<Primary_Fire_Camera_Shake_Intensity>1.0</Primary_Fire_Camera_Shake_Intensity>
<Primary_Fire_Fine_Aim_Camera_Shake_Intensity>1.0</Primary_Fire_Fine_Aim_Camera_Shake_Intensity>
            </Camera_Info>
            <Effect_Situations>
                <Effect_Situation>
                    <Situation>laser cutter ribbon</Situation>
                    <Effect>VTOL_ChargingBeam</Effect>
                </Effect_Situation>
                <Effect_Situation>
                    <Situation>laser cutter target near</Situation>
                    <Effect>VTOL_Beam_GroundHit_Small</Effect>
                </Effect_Situation>
                <Effect_Situation>
                    <Situation>laser cutter target far</Situation>
                    <Effect>VTOL_Beam_GroundHit</Effect>
                </Effect_Situation>
            </Effect_Situations>
            <Penetrating_End_Point_Explosion>VTOL_Laser_Exp</Penetrating_End_Point_Explosion>
            <Ammo_Regeneration>0.0</Ammo_Regeneration>
            <Riot_Shield_Damage_Multiplier>1.0</Riot_Shield_Damage_Multiplier>
            <Diversion_Kill_Multiplier>1.0</Diversion_Kill_Multiplier>
            <NPC_Explosion>VTOL_M_Exp-NPC</NPC_Explosion><Blood_Decal_Scale>1.0</Blood_Decal_Scale>
            <NPC_Aim_Drift>FlyerBeam</NPC_Aim_Drift>
            <Override_Bullet_Impact_Effect>VTOL_Beam_GroundHit_Small</Override_Bullet_Impact_Effect>
        </Weapon>
 
if I were to uninstall this (if I wanted to play co-op or something), what would happen if I took out all the mod files? Gonna download it, time to have fun...
 
Back
Top