joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
13 years ago
hey guys, is it possible to add a new damage type?
Sponsor
precision_bomber
13 years ago
As far as I know, the damage-types are hardcoded into the game.

So... You can't really make new ones unless you do some assembly programming.
I haven't gotten to this part of programming yet.

This is a list of the damage types...
'PARTICLE_BEAM'(which is not here) is for the particle cannon's laser.

; "EXPLOSION",   
; "CRUSH",     
; "ARMOR_PIERCING",
; "SMALL_ARMS",  
; "GATTLING",   
; "RADIATION",   
; "FLAME",     
; "LASER",     
; "SNIPER",    
; "POISON",   
; "HEALING", 
; "UNRESISTABLE", 
; "WATER",
; "DEPLOY", 
; "SURRENDER", 
; "HACK", 
; "KILL_PILOT", 
; "PENALTY", 
; "FALLING", 
; "MELEE", 
; "DISARM", 
; "HAZARD_CLEANUP", 
; "INFANTRY_MISSILE",   ;Used by Rocket troopers.
; "AURORA_BOMB",    ;Used by the Aurora
; "LAND_MINE",      ;used by land mines
; "JET_MISSILES",   ;used by jets
; "STEALTHJET_MISSILES",   ;used by the StealthJet
; "MOLOTOV_COCKTAIL",   ;used by angry mob molotov cocktails
; "COMANCHE_VULCAN",   ;used by Comanche 20mm
; "SUBDUAL_MISSILE",
; "SUBDUAL_VEHICLE",
; "SUBDUAL_BUILDING",
; "SUBDUAL_UNRESISTABLE",
; "MICROWAVE",
; "KILL_GARRISONED",
; "STATUS",

Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
CommieDog
13 years ago
You could always use one of the unused damage types. HACK is unused, and SURRENDER is identical to SNIPER so if you change all of the SURRENDER damage type references to SNIPER, you can free up SURRENDER as well.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
precision_bomber
13 years ago
Also, you wouldn't really need New Damage Types all that much... It's really more on the Armors that resist the damage taken from a damage-type.

EXPLOSION is a good damage type for all-purpose use.
PARTICLE_BEAM, while obscure, can be used for Units and Weaker Structures.

Though, overall, you are free to adjust Armors to suit your desired unit(s).
You even may make an armor to resist everything.
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
12 years ago
thx for the help guys! i managed to free up surrender
xsr
  • xsr
  • 50.25% (Neutral)
  • Private
10 years ago
Just to say ty too :)

edit: I experimented with using PENALTY, and it seems to have a unique visual effect, e.g. a ranger using PENALTY looks like his bullets are penetrating and doing a lot of damage to the tank instead of just bouncing off.