Archived Support Forum: View Post
Index | Ladder
Stinger posted a message about Re: How do u add new faces and units GFX? in reply to Re: How do u add new faces and units GFX?

> > How do u add new faces and units GFX?
> > HELP ME! i know you can!!!!

If I remember right Tanks and such are grahics called Voxels. Then your infantry and buildings are SHP`s.
Well lets see if this helps any... again I would like to credit the person(s) who wrote this but I had some broken links today.

_____________________________________________________

ADDING NEW VOXELS TO RA2
:: Welcome to the Adding Voxels to Red Alert 2 guide, before proceeding please check you have the following thing(s) ::
-> Red Alert 2 (duh?!)
-> XCC Mixer <http://xccu.sourceforge.net>
-> Wordpad/INI Editor
-> Of course the voxels <http://ara2s.virtualave.net/voxels.html> itself
:: If you have those mentioned above, we can begin now, to start you'll have to know what Voxels are, voxels used in Red Alert 2 have different purpose and diffrent names, there is the Chassis, Barrel and Turret. Chassis are mainly the main body voxel E.G 2TNK.VXL and Turret are the turret of a main body voxel, E.G 2TNKTUR.VXL while Barrel is the barrel of a turret E.G 2TNKBARL.VXL. They are regonised in the game by the last three letter of the name (BARL [xxxbarl.vxl], TUR [xxxtur.vxl]) Take note, some voxels does not have a turret or barrel. This is normal stuff, an example of a turretless unit is the Chrono Miner. One last thing you need to know is all voxels needs a .HVA file to function properly.

:: After reading the introduction, you are now ready to add those voxels!! We'll start with the rules.ini section then the art.ini and adding the .vxl and .hva to the .mix file.

STEP 1

First make sure that you have the voxels files and hva files. Open rules.ini with any .txt editor and under the [VehicleType] list, add a new entry at the end of the list, XX=NAMEOFUNIT (where XX is the next available free number and NAMEOFUNIT is the preffix of a unit) When you're done with that, add the unit's statistics, hit CTRL-F and search for MTNK, add unit statistic below the MTNK's statistics. Below is an example of how it should looks like:
[NAMEOFUNIT] ;enter unit's preffix here E.G LTNK
UIName=Name:LTNK ;use XCC Mixer to edit string table
Name=Light Tank
Image=LTNK ;this is optional, this is also uneeded if the voxels file has the same name as ; ;the unit's preffix
Prerequisite=GAWEAP
Primary=90mm
Strength=200
Category=AFV
Armor=heavy
Turret=yes ;tells the game that the unit is equipped with a turret
IsTilter=yes
TargetLaser=yes
TooBigToFitUnderBridge=true
TechLevel=2
Sight=8
Speed=9
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=British
AllowedToStartInMultiplayer=no
Cost=600
Points=25
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
Maxdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=40 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=6
OpportunityFire=yes
Now let's proceed to the art.ini part >>
STEP 2
After you're done with the rules.ini, you'll need to create the entry inside art.ini. First Open art.ini in any text editor, assuming you have extracted it from the mix file. Once art.ini is opened, hit CTRL+F on your keyboardand type in Vehicle artwork follows once found add something which looks like this below it ::
[UNITNAME] unit's/voxel preffix goes here
Cameo=XXICON you have to create a new cameo or use existing one
AltCameo=XXICOU alternate cameo when veteran
Voxel=yes
Remapable=yes
PrimaryFireFLH=40,32,96
SecondaryFireFLH=-32,80,120 this is an optional entry, if unit has a secondary weapon
PBarrelLength=192
That is all which is needed to be done in art.ini
Now let's us proceed to where the voxels/hvas files should be placed >>

STEP 3
HVAs and VXLs file can actually can just be placed in your RA2 dir but that will mess your RA2 folder. So to get around this, you'll need the use of XCC Mixer which can be downloaded at <http://xccu.sourceforge.net> First launch XCC Mix Editor from the XCC MIxer Interface and Create a new mix file (go to XCC site on how to do this) called expandxx.mix (xx=number between 01 to 99) Now when you're done, place all you .vxl and .hva files inside the expandxx you've just created.

Insert the voxel in your Red Alert 2 root
(e.g.:C:\westwood\ra2)
Now all you need to do is enable your new unit in the
rules.ini and art.ini files so that RA2 knows to use it
in the game. These can be found for download all over
the place, including here.

Open art.ini. Scroll down until you find the text ";
Vehicle artwork follows". Click one line below that and
hit enter. Our new unit will be called THINGY2, so
type "[THINGY2]". Now, to link the voxels to this unit,
hit enter and type "Image=THINGY2", "Voxel=yes", and if
you have a turret, "Turret=yes". This is all that is
needed for the art.ini file, though more can be added if
you know how. This is what you should have:

[THINGY2]
Image=THINGY2
Voxel=yes
Turret=yes

Now open the rules.ini file and scroll or search
until you see the words "[VehicleTypes]". Continue
scrolling to the bottom of this list and add another
entry to the end. Type "xxx=THINGY2" where "xxx" is the
number that comes after the previous one, and THINGY2 is
the name of our new unit. Now find the text "unit
statistics" and scroll to the bottom of this list, and
the unit code thereafter. There, type "[THINGY2]", then
to link the unit to the art.ini equivalent,
type "Image=THINGY2" and add in the rest of the needed
code below that, which for a simple unit, is:

; Eclipse Thingy 2
[THINGY2]
Name=Eclipse Thingy 2
Category=AFV
Primary=none
Secondary=none
Strength=200
Armor=light
Turret=no
TechLevel=1
Sight=5
Speed=4
Owner=GDI,Nod
Cost=500
Points=40
ROT=5
Crusher=no
SelfHealing=no
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=2
MovementZone=Normal
ThreatPosed=0 ; This value MUST be 0 for all building
addons
DamageParticleSystems=SparkSys,SmallGreySSys
MaxDebris=2
DebrisTypes=TIRE
DebrisMaximums=4

Now save the file, and place both the rules.ini file
and the art.ini file in the TS directory. Also, make
sure the needed voxels and their support files are also
in the Tiberian Sun directory.

“In the thick of battle, you must keep your wits about you. Yelling a lot helps, too.” -Stinger-

Like Fireworks? Click Here!


 
© 1999-2023 Van de Sande Productions