Jump to content
The legendary Mav

Modding help (hellping me and other beginners)

Recommended Posts

Posted (edited)

This place is where I´m going to ask all my quetions it should be helpful for beginners as soon as it has discussions inside it.

Edited by The legendary Mav

Share this post


Link to post
Share on other sites

so there is my first question how do you add a new gun the tutorial of mikhail ragulin was helpful, but I had  to reinstall the game because it would ctd i don´t know why was there something I missed here are all the things I put inside:

 

<Weapon name="weapon.psipistol" bulletType="ammo.MAG.MAGclip" emptySound="Empty Click 1">
        <props range="15" hands="1" recoil="60" weight="5" isHeavy="0" clipSize="5" reloadAPCost="50" reloadSound="Weapon Pistol Reload" reactionModifier="0" />
        <SingleShot sound="Weapon Pistol Single" delay="0.6" suppressionValue="100" suppressionRadius="5">
            <Set1 ap="40" accuracy="30" />
            <Set2 ap="60" accuracy="70" />
        </SingleShot>
        <GUIImage name="gui/weapons/pistol" />
        <GroundImage name="grounditemimages/ballistic_pistol.png"/>
        <Ammos>
            <Ammo name="ammo.psienergizer" type="kinetic" damage="500" mitigation="0">
                <Projectile spectre="projectiles/bullet/bullet" speed="1500" showAfterDistance="60.0"/>
                <Impact spectre="particles/bulletplume/bulletplume"/>
            </Ammo>
        </Ammos>
    </Weapon>

 

/Row>
   <Row ss:AutoFitHeight="0">
    <Cell ss:StyleID="s65"><Data ss:Type="String">weapon.PsiPistol</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">weapons/MAGs/PsiPistol</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">weapons/MAGs/PsiPistol</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">MAGs</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Boolean">0</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">25</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">16</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">20</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">0.9</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">6</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">3</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">2</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">ammo.psienergizer</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell ss:StyleID="s66"><Data ss:Type="Number">15</Data></Cell>
    <Cell ss:Index="16"><Data ss:Type="String">Ballistics</Data></Cell>
   </Row>

 

 <Ammo name="ammo.psiernergizer">
        <stockTextureName>weapons/MAGs/psipistol_ammo</stockTextureName>
        <dragTextureName>weapons/MAGs/psipistol_ammo</dragTextureName>
        <slotsizex>1</slotsizex>
        <slotsizey>1</slotsizey>
        <weight>1</weight>
    </Ammo>

 

 </Row>
   <Row ss:AutoFitHeight="0">
    <Cell ss:StyleID="s71"><Data ss:Type="String">weapon.MAGpsipistol</Data></Cell>
    <Cell><Data ss:Type="Number">20000</Data></Cell>
    <Cell ss:Index="4"><Data ss:Type="String">Normal</Data></Cell>
    <Cell><Data ss:Type="String">weapons/airplane/rocket</Data></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">Item.Dispose.Destroyed</Data></Cell>
    <Cell><Data ss:Type="Number">1</Data></Cell>
   </Row>

<Row ss:AutoFitHeight="0">
    <Cell ss:StyleID="s71"><Data ss:Type="String">ammo.MAG.psienergizer</Data></Cell>
    <Cell><Data ss:Type="Number">0</Data></Cell>
    <Cell ss:Index="4" ss:StyleID="s72"><Data ss:Type="String">UnlimitedOnResearch</Data></Cell>
    <Cell><Data ss:Type="String">weapons/airplane/rocket</Data></Cell>
    <Cell ss:StyleID="s65"><Data ss:Type="String">Item.Dispose.Destroyed</Data></Cell>
    <Cell><Data ss:Type="Number">1</Data></Cell>
   </Row>

 

 <Row ss:AutoFitHeight="0" ss:Height="270">
    <Cell><Data ss:Type="String">weapon.psipistol.desc</Data></Cell>
    <Cell ss:StyleID="s68"><Data ss:Type="String">&lt;font face=&quot;fonts/arial.mvec&quot;\&gt;&lt;b&gt;MAG Pistol:&lt;/b&gt;&#10;&#10;Pistols are single-handed weapons with the same damage output and fire costs as rifles, but with shorter range and no burst fire. They are primarily useful as a sidearm for units equipped with precision rifles or heavy weapons, or when a unit has only one hand free (e.g. if they are carrying a combat shield in the other hand).&#10;&#10;Their 1.5x reaction fire modifier also makes them useful for scouting - they are more likely to perform reaction fire and less likely to receive it.&#10;&#10;Range:                                                    10&#10;Damage:                                                 105 Kinetic&#10;Suppression:                                           32 Suppression&#10;Mitigation:                                                0&#10;Ammo Capacity:                                     15 shots&#10;Reaction Modifier:                                   1.5x&#10;Reload Cost:                                           15 TU&#10;&#10;Fire Modes:&#10;- 28%% TU                                                 45 Acc x 1 shot&#10;- 40%% TU                                                 80 Acc x 1 shot</Data></Cell>
   </Row>

<Row ss:AutoFitHeight="0">
    <Cell><Data ss:Type="String">ManTech.psienergizerclip</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
    <Cell><Data ss:Type="String">psienergizer clip</Data><NamedCell
      ss:Name="_FilterDatabase"/></Cell>
   </Row>

 

that´s it can you please help me

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×