Joined: Jun 8 2010

I have been modding and somehow i made it so that i cant throw remote charges while jumping can someone please tell me whats wrong (projectile on purpose)

here is my code

    <Weapon>
        <Name>charge_placer</Name>
        <Weapon_Class>thrown_charge</Weapon_Class>
        <Trigger_Type>single</Trigger_Type>
        <Ammo_Type>projectile</Ammo_Type>
        <Magazine_Size>1</Magazine_Size>
        <Max_Rounds>300</Max_Rounds>
        <Range_Max>10</Range_Max>
        <Range_Red>10</Range_Red>
        <Default_Refire_Delay>0</Default_Refire_Delay>
        <Damage_Scaling_Max>
            <NPC_Damage>0</NPC_Damage>
            <Player_Damage>0</Player_Damage>
            <Vehicle_Damage>-1</Vehicle_Damage>
            <Player_Vehicle_Damage>-1</Player_Vehicle_Damage>
            </Damage_Scaling_Max>
        <Explosion>remote_charge</Explosion>
        <Damage_Min_Dist>10</Damage_Min_Dist>
        <Spread_Max>0</Spread_Max>
        <Spread_Min>0</Spread_Min>
        <Projectile_Info>
            <Model>remote_charge</Model>
            <Max_Speed>100</Max_Speed>
            <Projectile_Flags>
                <Flag>attach on impact</Flag>
                <Flag>align orient to flightpath</Flag>
                <Flag>tossable</Flag>
                </Projectile_Flags>
            <Mass>5.0</Mass>
            <Angular_Velocity>
                <X>0</X>
                <Y>0</Y>
                <Z>0</Z>
                </Angular_Velocity>
            <Start_Speed>10048</Start_Speed>
            <gravity>0</gravity>
            <Time_Until_Propelled>0.0</Time_Until_Propelled>
            <Attached_Effect2>wep_remote_charge_light_a</Attached_Effect2>
            <Attached_Effect2_Description>effect should start once attached</Attached_Effect2_Description>
            <Attached_Effect3>wep_remote_charge_light_a</Attached_Effect3>
            <Attached_Effect3_Description>MP friendly version</Attached_Effect3_Description>
            <Attached_Effect>wep_rail_driver_trail_a</Attached_Effect>
            <Attached_Effect_Description>charge trail</Attached_Effect_Description>
            </Projectile_Info>
        <_Editor>
            <Category>Entries:Guerilla</Category>
            </_Editor>
        <Animation_Group>remote charge</Animation_Group>
        <Flags>
            <Flag>held in left hand</Flag>
            <Flag>draw projectile in opposite hand</Flag>
            <Flag>mp selectable</Flag>
            <Flag>shatter</Flag>
            <Flag>disable player cover</Flag>
            </Flags>
        <Min_Engagement_Distance>0.0</Min_Engagement_Distance>
        <Max_Engagement_Distance>10</Max_Engagement_Distance>
        <Inventory_Item>charge_placer</Inventory_Item>
        <Item_3d>charge_placer</Item_3d>
        <MeleeAttacks>
            <StandingPrimary>remote_charge_melee</StandingPrimary>
            <StandingSecondary>remote_charge_punch</StandingSecondary>
            <StandingTertiary>remote_charge_melee</StandingTertiary>
            <CrouchingPrimary>remote_charge_melee</CrouchingPrimary>
            <CrouchingSecondary>remote_charge_punch</CrouchingSecondary>
            <CrouchingTertiary>remote_charge_melee</CrouchingTertiary>
            </MeleeAttacks>
        <Sounds>
            <Special_Sound>SYS_WEP_CHARGE_AMMO_PICKUP</Special_Sound>
            <No_Ammo_Sound>WEP_CHARGE_DRYFIRE_PC</No_Ammo_Sound>
            </Sounds>
        <Player_Move_Speed>2.01</Player_Move_Speed>
        <NPC_Firing_Pattern>Other</NPC_Firing_Pattern>
        <Reload_Delay>0</Reload_Delay>
        <Ammo_Box_Restock>300</Ammo_Box_Restock>
        <Num_Magazines>10</Num_Magazines>
        <icon_name>ui_hud_weapon_icon_charges</icon_name>
        <Max_AI_Penetrating_Distance>40.0</Max_AI_Penetrating_Distance>
        <reticule_name>ui_hud_reti_nano2</reticule_name>
        <dummy>False</dummy>
        <Unique_ID>14</Unique_ID>
        <Melee_Group>Small_Ranged_Melee_Set</Melee_Group>
        <Max_Rounds_Upgrade>500</Max_Rounds_Upgrade>
        <Default_team>Guerilla</Default_team>
        <Zoom_Magnification>2.45</Zoom_Magnification>
        <aim_assist>0.5</aim_assist>
        <Alert_Level_Multiplier>-1</Alert_Level_Multiplier>
        </Weapon>

Edit:
After extensive inspection (i was looking for something else and noticed it), i have found that the start speed was screwed up (greater than max speed) so ill let you know if it works.

ReEdit:
Didnt work somebody please help me

I am Good, but Everyone needs help sometimes

Joined: May 4 2010

Restore the original file.

Joined: Jul 10 2010
foamcup wrote:
Restore the original file.

hhmm, thats one way to do it. another way is by comparing it to the original file, then mod the original file according to ur mod one key at a time. then test each key ingame until u find the one thats causing the problem.

Joined: Jul 11 2010

here is your issue
<Ammo_Type>projectile</Ammo_Type>

it should be
<Ammo_Type>thrown</Ammo_Type>

your throwing not shooting lol