Site:
 News/Home
 CNC Guild Forums
 Submissions
 Contact Staff
 
 Downloads:
 Voxels:
 Aircraft
 Ground
 Naval
 Voxel Comp ´06

 SHPs:
 Infantry
 Buildings
 Animation
 Other

 Icons:
 Packs
 Buildings
 Armored
 Infantry

 Maps:
 RA2 Mp maps
 RA2 Sp maps
 YR Mp maps
 YR Sp maps
 Other

 Other:
 paFileDB
 GFX Packs
 TSGFX Packs
 Tutorials
 Utilities
 Mods
 Sounds
 
 Recommended Downloads:
 Ares
 
RA2 Missions Argentina -English-
 

Attack System
Submitted by ArgCmdr

A single impact weapon (no area effect, cellspread values etc, like a bullet, i.e) works this way:

[Attacker]
Primary=Weapon

[Weapon]
Damage=10
Warhead=Warhead

[Warhead]
Verses=100%,100%,50%,100%,100%,100%,100%,100%,100%,100%,100%

[Enemy1]
Armor=none
Strength=50

[Enemy2]
Armor=plate
Strength=50

Now, this settings above are just explainatory and are not found in rules.ini

Attacker fires Weapon at Enemy 1: Weapon takes out 10 HP (Damage tag) multiplied by the coefficient percentage from the correspondant value in the verses tag. Armor none in this case is 100%. Damage made by unit is then, 10 HP

Attacker fires weapon at Enemy 2: Weapon takes out 10 HP (Damage tag) multiplied by the coefficient percentage from the correspondant value in the verses tag. Armor plate in this case is 50%. Damage made by unit is then, 5 HP, 50% of Damage.

The Verses tag runs as follows:

Verses=%None,%Flak,%plate,%light,%medium,%heavy,%wood,%steel,%concrete,%special_1,%special_2

The first three apply to infantry, second three to vehicles, third three to buildings, special_1 are vehicles with infantry vulnerabilities (Terror Drone), special_2 are rockets.

> Back to Tutorials

Favourites: 
Ares 
Mental Omega 
raminator CnC 
Sleipnir's Stuff 
Wagnerma.de 
 
Webmaster: 
Nighthawk 
 
Affiliates: 
CNC Guild 
Project Perfect Mod 
CNC Source 
Sudden Strike 
C&C Reloaded 
Revora Frontpage 
Revora Hosting 

This site is best viewed at 1024x786  
Aqua Arg site design created by Mig Eater 1999-2006 Team Revenge  
Should there be any problems with the site, please contact the current webmaster