Posted: Wed Dec 08, 2010 11:40 am Post subject:
shp vxl tur barl
Hello everybody!
Is it possible that you have a unit like this in Tiberian sun :shp body, voxel turret and barrel _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
something like this
unit.shp
unittur.vxl
unitbarl.vxl
is not possible.
The game reads afaik only the barl file because a turreted shp unit is hardcoded to use the 32 frames after the walking frames for the turret. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Well, since units can use TurretAnimIsVoxel= cant they also use BarrelAnimIsVoxel= coupled with BarrelVoxelFile=? I havent tried it yet but been meaning to. it sounds logical and they are ligitment tags for the game. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
but is walking voxel unit with turret possible? _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
Well, since units can use TurretAnimIsVoxel= cant they also use BarrelAnimIsVoxel= coupled with BarrelVoxelFile=?
wrong. Only BuildingTypes can use these keys.
Navy SEAL wrote:
but is walking voxel unit with turret possible?
Of course. Just give the mymech.vxl a hva anim and another mymechtur.vxl for the turret.
Though keep in mind that the game can only use a section of the chassis for the shadow, and in the case of something like a titan, there wouldn't be any really big section for a good looking shadow casting in the chassis.
The necessary art.ini key UseTurretShadow is afaik not working.
In addition can it become hard to make the game render correct every section behind the appropriate other sections.
Due to this visibility problem of voxel section units together with the shadowproblem, many use SHP units instead. And since walker units don't tilt on slopes, there's no need to use a voxel and an shp can also provide way more detail. _________________ SHP Artist of Twisted Insurrection: Nod buildings
but when Im making a new section in voxel editor, then its not visible in HVA editor. _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
Ahh crap, I knew that. I dont know what I was thinking. my bad guys.
Navy SEAL wrote:
but when Im making a new section in voxel editor, then its not visible in HVA editor.
As long as you add tur/barl to the unit name it should show up in hva builder. So if your units name is mech.vxl then your turret would be named mechtur.vxl and the barrel would be named mechbarl.vxl The program should automatically read these files as long as they are all in the same directory/folder. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
In addition can it become hard to make the game render correct every section behind the appropriate other sections.
Due to this visibility problem of voxel section units together with the shadowproblem, many use SHP units instead. And since walker units don't tilt on slopes, there's no need to use a voxel and an shp can also provide way more detail.
What about really large mechs? Isn't there a maximum height (255 pixels?) that a turreted mech can be or some such?
@Cranium: If you add a new section to a voxel then it appears incorrectly in the HVA editor - you have to delete the old HVA because it has no information on the new section. QUICK_EDIT
What about really large mechs? Isn't there a maximum height (255 pixels?) that a turreted mech can be or some such?
yep, but turreted SHP units as well as VXL have a max size limit.
turreted SHP units: 160x160pixel
VXL units: 255x255pixel
non turreted SHP units: no limit
The units can be bigger but ingame the engine cuts them off if they go beyond the limit. _________________ SHP Artist of Twisted Insurrection: Nod buildings
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