Make mines targetable and removable.

Let AP mines do damage against vehicles.
Let all mines do damage against friendly units.
This commit is contained in:
Scott_NZ
2013-05-10 13:05:49 +12:00
parent 8fe7f3f874
commit 48010197f4
3 changed files with 24 additions and 16 deletions

View File

@@ -651,12 +651,15 @@ World:
MINP:
Mine:
Weapon: APMine
CrushClasses: apmine,atmine
DetonateClasses: apmine
AvoidFriendly: yes
DetonateClasses: apmine,atmine
AvoidFriendly: no
Explodes:
Weapon: APMine
Health:
HP: 1
HP: 50
Armor:
Type: Light
RenderSimple:
BelowUnits:
Cloak:
@@ -667,16 +670,21 @@ MINP:
Name: Anti-Personnel Mine
Icon: jmin
ProximityCaptor:
Types:Mine
Types: Mine
TargetableUnit:
TargetTypes: Ground
MINV:
Mine:
Weapon: ATMine
CrushClasses: atmine,apmine
DetonateClasses: atmine
AvoidFriendly: yes
AvoidFriendly: no
Explodes:
Weapon: ATMine
Health:
HP: 1
HP: 50
Armor:
Type: Light
RenderSimple:
BelowUnits:
Cloak:
@@ -687,7 +695,9 @@ MINV:
Name: Anti-Tank Mine
Icon: jmin
ProximityCaptor:
Types:Mine
Types: Mine
TargetableUnit:
TargetTypes: Ground
CRATE:
Tooltip:

View File

@@ -1161,11 +1161,11 @@ ATMine:
APMine:
Warhead:
Damage: 700
Damage: 500
Versus:
Wood: 0%
Light: 0%
Heavy: 0%
Light: 10%
Heavy: 10%
Concrete: 0%
ImpactSound: mine1
InfDeath: 3