Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 26, 2024 8:32 am
All times are UTC + 0
How can i make an hva file?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [19 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Sun Sep 19, 2010 7:21 am    Post subject:  How can i make an hva file?
Subject description: Im new to this.
Reply with quote  Mark this post and the followings unread

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

Please tell me if i need something.

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Sep 19, 2010 7:41 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Sun Sep 19, 2010 7:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Download the HVA Editor - you can find the download on PPM's front page under modding tools (left bar).

Once you have it, you just have to open the voxel in it and save it.

EDIT: Crimsonum got there first... it seems.

Back to top
View user's profile Send private message
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Sun Sep 19, 2010 7:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks helped me alot!!!

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?

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Sep 19, 2010 8:52 am    Post subject: Reply with quote  Mark this post and the followings unread

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).

_________________


Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Sep 19, 2010 2:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

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]

Back to top
View user's profile Send private message Visit poster's website Skype Account
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Sun Sep 19, 2010 3:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

Fixed Everything now in-game thanks alot guys!!!

Also cameo wont show up??

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Sep 19, 2010 5:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

The newbie guide in modding might help you too.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Sun Sep 19, 2010 5:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok yes is in ecache03.mix but the picture wont show up? and the vxl in expansion##.mix

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Sep 19, 2010 6:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Does it give you a blank icon?

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.

_________________


Back to top
View user's profile Send private message
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Mon Sep 20, 2010 12:32 am    Post subject: Reply with quote  Mark this post and the followings unread

OK its in-game but the image is all screwed??!!

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???

What is the problem???

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Mon Sep 20, 2010 5:22 am    Post subject: Reply with quote  Mark this post and the followings unread

In what way is the image "screwed"?


EDIT: Shouldn't this topic be moved to the TS modding forum?

Back to top
View user's profile Send private message
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Mon Sep 20, 2010 11:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

The colors are all screwed you cant see the image clearly.
Are my hades tank rules and art inis right?

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Sep 20, 2010 11:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Last edited by Lin Kuei Ominae on Mon Sep 20, 2010 11:11 pm; edited 1 time in total

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Mon Sep 20, 2010 11:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

I was under the impression that the voxel palette could not be changed?

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Mon Sep 20, 2010 11:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

convert the cameo over to TS cameo.pal

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

Back to top
View user's profile Send private message Visit poster's website Skype Account
F22-Raptor
Vehicle Drone


Joined: 19 Sep 2010

PostPosted: Tue Sep 21, 2010 1:46 am    Post subject: Reply with quote  Mark this post and the followings unread

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?

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Tue Sep 21, 2010 9:04 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Tue Sep 21, 2010 9:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Aro wrote:
Trial and error from Evolution when we tried adding a rusty brown shade.

I was going to mention that, but I was unsure as to whether that was just RA2.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [19 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1703s ][ Queries: 11 (0.0090s) ][ Debug on ]