IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> (**) Veteranship - how to promote your units during combat
Bittah Commander
post Nov 3 2006, 12:05 PM
Post #1


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



Author: absturz

Veteranship - how to promote your units during combat
This Howto is about promoting your units during combat actions.
Command&Conquer enables you to promote your units. Every time a unit receives a promotion it becomes more experienced. The more experienced a unit is, the more powerful it acts.
The power and the abilities just depend on what you'd like to give them as a reward for hunting down the enemy.
Please regard: Keep an eye on your units, don't waste them as cannon fodder - they are too valuable the more experience they have...

How does the promotion work?
The promotion is based on a factor which counts the opponent's casualties and compares the sum of all Costs they have with your unit's costs.
Every unit has a parameter Cost. Hence your unit has to destroy X times the costs it has to get a promotion.
With each promotion you can assign "enhancements" of ability to your unit. There is no limit of the number of additional enhancements... An ability is for example to run faster or to have more strength during combat. Here are the details:

Common veteranship settings
We need the file RULES.INI for our changes, since it contains general settings of the veteranship:

Enabling veteranship
These are the settings in section [General] which enable the veteranship:

; Our unit must destroy at least so many enemies that
; our unit's cost times 2.0 makes up the sum of their costs:
VeteranRatio=2.0
; Don't change. How many times we are allowed to promote our units:
VeteranCap=2
; Flag whether all our starting units are veterans at the very beginning of the game, works only if the map allows it.
InitialVeteran=no

How much will the current abilities be enhanced?
The following values tell how much of the current ability may be added to the current ability as a surplus. It does not really add the value (we do this later) but it serves as a kind of multiplier to the current abilities.
Section [General] contains these parameters. Below are my recommended values:
; the numbers below are: Percentage / 100.0
VeteranCombat=1.000 ; enhance strength
VeteranSpeed=0.700 ; enhance speed
VeteranSight=1.000 ; enhance sight
VeteranArmor=1.000 ; enhance armor
VeteranROF=1.000 ; enhance rounds of fire (=shorter recharge time between shots)
An example: VeteranSpeed=0.700 means that a unit may move with the new speed:
old Speed + 0.700 * old Speed
whereas the parameter Speed is the current maximum speed as an individual property of each unit.

Assigning veteran abilities
Then we need the file RULES.INI again and - if you play the Firestorm Extension CD - the file FIRESTRM.INI

What veteran abilities does Command&Conquer have?
Command&Conquer supplies us with the following abilities (in alphabetical order):
CLOAK = unit becomes invisible to the enemy
FASTER = enhance the speed (see VeteranSpeed above)
FIREPOWER = more firepower (see VeteranCombat above)
GUARD_AREA = if unit has no orders it automatically guards the surrounding area
RADAR_INVISIBLE = unit (aircraft) may not be detected by RADAR
ROF = faster rounds of fire (see VeteranROF above)
SCATTER = unit moves away if someone fires on it
SELF_HEAL = self healing to a maximum of 50% health total
SENSORS = Unit may detect cloaked units (see CLOAK above)
SIGHT = enhanced sight (see VeteranSight above)
STRONGER = enhance armor (see VeteranArmor above)

Well, again: we can assign up to 4 abilities at once, and we have 2 occasions where we can promote units:
; First promotion. A unit becomes veteran (2 golden stripes)
VeteranAbilities=...
; Second promotion. A unit becomes elite (1 golden star) and:
; a new elite weapon replaces the primary weapon :-)
EliteAbilities=...
Elite=...

Explanation of the parameters:
Please put the parameters in the section where each unit is defined.
Example: The rifle soldier is defined in section [E1]:
; rifle soldier
[E1]
Name=Light Infantry
Category=Soldier
Primary=Minigun
.....
VeteranAbilities=SELF_HEAL
EliteAbilities=FASTER,FIREPOWER
Elite=Sniper

Assign veteran abilities to units
The first issue is: We have 3 classes of units moving on the battlefield:
* Infantry (listed in section [InfantryTypes])
* ground vehicles (listed in section [VehicleTypes])
* aircrafts (listed in section [AircraftTypes])
Of course you may assign veteran abilities individually to each and every unit which the GDI or Nod may build, but I recommend to start with assigning the same veteran abilities to all units of a specific type. Example: all aircraft get the same bonus...

As shown above edit the parameters of each unit of a specific type. Additionally you may assign elite weapons individually...
My recommendations to start with:

1. All unit types receive these veteran abilities:
VeteranAbilities=SELF_HEAL,STRONGER,SIGHT,SCATTER

2. Infantry gets the following elite abilities:
EliteAbilities=ROF,FIREPOWER,FASTER,GUARD_AREA

3. Ground vehicle get the following elite abilities:
EliteAbilities=ROF,FIREPOWER,GUARD_AREA,SENSORS

4. Aircraft get the following elite abilities:
EliteAbilities=FIREPOWER,FASTER,RADAR_INVISIBLE,CLOAK

Example: Our rifle soldier from above would look like this:
; rifle soldier
[E1]
Name=Light Infantry
Category=Soldier
Primary=Minigun
.....
VeteranAbilities=SELF_HEAL,STRONGER,SIGHT,SCATTER
EliteAbilities=ROF,FIREPOWER,FASTER,GUARD_AREA
Elite=Sniper

Well, this is a lot of hacking. But there exist tools which support you, for example SunEdit2K. There you may select a unit type (e.g. Infantry) and apply a mass change valid for all units of that type.

Happy modding and greetings,
absturz

QUOTE ("The DvD")
1) I think you can assign as many improvements as possible as opposed to 4.


Well I never tried more than 4 at a time. If more than 4 is allowed, than
I should change the docs above, shouldn't I?

QUOTE ("The DvD")
2) I'm pretty sure the whole points thing is either not used at all or used only for Skirmish score screen purposes. For veterancy, the game looks at the COST of objects.


Thanks for the input. I changed it in the docs above. I wonder why I put the word 'points' into the docs. - Maybe I was too busy thinking about some AI-documentation. Of course it's the costs which counts...
QUOTE ("SeaMan")
Addition: If the unit the uses a particle-based weapon (gas,flame or railgun), it cannot earn veterancy from killing other units with its weapon.

QUOTE ("SMIFFGIG")
also
1. "VeteranSight=" CANNOT go over 1.0 otherwise the game will crash

2. You can add as many veterancy abilities to a unit as what exsist

3. Lastly, "InitialVeteran=" only works in maps, despite being in the rules.ini (much like some other tags stated in the rules) wink1.gif

Hi Seaman,
QUOTE ("SeaMan")
Addition: If the unit the uses a particle-based weapon (gas,flame or railgun), it cannot earn veterancy from killing other units with its weapon.

I am not quite sure with the railgun. The Ghoststalker uses the railgun - and I experienced an upgrade when I set his veteranship as follows:
CODE
[GHOST]
Name=Ghost Stalker
Primary=LtRail
Secondary=RedEye2
.....
Elite=MechRailgun
EliteAbilities=ROF,FIREPOWER,FASTER,GUARD_AREA
VeteranAbilities=SELF_HEAL,STRONGER,SIGHT,SCATTER

Give it a try :-)
QUOTE ("pft1086")
The abilities that were forgotten are as follows:

TIBERIUM_PROOF - Unit doesn't take damage from tiberium
VEIN_PROOF - Unit doesn't take damage from tiberium veins
EXPLODES - Unit explodes violently when destroyed, damaging nearby objects
FEARLESS - Unit won't duck or run away
C4 - Gives the unit C4 charges
TIBERIUM_HEAL - Unit heals in tiberium
CRUSHER - Unit can crush objects with crushable=yes set

Just thought I'd share that.


--------------------
Go to the top of the page
 
: | +Quote Post
Roani52
post Nov 4 2006, 09:08 AM
Post #2


Artillery
Group Icon

Group: Members
Posts: 987
Joined: 22-October 06
From: Netherlands
Member No.: 90
Alliance: GDI
Favorite game: Tiberian Sun



huh.gif If I make more then 1 Elite or Veteran ability, it doesn't work anymore. None of them!


--------------------

/\ TY Bittah! /\

If you've X-Fire... Just add me If you join 'WhatPulse', also join 'Alpha Squad'!!! (My Profile: 'Here')


"Computers crash, people die and relationships fall apart. The only thing you can do is taking a deep breath and reboot"
Go to the top of the page
 
: | +Quote Post
Creagor
post Nov 4 2006, 11:36 AM
Post #3


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



What doesent work? Does the game crash, or do your units not get promoted, or do they get promoted but without the "veteran" bonuses, or do...?

Show us some code or somthing, maybe you did somthing slightly wrong. A single comma can mess TS up.


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
Roani52
post Nov 7 2006, 02:07 PM
Post #4


Artillery
Group Icon

Group: Members
Posts: 987
Joined: 22-October 06
From: Netherlands
Member No.: 90
Alliance: GDI
Favorite game: Tiberian Sun



Oh sorry, they dont get veteran bonuses. And no, i didn't spell anything wrong. The file is on my crashed PC, so i cant post the code


--------------------

/\ TY Bittah! /\

If you've X-Fire... Just add me If you join 'WhatPulse', also join 'Alpha Squad'!!! (My Profile: 'Here')


"Computers crash, people die and relationships fall apart. The only thing you can do is taking a deep breath and reboot"
Go to the top of the page
 
: | +Quote Post
Tartan Bunny
post Apr 2 2007, 05:07 AM
Post #5


Attack Buggy
Group Icon

Group: Members
Posts: 208
Joined: 5-February 07
From: from tartan bunny land
Member No.: 783
Alliance: Nod
Favorite game: Tiberian Sun



can you change the veteranship symbol? that would be really cool.


--------------------
Go to the top of the page
 
: | +Quote Post
Creagor
post Apr 2 2007, 09:07 PM
Post #6


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



Look for pips.shp in conquer.mix - edit that to change the verteran symbols (as well as some other stuff).


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post May 3 2007, 12:26 AM
Post #7


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



QUOTE (Bittah Commander @ Nov 3 2006, 12:05 PM) *
QUOTE (SMIFFGIG)

also
1. "VeteranSight=" CANNOT go over 1.0 otherwise the game will crash


sorry for the bump, but this is false.

you CAN set VeteranSight to a higher value than 1.0
But, if the unit with the SIGHT tag gets a longer sightrange than 10, the game crashes.
e.g. unit sightrange is 4
Veteransight=1.25
the unit will get a sightrange of 9 and will work very well

unit sightrange is 5
Veteransight=1.25
the unit would get a sightrange of 11.25 and the game crashes


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Crimsonum
post May 3 2007, 12:29 PM
Post #8


Tick Tank
Group Icon

Group: Members
Posts: 672
Joined: 21-October 06
From: Finland
Member No.: 32
Alliance: Nod
Favorite game: Tiberian Sun



Nice...umn...tutorial you've got there. I have few things to correct, however.

First: Aircraft units cannot have cloaking ability. I tested it recently, and the aircraft stays visible.

Second: You have a mistake in the VeteranCombat - part, where you say it's the unit's strength, actually, it's the firepower of the unit. Or, the damage the weapon of the unit creates to the target.
Go to the top of the page
 
: | +Quote Post
Bittah Commander
post May 3 2007, 01:58 PM
Post #9


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



QUOTE (Tartan Bunny @ Apr 2 2007, 07:07 AM) *
can you change the veteranship symbol? that would be really cool.

Every single graphic in TS can be changed, that includes the veteranship symbol.


--------------------
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 9th July 2025 - 02:07 PM


XGhozt.com