Archived Support Forum: View Post
Index | Ladder
Ron posted a message about Re: Would anyone know of a tutorial for adding voxel`s? in reply to Would anyone know of a tutorial for adding voxel`s?

> > If there is a site on how to add a voxel/image/SHP for RA2 and/or YR. Im just wondering since this comes up more often then other subjects out there. would help out those who are new to this interface. Thanks :)

> No one know`s? :`( :confused: :(

I found this:

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.




SubjectNameDate
Re: Would anyone know of a tutorial for adding voxel`s?Stinger10:37 05-05-2002

 
© 1999-2023 Van de Sande Productions