Posted: Sun Sep 19, 2010 7:21 am Post subject:
How can i make an hva file?
Subject description: Im new to this.
Ok guys im new to modding so i downloaded the ROTD mod and its incredible but something that botters me is that NOD doesnt have a bomber like the A10 or a big tank like the Mammoth tank....So i went on the tiberium web forum and found this great F-22 raptor voxel but when i downloaded it i realised that it had no hva file can anyone tell me how to make one???
Also im trying to add the F-22 Raptor to the ROTD (for my personal use not releasing it for public or anything like that only for me)
I just want to know if the rules ini. is right.
Rules ini:
PadAircraft=ORCA,APACHE,F22R ;ORCAB ; aircraft that can be produced (and land at) a helipad (or ground)
; ******* Aircraft Type List *******
; This lists all of the aircraft types in the game. Each aircraft
; type should have a matching section that specifies the data it
; requires.
[AircraftTypes]
1=ORCA
2=DSHP
5=APACHE
6=ORCATRAN
3=NTRAN
4=A10G
7=F22R
; F22 RAPTOR
[F22R]
Name=F22-RAPTOR
Nominal=yes
Prerequisite=HPADG,RADR
Primary=A10Bombs ;Hellfire
Elite=A10BombsE
Strength=110 ;150 ;125
Category=AirPower
Armor=medium
TechLevel=7 ;5
Sight=2
RadarInvisible=yes
Landable=yes
MoveToShroud=no
Dock=HPADG,HPADN,AIRPAD
PipScale=Ammo
Speed=25
PitchSpeed=.20
PitchAngle=0
Owner=Nod
Cost=1600
Points=30
ROT=4
Ammo=5 ;8
Crewed=yes
GuardRange=30
Explosion=FBALL1 ;ART-EXP1
MaxDebris=9
VoiceSelect=25-I000,25-I001,25-I002,25-I003,25-I004,25-I005
VoiceMove=25-I012,25-I014,25-I018,25-I024,25-I022
VoiceAttack=25-I014,25-I024,25-I030,25-I026,25-I028
;VoiceSelect=30-I000,30-I002,30-I004,30-I006
;VoiceMove=30-I014,30-I016,30-I018,30-I022
;VoiceAttack=30-I022,30-I030,30-I034,30-I036
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=DROPUP1 ;Taking off
AuxSound2=DROPDWN1 ;Landing
VeteranAbilities=FIREPOWER,STRONGER,FASTER
EliteAbilities=FIREPOWER,STRONGER,RADAR_INVISIBLE,SELF_HEAL
Trainable=no
FlightLevel=1000
Art ini:
[F22]
Cameo=F22RPTR
Voxel=yes
PrimaryFireFLH=0,0,0
Simply download the HVA Editor (you can find it from the Modding Tools section), open the voxel file with it, and check that the unit is centered properly. Save the HVA file, and put it in the same expand## mix that your VXL file is. _________________ Last edited by Crimsonum on Sun Sep 19, 2010 7:42 am; edited 1 time in total QUICK_EDIT
Ok guys now something is going crazy with the F22 Raptor instead of being buildable by Nod its buildable to GDI and the cameo doesnt show up and when i click it says building and nothing appears???
Can anyone tell me how to fix this? QUICK_EDIT
I suspect it's because you have HPADG,RADR as the prerequisites. These are GDI buildings, right? Well you need to put Nod buildings there (if you don't know, these are the buildings you need to build before you can access this aircraft). _________________
also I noticed that in your codes your art.ini name differs from your rules.ini name. They need to be the same. your missing the "R" in the art name. Needs to be [F22R] QUICK_EDIT
Do you have a F22RPTR.SHP in an ecacheXX.mix file?
SHPs are only read from ecacheXX.mix files (XX being an unused number between 01-99), while voxel are read from expandXX.mix and ecacheXX.mix files.
It should show up as long as there is a F22RPTR.shp in that ecache, double-check the names and see if the SHP file itself is not corrupt or anything. _________________
Ok i was also modding my rules.ini and i added a new tank it was going well when suddenly it dissapeared from the list!!
I quited my game and restarted it again but it wasnt there!! I builded its requisites and nothing happened its wasnt there here are my ini and art codes:
; ******* Vehicle Type List *******
; This lists all of the vehicles types in the game. Each vehicle
; type should have a matching section that specifies the data it
; requires.
[VehicleTypes]
1=MCV ; Mobile Con. Yard
2=HARV ; Tiberium Harvester
3=MHQ ; Mobile HQ
4=BUGGY ; Nod assault buggy
5=BIKE ; good old recon bike
6=NODAPC ; nod apc
7=LTNK ; light tank
8=ARTY ; artillery
9=FTNK ; flame tank
10=STEALTH ; yes, stealth tank
11=SSM ; surface to surface missile launcher
12=NMLRS ; Nod MLRS
13=NCTNK ; Nod Chem Tank
20=HMVEE ; gdi humm vee
21=GDIAPC ; gdi apc
22=M1A1 ; medium tank
23=MLRS ; multi-launch rocket system
24=MAMM ; MAMMOOOTH TANK !!!
25=XO ; XO Powersuit
26=HTNK1 ;HADES HEAVY TANK!!!
27=HMVE ; TOW Missile humm vee
[HTNK1]
Name=Hades Tank
Nominal=yes
Category=AFV
Prerequisite=NAWEAP,RADR
Primary=120mmx
Primary=120mmxE
Secondary=XOPPC
Strength=720 ;600
CrateGoodie=yes
Armor=heavy
Turret=yes
TechLevel=5
Sight=7
Speed=4
Owner=Nod
Cost=1500
Points=60
ROT=5
Crusher=yes
SelfHealing=yes
Crewed=yes
Explosion=ARTEXP51 ;EXPLOMED
VoiceSelect=25-I000,25-I001,25-I002,25-I003,25-I004,25-I005,25-I008,25-I010
VoiceMove=25-I012,25-I014,25-I018,25-I024,25-I022
VoiceAttack=25-I014,25-I024,25-I030,25-I026,25-I028
VoiceFeedback=
MaxDebris=24 ;48
;DebrisTypes=GASTANK,MAMMBARREL,DBRIS9LG
;DebrisMaximums=2,1,21
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Destroyer
ThreatPosed=55 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AllowedToStartInMultiplayer=no
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,ROF
Elite=120mmxE
Trainable=no
ZFudgeColumn=9
ZFudgeTunnel=15
ZFudgeBridge=28
ImmuneToVeins=yes
SpeedType=Track
NonVehicle=yes
And art.ini
[HTNK1] ; Nod Heavy Tank (aka Hades Tank)
Cameo=HTNKC
Voxel=yes
Remapable=yes
PrimaryFireFLH=40,32,96
SecondaryFireFLH=-32,80,120
PBarrelLength=192
All the shp are in their ecache##.mix (its a number not used)
and the vxl and hva's in the right place???
Show a screenshot.
Though it is most probably a problem of the vxl itself rather than a ini coding problem. Afaik can only wrong colors in the vxl cause a screwed up image ingame.
\EDIT
just read again some of your posts.
It seems you try to add a public available vxl to a mod (ROTD). Since this mod can have/use its own unittem.pal color palette with different and new arranged colors, the public voxel created for the vanilla TS unittem.pal couldn't work anymore.
In this case you have to open vxl and change all the colors to fit to the ROTD unittem.pal. _________________ SHP Artist of Twisted Insurrection: Nod buildings
as for the Hades tank, is your .vxl and .hva named HTNK1 ?
Also looks like you have Primary= used twice, and whats with the SpeedType=Track, NonVehicle=yes tags ?
[Edit] Crap, I thought he was talking about the Cameo image was screwed up. Never mind. But, yes the normals/Palette can be converted on the units from RA2 to TS QUICK_EDIT
OMG i cant believe how helpful you guys are!!!!
anyways i fixed the cameos problem and the hades tank problem.
Only one last question how can i make a unit buildable by both sides? QUICK_EDIT
The voxel palette can not be changed, the engine is always forced to use the default colors. Trial and error from Evolution when we tried adding a rusty brown shade.
As for making something buildable for both sides, just use Owner=GDI,Nod and a generic Prerequisite such as Prerequisite=FACTORY. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum