upgraded cnc to use the new weaponmodel
This commit is contained in:
@@ -20,13 +20,16 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Traits;
|
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Effects
|
namespace OpenRA.Effects
|
||||||
{
|
{
|
||||||
class LaserZapInfo : IProjectileInfo
|
class LaserZapInfo : IProjectileInfo
|
||||||
{
|
{
|
||||||
|
public readonly int BeamRadius = 1;
|
||||||
|
public readonly bool UsePlayerColor = false;
|
||||||
|
|
||||||
public IEffect Create(ProjectileArgs args) { return null; /* todo: fix me so OBLI works again */ }
|
public IEffect Create(ProjectileArgs args) { return null; /* todo: fix me so OBLI works again */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ namespace OpenRA.GameRules
|
|||||||
public readonly int Burst = 1;
|
public readonly int Burst = 1;
|
||||||
public readonly bool Charges = false;
|
public readonly bool Charges = false;
|
||||||
public readonly bool Underwater = false;
|
public readonly bool Underwater = false;
|
||||||
public readonly string[] ValidTargets = { "Vehicle", "Infantry", "Building", "Defense", "Ship" };
|
public readonly string[] ValidTargets = { "Ground" };
|
||||||
|
|
||||||
public IProjectileInfo Projectile;
|
public IProjectileInfo Projectile;
|
||||||
public List<WarheadInfo> Warheads = new List<WarheadInfo>();
|
public List<WarheadInfo> Warheads = new List<WarheadInfo>();
|
||||||
|
|||||||
@@ -18,8 +18,7 @@ Packages:
|
|||||||
|
|
||||||
LegacyRules:
|
LegacyRules:
|
||||||
mods/cnc/minimal.ini: Minimal rules definitions
|
mods/cnc/minimal.ini: Minimal rules definitions
|
||||||
mods/cnc/weapons.ini: Weapons are still in the old format
|
|
||||||
mods/cnc/voices.ini: Voices are still in the old format
|
|
||||||
Rules:
|
Rules:
|
||||||
mods/cnc/defaults.yaml: Basic stuff
|
mods/cnc/defaults.yaml: Basic stuff
|
||||||
mods/cnc/system.yaml: Player and world actors
|
mods/cnc/system.yaml: Player and world actors
|
||||||
@@ -45,4 +44,10 @@ Assemblies:
|
|||||||
mods/ra/OpenRA.Mods.RA.dll: Red alert mod traits
|
mods/ra/OpenRA.Mods.RA.dll: Red alert mod traits
|
||||||
|
|
||||||
ChromeLayout:
|
ChromeLayout:
|
||||||
mods/cnc/menus.yaml:
|
mods/cnc/menus.yaml:
|
||||||
|
|
||||||
|
Weapons:
|
||||||
|
mods/cnc/weapons.yaml:
|
||||||
|
|
||||||
|
Voices:
|
||||||
|
mods/cnc/voices.yaml:
|
||||||
@@ -123,4 +123,8 @@
|
|||||||
<unit name="ionsfx">
|
<unit name="ionsfx">
|
||||||
<sequence name="idle" start="0" length="15" />
|
<sequence name="idle" start="0" length="15" />
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit name="atomic">
|
||||||
|
<sequence name="up" start="0" length="*" src="atomicup" />
|
||||||
|
<sequence name="down" start="0" length="*" src="atomicdn" />
|
||||||
|
</unit>
|
||||||
</sequences>
|
</sequences>
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
[VoiceTypes]
|
|
||||||
GenericVoice
|
|
||||||
VehicleVoice
|
|
||||||
CivilianMaleVoice
|
|
||||||
CivilianFemaleVoice
|
|
||||||
CommandoVoice
|
|
||||||
|
|
||||||
;; explicit extension on voice clips overrides the normal `variants` mechanism
|
|
||||||
[GenericVoice]
|
|
||||||
SovietVariants=.v01,.v03
|
|
||||||
AlliedVariants=.v01,.v03
|
|
||||||
Select=await1,ready,report1,yessir1
|
|
||||||
Move=ackno,affirm1,noprob,ritaway,roger,ugotit
|
|
||||||
Die=nuyell1.aud,nuyell3.aud,nuyell4.aud,nuyell5.aud
|
|
||||||
|
|
||||||
[VehicleVoice]
|
|
||||||
SovietVariants=.v00,.v02
|
|
||||||
AlliedVariants=.v00,.v02
|
|
||||||
Select=vehic1,yessir1,report1,await1,unit1
|
|
||||||
Move=ackno,affirm1,movout1
|
|
||||||
|
|
||||||
[CivilianMaleVoice]
|
|
||||||
Select=guyyeah1
|
|
||||||
Move=guyokay1
|
|
||||||
|
|
||||||
[CivilianFemaleVoice]
|
|
||||||
Select=girlyeah
|
|
||||||
Move=girlokay
|
|
||||||
|
|
||||||
[CommandoVoice]
|
|
||||||
Select=rokroll1,yeah1,yes1,yo1
|
|
||||||
Move=cmon1,onit1,gotit1
|
|
||||||
Attack=keepem1,laugh1,bombit1,lefty1
|
|
||||||
Die=ramyell
|
|
||||||
26
mods/cnc/voices.yaml
Normal file
26
mods/cnc/voices.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
GenericVoice:
|
||||||
|
SovietVariants: .v01,.v03
|
||||||
|
AlliedVariants: .v01,.v03
|
||||||
|
Select: await1,ready,report1,yessir1
|
||||||
|
Move: ackno,affirm1,noprob,ritaway,roger,ugotit
|
||||||
|
Die: nuyell1.aud,nuyell3.aud,nuyell4.aud,nuyell5.aud
|
||||||
|
|
||||||
|
VehicleVoice:
|
||||||
|
SovietVariants: .v00,.v02
|
||||||
|
AlliedVariants: .v00,.v02
|
||||||
|
Select: vehic1,yessir1,report1,await1,unit1
|
||||||
|
Move: ackno,affirm1,movout1
|
||||||
|
|
||||||
|
CivilianMaleVoice:
|
||||||
|
Select: guyyeah1
|
||||||
|
Move: guyokay1
|
||||||
|
|
||||||
|
CivilianFemaleVoice:
|
||||||
|
Select: girlyeah
|
||||||
|
Move: girlokay
|
||||||
|
|
||||||
|
CommandoVoice:
|
||||||
|
Select: rokroll1,yeah1,yes1,yo1
|
||||||
|
Move: cmon1,onit1,gotit1
|
||||||
|
Attack: keepem1,laugh1,bombit1,lefty1
|
||||||
|
Die: ramyell
|
||||||
@@ -1,464 +0,0 @@
|
|||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
|
|
||||||
[WeaponTypes]
|
|
||||||
UnitExplode
|
|
||||||
Sniper
|
|
||||||
HighV
|
|
||||||
Pistol
|
|
||||||
M16
|
|
||||||
Rockets
|
|
||||||
Flamethrower
|
|
||||||
BigFlamer
|
|
||||||
Chemspray
|
|
||||||
Grenade
|
|
||||||
70mm
|
|
||||||
105mm
|
|
||||||
120mm
|
|
||||||
TurretGun
|
|
||||||
MissilePack
|
|
||||||
227mm
|
|
||||||
Ballistic
|
|
||||||
MachineGun
|
|
||||||
BoatMissile
|
|
||||||
Tomahawk
|
|
||||||
Napalm
|
|
||||||
Laser
|
|
||||||
Nike
|
|
||||||
HonestJohn
|
|
||||||
Atomic
|
|
||||||
|
|
||||||
[UnitExplode]
|
|
||||||
Damage=500
|
|
||||||
Speed=100
|
|
||||||
Projectile=Invisible
|
|
||||||
Warhead=UnitExplodeWarhead
|
|
||||||
|
|
||||||
;Nuke (special case for Nuclear missile)
|
|
||||||
[Atomic]
|
|
||||||
Damage=1000
|
|
||||||
Projectile=NukeDown
|
|
||||||
Warhead=Nuke
|
|
||||||
|
|
||||||
; sniper rifle
|
|
||||||
[Sniper]
|
|
||||||
Damage=100
|
|
||||||
ROF=40
|
|
||||||
Range=5.5
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=HollowPoint
|
|
||||||
Report=RAMGUN2
|
|
||||||
;Explosion=1
|
|
||||||
|
|
||||||
; rapid fire machine gun
|
|
||||||
[HighV]
|
|
||||||
Damage=25
|
|
||||||
ROF=50
|
|
||||||
Range=4
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=SA
|
|
||||||
Report=GUN8
|
|
||||||
;Explosion=2
|
|
||||||
;Anim=MINIGUN
|
|
||||||
|
|
||||||
; civilian pistol
|
|
||||||
[Pistol]
|
|
||||||
Damage=1
|
|
||||||
ROF=7
|
|
||||||
Range=1.75
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=SA
|
|
||||||
Report=GUN18
|
|
||||||
;Explosion=2
|
|
||||||
|
|
||||||
; rifle soldier weapons (multiple shots)
|
|
||||||
[M16]
|
|
||||||
Damage=15
|
|
||||||
ROF=20
|
|
||||||
Range=4
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=SA
|
|
||||||
Report=MGUN2
|
|
||||||
;Explosion=2
|
|
||||||
|
|
||||||
; man-packed anti-tank missile (bazooka type)
|
|
||||||
[Rockets]
|
|
||||||
Damage=30
|
|
||||||
ROF=60
|
|
||||||
Range=6
|
|
||||||
Projectile=HeatSeeker
|
|
||||||
Speed=25
|
|
||||||
Warhead=AP
|
|
||||||
Report=BAZOOK1
|
|
||||||
;Explosion=5
|
|
||||||
|
|
||||||
; hand-held flame thrower type
|
|
||||||
[Flamethrower]
|
|
||||||
Damage=35
|
|
||||||
ROF=50
|
|
||||||
Range=2
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=Fire
|
|
||||||
Report=FLAMER2
|
|
||||||
|
|
||||||
; tank flame thrower
|
|
||||||
[BigFlamer]
|
|
||||||
Damage=50
|
|
||||||
ROF=50
|
|
||||||
Range=2
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=Fire
|
|
||||||
Report=FLAMER2
|
|
||||||
|
|
||||||
; hand-held chemical spray
|
|
||||||
[Chemspray]
|
|
||||||
Damage=80
|
|
||||||
ROF=70
|
|
||||||
Range=2
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=HE
|
|
||||||
Report=FLAMER2
|
|
||||||
|
|
||||||
; hand grenade
|
|
||||||
[Grenade]
|
|
||||||
Damage=50
|
|
||||||
ROF=50
|
|
||||||
Range=5
|
|
||||||
Projectile=Lobbed
|
|
||||||
Speed=5
|
|
||||||
Warhead=HE
|
|
||||||
;Explosion=5
|
|
||||||
|
|
||||||
; small anti-armor cannon
|
|
||||||
[70mm]
|
|
||||||
Damage=25
|
|
||||||
ROF=60
|
|
||||||
Range=4
|
|
||||||
Projectile=Cannon
|
|
||||||
Speed=40
|
|
||||||
Warhead=AP
|
|
||||||
Report=TNKFIRE3
|
|
||||||
;Explosion=4
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; medium anti-armor cannon
|
|
||||||
[105mm]
|
|
||||||
Damage=30
|
|
||||||
ROF=50
|
|
||||||
Range=4.75
|
|
||||||
Projectile=Cannon
|
|
||||||
Speed=40
|
|
||||||
Warhead=AP
|
|
||||||
Report=TNKFIRE4
|
|
||||||
;Explosion=4
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; large anti-armor cannon
|
|
||||||
[120mm]
|
|
||||||
Damage=40
|
|
||||||
ROF=80
|
|
||||||
Range=4.75
|
|
||||||
Projectile=Cannon
|
|
||||||
Speed=40
|
|
||||||
Warhead=AP
|
|
||||||
Report=TNKFIRE6
|
|
||||||
;Explosion=4
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; turret cannon
|
|
||||||
[TurretGun]
|
|
||||||
Damage=40
|
|
||||||
ROF=60
|
|
||||||
Range=6
|
|
||||||
Projectile=Cannon
|
|
||||||
Speed=40
|
|
||||||
Warhead=AP
|
|
||||||
Report=TNKFIRE6
|
|
||||||
;Explosion=4
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; Vehicle carried anti-tank missile
|
|
||||||
[MissilePack]
|
|
||||||
Damage=75
|
|
||||||
ROF=80
|
|
||||||
Range=5
|
|
||||||
Projectile=HeatSeeker
|
|
||||||
Speed=30
|
|
||||||
Warhead=HE
|
|
||||||
Report=ROCKET1
|
|
||||||
;Explosion=4
|
|
||||||
|
|
||||||
; long-range missile
|
|
||||||
[227mm]
|
|
||||||
Damage=75
|
|
||||||
ROF=80
|
|
||||||
Range=6
|
|
||||||
Projectile=HeatSeeker
|
|
||||||
Speed=20
|
|
||||||
Warhead=HE
|
|
||||||
Report=ROCKET1
|
|
||||||
;Explosion=4
|
|
||||||
|
|
||||||
; artillery cannon
|
|
||||||
[Ballistic]
|
|
||||||
Damage=150
|
|
||||||
ROF=65
|
|
||||||
Range=6
|
|
||||||
Projectile=BallisticP
|
|
||||||
Speed=12
|
|
||||||
Warhead=HE
|
|
||||||
Report=TNKFIRE2
|
|
||||||
;Explosion=5
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; vehicle mounted machine gun
|
|
||||||
[MachineGun]
|
|
||||||
Damage=15
|
|
||||||
ROF=30
|
|
||||||
Range=4
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=SA
|
|
||||||
Report=MGUN11
|
|
||||||
;Explosion=2
|
|
||||||
;Anim=MINIGUN
|
|
||||||
|
|
||||||
; long range missile for gunboat
|
|
||||||
[BoatMissile]
|
|
||||||
Damage=60
|
|
||||||
ROF=35
|
|
||||||
Range=8
|
|
||||||
Projectile=HeatSeeker
|
|
||||||
Speed=20
|
|
||||||
Warhead=HE
|
|
||||||
Report=ROCKET2
|
|
||||||
;Explosion=4
|
|
||||||
|
|
||||||
; long range missile for guard tower
|
|
||||||
[Tomahawk]
|
|
||||||
Damage=60
|
|
||||||
ROF=40
|
|
||||||
Range=6
|
|
||||||
Projectile=HeatSeeker
|
|
||||||
Speed=25
|
|
||||||
Warhead=HE
|
|
||||||
Report=ROCKET2
|
|
||||||
;Explosion=4
|
|
||||||
;Anim=GUNFIRE
|
|
||||||
|
|
||||||
; napalm bomblets (dropped from plane)
|
|
||||||
[Napalm]
|
|
||||||
Damage=100
|
|
||||||
ROF=5
|
|
||||||
Range=4.5
|
|
||||||
Projectile=Bomblet
|
|
||||||
Speed=5
|
|
||||||
Warhead=Fire
|
|
||||||
;Explosion=3
|
|
||||||
|
|
||||||
; obelisk laser
|
|
||||||
[Laser]
|
|
||||||
Damage=200
|
|
||||||
ROF=90
|
|
||||||
Range=7.5
|
|
||||||
Projectile=Invisible
|
|
||||||
Speed=100
|
|
||||||
Warhead=Super
|
|
||||||
Report=OBELRAY1
|
|
||||||
Charges=yes
|
|
||||||
RenderAsLaser=true
|
|
||||||
BeamRadius=1
|
|
||||||
UsePlayerColor=true
|
|
||||||
|
|
||||||
; anti-aircraft missile (fired from SAM site)
|
|
||||||
[Nike]
|
|
||||||
Damage=50
|
|
||||||
ROF=50
|
|
||||||
Range=15
|
|
||||||
Projectile=AAMissile
|
|
||||||
Speed=40
|
|
||||||
Warhead=AP
|
|
||||||
Report=ROCKET2
|
|
||||||
;Explosion=6
|
|
||||||
;Anim=SAMFIRE
|
|
||||||
|
|
||||||
; extreme-range napalm rocket
|
|
||||||
[HonestJohn]
|
|
||||||
Damage=100
|
|
||||||
ROF=200
|
|
||||||
Range=10
|
|
||||||
Projectile=FROG
|
|
||||||
Speed=15
|
|
||||||
Warhead=Fire
|
|
||||||
Report=ROCKET1
|
|
||||||
;Explosion=3
|
|
||||||
|
|
||||||
[ProjectileTypes]
|
|
||||||
Invisible
|
|
||||||
Cannon
|
|
||||||
FROG
|
|
||||||
HeatSeeker
|
|
||||||
AAMissile
|
|
||||||
Lobbed
|
|
||||||
Bomblet
|
|
||||||
BallisticP
|
|
||||||
NukeDown
|
|
||||||
NukeUp
|
|
||||||
|
|
||||||
; Nuclear missile, flying down
|
|
||||||
[NukeDown]
|
|
||||||
High=yes
|
|
||||||
Image=ATOMICDN
|
|
||||||
|
|
||||||
; Nuclear missile, flying up
|
|
||||||
[NukeUp]
|
|
||||||
High=yes
|
|
||||||
Image=ATOMICUP
|
|
||||||
|
|
||||||
; invisible flight to target
|
|
||||||
[Invisible]
|
|
||||||
|
|
||||||
; straight high-speed ballistic shot
|
|
||||||
[Cannon]
|
|
||||||
Image=120MM
|
|
||||||
|
|
||||||
; Free Rocket Over Ground
|
|
||||||
[FROG]
|
|
||||||
Arm=10
|
|
||||||
High=yes
|
|
||||||
Shadow=no
|
|
||||||
Proximity=yes
|
|
||||||
;Animates=yes
|
|
||||||
;Ranged=yes
|
|
||||||
Inaccurate=yes
|
|
||||||
Image=MISSILE
|
|
||||||
|
|
||||||
; small homing missile (targets vehicles best)
|
|
||||||
[HeatSeeker]
|
|
||||||
Arm=5
|
|
||||||
High=yes
|
|
||||||
Shadow=no
|
|
||||||
Proximity=yes
|
|
||||||
;Animates=yes
|
|
||||||
;Ranged=yes
|
|
||||||
Inaccurate=yes
|
|
||||||
AA=yes
|
|
||||||
Image=DRAGON
|
|
||||||
ROT=5
|
|
||||||
Trail=smokey
|
|
||||||
|
|
||||||
; anti aircraft missile
|
|
||||||
[AAMissile]
|
|
||||||
Arm=3
|
|
||||||
High=yes
|
|
||||||
Shadow=no
|
|
||||||
Proximity=yes
|
|
||||||
AA=yes
|
|
||||||
Image=MISSILE
|
|
||||||
ROT=20
|
|
||||||
|
|
||||||
; lobbed tumbling grenade
|
|
||||||
[Lobbed]
|
|
||||||
High=yes
|
|
||||||
Arcing=yes
|
|
||||||
Inaccurate=yes
|
|
||||||
Image=BOMB
|
|
||||||
|
|
||||||
; dropped from plane tumbling object
|
|
||||||
[Bomblet]
|
|
||||||
Arm=24
|
|
||||||
RangeLimit=24
|
|
||||||
High=yes
|
|
||||||
Image=BOMBLET
|
|
||||||
|
|
||||||
; arcing ballistic projectile
|
|
||||||
[BallisticP]
|
|
||||||
High=yes
|
|
||||||
Arcing=yes
|
|
||||||
Inaccurate=yes
|
|
||||||
Image=120MM
|
|
||||||
|
|
||||||
|
|
||||||
[WarheadTypes]
|
|
||||||
UnitExplodeWarhead
|
|
||||||
SA
|
|
||||||
HE
|
|
||||||
AP
|
|
||||||
Fire
|
|
||||||
HollowPoint
|
|
||||||
Super
|
|
||||||
Nuke
|
|
||||||
|
|
||||||
; Nuclear warhead (same as fire)
|
|
||||||
[Nuke]
|
|
||||||
Spread=6
|
|
||||||
Wall=yes
|
|
||||||
Wood=yes
|
|
||||||
Ore=yes
|
|
||||||
Verses=90%,100%,60%,25%,50%
|
|
||||||
Explosion=6
|
|
||||||
InfDeath=4
|
|
||||||
SmudgeType=Scorch
|
|
||||||
SmudgeSize=5,4
|
|
||||||
|
|
||||||
[UnitExplodeWarhead]
|
|
||||||
Spread=10
|
|
||||||
Verses=90%,75%,60%,25%,100%
|
|
||||||
Explosion=8
|
|
||||||
InfDeath=3
|
|
||||||
ImpactSound=xplos
|
|
||||||
|
|
||||||
; general multiple small arms fire
|
|
||||||
[SA]
|
|
||||||
Spread=3
|
|
||||||
Verses=100%,50%,50%,25%,25%
|
|
||||||
InfDeath=1
|
|
||||||
Explosion=1
|
|
||||||
|
|
||||||
; high explosive (shrapnel)
|
|
||||||
[HE]
|
|
||||||
Spread=6
|
|
||||||
Wall=yes
|
|
||||||
Wood=yes
|
|
||||||
Verses=90%,75%,60%,25%,100%
|
|
||||||
InfDeath=2
|
|
||||||
Explosion=5
|
|
||||||
ImpactSound=xplos
|
|
||||||
|
|
||||||
; armor piercing (discarding sabot, narrow effect)
|
|
||||||
[AP]
|
|
||||||
Spread=3
|
|
||||||
Wall=yes
|
|
||||||
Wood=yes
|
|
||||||
Verses=30%,75%,75%,100%,50%
|
|
||||||
InfDeath=3
|
|
||||||
Explosion=4
|
|
||||||
ImpactSound=xplos
|
|
||||||
|
|
||||||
; napalm and fire in general
|
|
||||||
[Fire]
|
|
||||||
Spread=8
|
|
||||||
Wood=yes
|
|
||||||
Verses=90%,100%,60%,25%,50%
|
|
||||||
InfDeath=4
|
|
||||||
Explosion=3
|
|
||||||
ImpactSound=flamer2
|
|
||||||
|
|
||||||
; anti-infantry rifle bullet (single shot -- very effective verses infantry)
|
|
||||||
[HollowPoint]
|
|
||||||
Spread=1
|
|
||||||
Verses=100%,5%,5%,5%,5%
|
|
||||||
InfDeath=1
|
|
||||||
|
|
||||||
; special case damage effect (do not use for regular weapons)
|
|
||||||
[Super]
|
|
||||||
Spread=1
|
|
||||||
Verses=100%,100%,100%,100%,100%
|
|
||||||
InfDeath=4
|
|
||||||
449
mods/cnc/weapons.yaml
Normal file
449
mods/cnc/weapons.yaml
Normal file
@@ -0,0 +1,449 @@
|
|||||||
|
|
||||||
|
UnitExplode:
|
||||||
|
Warhead:
|
||||||
|
Damage: 500
|
||||||
|
Spread: 10
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
Explosion: 8
|
||||||
|
InfDeath: 3
|
||||||
|
ImpactSound: xplos
|
||||||
|
|
||||||
|
Atomic:
|
||||||
|
Nuke:
|
||||||
|
Image: atomic
|
||||||
|
Warhead@impact:
|
||||||
|
Damage: 1000
|
||||||
|
Spread: 6
|
||||||
|
Wall: true
|
||||||
|
Wood: true
|
||||||
|
Ore: true
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
Explosion: 6
|
||||||
|
InfDeath: 4
|
||||||
|
Warhead@areanuke:
|
||||||
|
DamageModel: PerCell
|
||||||
|
Damage: 250
|
||||||
|
SmudgeType: Scorch
|
||||||
|
Size: 5,4
|
||||||
|
Wall: true
|
||||||
|
Wood: true
|
||||||
|
Ore: true
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
Delay: 3
|
||||||
|
InfDeath: 4
|
||||||
|
|
||||||
|
Sniper:
|
||||||
|
Report: RAMGUN2
|
||||||
|
ROF: 40
|
||||||
|
Range: 5.5
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Damage: 100
|
||||||
|
Spread: 1
|
||||||
|
Verses: 100%,5%,5%,5%,5%
|
||||||
|
InfDeath: 1
|
||||||
|
|
||||||
|
HighV:
|
||||||
|
ROF: 50
|
||||||
|
Range: 4
|
||||||
|
Report: GUN8
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Damage: 25
|
||||||
|
Spread: 3
|
||||||
|
Verses: 100%,50%,50%,25%,25%
|
||||||
|
InfDeath: 1
|
||||||
|
Explosion: 1
|
||||||
|
|
||||||
|
Pistol:
|
||||||
|
ROF: 7
|
||||||
|
Range: 1.75
|
||||||
|
Report: GUN18
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Verses: 100%,50%,50%,25%,25%
|
||||||
|
InfDeath: 1
|
||||||
|
Explosion: 1
|
||||||
|
Damage: 1
|
||||||
|
|
||||||
|
M16:
|
||||||
|
ROF: 20
|
||||||
|
Range: 4
|
||||||
|
Report: MGUN2
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Verses: 100%,50%,50%,25%,25%
|
||||||
|
InfDeath: 1
|
||||||
|
Explosion: 1
|
||||||
|
Damage: 25
|
||||||
|
|
||||||
|
Rockets:
|
||||||
|
ROF: 60
|
||||||
|
Range: 6
|
||||||
|
Report: BAZOOK1
|
||||||
|
ValidTargets: Ground, Air
|
||||||
|
Missile:
|
||||||
|
Arm: 5
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: DRAGON
|
||||||
|
ROT: 5
|
||||||
|
Trail: smokey
|
||||||
|
Speed: 25
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 30
|
||||||
|
|
||||||
|
Flamethrower:
|
||||||
|
ROF: 50
|
||||||
|
Range: 2
|
||||||
|
Report: FLAMER2
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Spread: 8
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
InfDeath: 4
|
||||||
|
Explosion: 3
|
||||||
|
ImpactSound: flamer2
|
||||||
|
Damage: 35
|
||||||
|
|
||||||
|
BigFlamer:
|
||||||
|
ROF: 50
|
||||||
|
Range: 2
|
||||||
|
Report: FLAMER2
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Spread: 8
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
InfDeath: 4
|
||||||
|
Explosion: 3
|
||||||
|
ImpactSound: flamer2
|
||||||
|
Damage: 50
|
||||||
|
|
||||||
|
Chemspray:
|
||||||
|
ROF: 70
|
||||||
|
Range: 2
|
||||||
|
Report: FLAMER2
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Damage: 80
|
||||||
|
Spread: 6
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
InfDeath: 2
|
||||||
|
Explosion: 5
|
||||||
|
ImpactSound: xplos
|
||||||
|
|
||||||
|
Grenade:
|
||||||
|
ROF: 50
|
||||||
|
Range: 5
|
||||||
|
Bullet:
|
||||||
|
Speed: 5
|
||||||
|
High: yes
|
||||||
|
Arcing: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: BOMB
|
||||||
|
Warhead:
|
||||||
|
Spread: 6
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
InfDeath: 2
|
||||||
|
Explosion: 5
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 50
|
||||||
|
|
||||||
|
70mm:
|
||||||
|
ROF: 60
|
||||||
|
Range: 4
|
||||||
|
Report: TNKFIRE3
|
||||||
|
Bullet:
|
||||||
|
Image: 120MM
|
||||||
|
Speed: 40
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 25
|
||||||
|
|
||||||
|
105mm:
|
||||||
|
ROF: 50
|
||||||
|
Range: 4.75
|
||||||
|
Report: TNKFIRE4
|
||||||
|
Bullet:
|
||||||
|
Image: 120MM
|
||||||
|
Speed: 40
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 30
|
||||||
|
|
||||||
|
120mm:
|
||||||
|
ROF: 80
|
||||||
|
Range: 4.75
|
||||||
|
Report: TNKFIRE6
|
||||||
|
Bullet:
|
||||||
|
Image: 120MM
|
||||||
|
Speed: 40
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 40
|
||||||
|
|
||||||
|
TurretGun:
|
||||||
|
ROF: 50
|
||||||
|
Range: 6
|
||||||
|
Report: TNKFIRE6
|
||||||
|
Bullet:
|
||||||
|
Image: 120MM
|
||||||
|
Speed: 40
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 40
|
||||||
|
|
||||||
|
MissilePack:
|
||||||
|
ROF: 80
|
||||||
|
Range: 5
|
||||||
|
Report: ROCKET1
|
||||||
|
ValidTargets: Ground, Air
|
||||||
|
Missile:
|
||||||
|
Arm: 5
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: DRAGON
|
||||||
|
ROT: 5
|
||||||
|
Trail: smokey
|
||||||
|
Speed: 25
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 75
|
||||||
|
|
||||||
|
227mm:
|
||||||
|
ROF: 80
|
||||||
|
Range: 6
|
||||||
|
Report: ROCKET1
|
||||||
|
ValidTargets: Ground, Air
|
||||||
|
Missile:
|
||||||
|
Arm: 5
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: DRAGON
|
||||||
|
ROT: 5
|
||||||
|
Trail: smokey
|
||||||
|
Speed: 20
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 75
|
||||||
|
|
||||||
|
Ballistic:
|
||||||
|
ROF: 65
|
||||||
|
Range: 6
|
||||||
|
Report: TNKFIRE2
|
||||||
|
Bullet:
|
||||||
|
Speed: 12
|
||||||
|
High: yes
|
||||||
|
Arcing: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: 120MM
|
||||||
|
Warhead:
|
||||||
|
Damage: 150
|
||||||
|
Spread: 6
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
InfDeath: 2
|
||||||
|
Explosion: 5
|
||||||
|
ImpactSound: xplos
|
||||||
|
|
||||||
|
MachineGun:
|
||||||
|
ROF: 30
|
||||||
|
Range: 4
|
||||||
|
Report: MGUN11
|
||||||
|
Bullet:
|
||||||
|
Speed: 100
|
||||||
|
Warhead:
|
||||||
|
Spread: 3
|
||||||
|
Verses: 100%,50%,50%,25%,25%
|
||||||
|
InfDeath: 1
|
||||||
|
Explosion: 1
|
||||||
|
Damage: 15
|
||||||
|
|
||||||
|
BoatMissile:
|
||||||
|
ROF: 35
|
||||||
|
Range: 8
|
||||||
|
Report: ROCKET2
|
||||||
|
Missile:
|
||||||
|
Arm: 5
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: DRAGON
|
||||||
|
ROT: 5
|
||||||
|
Trail: smokey
|
||||||
|
Speed: 20
|
||||||
|
Warhead:
|
||||||
|
Spread: 6
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
InfDeath: 2
|
||||||
|
Explosion: 5
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 60
|
||||||
|
|
||||||
|
Tomahawk:
|
||||||
|
ROF: 40
|
||||||
|
Range: 6
|
||||||
|
Report: ROCKET2
|
||||||
|
Missile:
|
||||||
|
Arm: 5
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: DRAGON
|
||||||
|
ROT: 5
|
||||||
|
Trail: smokey
|
||||||
|
Speed: 25
|
||||||
|
Warhead:
|
||||||
|
Spread: 6
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,75%,60%,25%,100%
|
||||||
|
InfDeath: 2
|
||||||
|
Explosion: 5
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 60
|
||||||
|
|
||||||
|
Napalm:
|
||||||
|
ROF: 5
|
||||||
|
Range: 4.5
|
||||||
|
Bullet:
|
||||||
|
Speed: 5
|
||||||
|
Arm: 24
|
||||||
|
RangeLimit: 24
|
||||||
|
High: yes
|
||||||
|
Image: BOMBLET
|
||||||
|
Warhead:
|
||||||
|
Spread: 8
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
InfDeath: 4
|
||||||
|
Explosion: 3
|
||||||
|
ImpactSound: flamer2
|
||||||
|
Damage: 100
|
||||||
|
|
||||||
|
Laser:
|
||||||
|
ROF: 90
|
||||||
|
Range: 7.5
|
||||||
|
Charges: true
|
||||||
|
Report: OBELRAY1
|
||||||
|
LaserZap:
|
||||||
|
BeamRadius: 1
|
||||||
|
UsePlayerColor: true
|
||||||
|
Warhead:
|
||||||
|
Spread: 1
|
||||||
|
Verses: 100%,100%,100%,100%,100%
|
||||||
|
InfDeath: 4
|
||||||
|
Damage: 200
|
||||||
|
|
||||||
|
Nike:
|
||||||
|
ROF: 50
|
||||||
|
Range: 15
|
||||||
|
Report: ROCKET2
|
||||||
|
ValidTargets: Air
|
||||||
|
Missile:
|
||||||
|
Arm: 3
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Image: MISSILE
|
||||||
|
ROT: 20
|
||||||
|
Speed: 40
|
||||||
|
Warhead: AP
|
||||||
|
Spread: 3
|
||||||
|
Wall: yes
|
||||||
|
Wood: yes
|
||||||
|
Verses: 30%,75%,75%,100%,50%
|
||||||
|
InfDeath: 3
|
||||||
|
Explosion: 4
|
||||||
|
ImpactSound: xplos
|
||||||
|
Damage: 50
|
||||||
|
|
||||||
|
HonestJohn:
|
||||||
|
ROF: 200
|
||||||
|
Range: 10
|
||||||
|
Report: ROCKET1
|
||||||
|
Missile:
|
||||||
|
Arm: 10
|
||||||
|
High: yes
|
||||||
|
Shadow: no
|
||||||
|
Proximity: yes
|
||||||
|
Inaccurate: yes
|
||||||
|
Image: MISSILE
|
||||||
|
Speed: 15
|
||||||
|
Warhead:
|
||||||
|
Spread: 8
|
||||||
|
Wood: yes
|
||||||
|
Verses: 90%,100%,60%,25%,50%
|
||||||
|
InfDeath: 4
|
||||||
|
Explosion: 3
|
||||||
|
ImpactSound: flamer2
|
||||||
|
Damage: 100
|
||||||
@@ -84,8 +84,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "cnc", "cnc", "{65D8A06F-F2D
|
|||||||
mods\cnc\temperat_ra.pal = mods\cnc\temperat_ra.pal
|
mods\cnc\temperat_ra.pal = mods\cnc\temperat_ra.pal
|
||||||
mods\cnc\trees.yaml = mods\cnc\trees.yaml
|
mods\cnc\trees.yaml = mods\cnc\trees.yaml
|
||||||
mods\cnc\vehicles.yaml = mods\cnc\vehicles.yaml
|
mods\cnc\vehicles.yaml = mods\cnc\vehicles.yaml
|
||||||
mods\cnc\voices.ini = mods\cnc\voices.ini
|
mods\cnc\voices.yaml = mods\cnc\voices.yaml
|
||||||
mods\cnc\weapons.ini = mods\cnc\weapons.ini
|
mods\cnc\weapons.yaml = mods\cnc\weapons.yaml
|
||||||
mods\cnc\widget-panel.png = mods\cnc\widget-panel.png
|
mods\cnc\widget-panel.png = mods\cnc\widget-panel.png
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
|
|||||||
Reference in New Issue
Block a user