Here is a tutoral I made
[code]; GI
[E1]
UIName=Name:E1
Name=GI
Image=GI
Category=Soldier
Primary=myweapon change to my weapon
Secondary=Para
Occupier=yes ; I can Occupy UC buildings
Prerequisite=GAPILE
CrushSound=InfantrySquish
Strength=125
Pip=white
Armor=none
TechLevel=1
Sight=5
Speed=4
Owner=British,French,Germans,Americans,Alliance
Cost=200
Soylent=150
Points=10
IsSelectableCombatant=yes
VoiceSelect=GISelect
VoiceMove=GIMove
VoiceAttack=GIAttackCommand
VoiceFeedback=GIFear
VoiceSpecialAttack=GIMove
DieSound=GIDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
ImmuneToPsionics=no
Bombable=yes
Deployer=yes
DeployFire=yes
; DeployTime=.022 ; PCG; Unused for now. Was maybe going to make its way in if we did
; a more explicit state machine for deploying b/c of autodeploy.
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FAST ER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=1
Crushable=yes
DeploySound=GIDeploy
UndeploySound=GIUndeploy
ElitePrimary=myweapon change
EliteSecondary=ParaE
IFVMode=2
once found Search for M60 Find the old gi's weapon
Which looks like this
[M60]
Damage=15
ROF=16
Range=4
Projectile=InvisibleLow
Speed=100
Warhead=SA
Report=GIAttack
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
copy the code
make the new code look like this
[myweapon]
Damage=20
ROF=17
Range=5
Projectile=InvisibleLow
Speed=100
Warhead=mywh
Report=GIAttack
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
find the SA war head
which looks like this
; general multiple small arms fire
[SA]
;CellSpread=.3
;PercentAtMax=.5
Verses=100%,80%,70%,50%,25%,25%,75%,50%,25%,100%,1 00%
InfDeath=1
AnimList=PIFFPIFF,PIFFPIFF
;Bright=yes
Bullets=yes
ProneDamage=70%
copy the code
make it look like this
; general multiple small arms fire
[mywh]
;CellSpread=.3
;PercentAtMax=.5
Verses=100%,80%,70%,50%,25%,30%,75%,50%,30%,100%,1 00%
InfDeath=1
AnimList=PIFFPIFF,PIFFPIFF
;Bright=yes
Bullets=yes
ProneDamage=70%
This is the elite weapon
[myweapone]
Damage=30
ROF=17
Range=5
Projectile=InvisibleLow
Speed=100
Warhead=mywh
Report=GIAttack
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
Enjoy a power full gi