Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Setting up multiple skins for a vehicle

Page: 1 of 1
 Szico
11-03-2004, 8:29 AM
#1
Okay. I';ve got about 8 chocobo skins (the chocobo is a custom vehicle), and the .glm for them which uses tauntaun animations, e.t.c now. the .npc and the .veh files refer to the standard skin (model_dafault.skin)

so the pk3 is:

ext_data/npcs/chocobo.npc
ext_data/vehicles/chocobo.veh
shaders/chocobo.shader
models/players/chocobo/model.glm
models/players/chocobo/model_default.skin
models/players/chocobo/feather.png
models/players/chocobo/chocobo.jpg

and this setup is fine. However, i want a vehicle/npc for the other skins as well i.e "model_gold.skin"

I dont know how to set up the pk3 for this. Do i need a new shader file for each skin, or can i put the data for each image into the same shader? Do i put all the .skin files into models/players/chocobo or do i make new folders i.e. models/players/gold_chocobo?

Finally, do i need to make new npc files, or add to the default one?


=========VEH FILE================

chocobo
{
name chocobo
type VH_ANIMAL
numHands 1
lookYaw 45
lookPitch 45
length 64
width 20
height 40
centerOfGravity "-0.222 0 0"

speedMax 500
speedMin -50
turboSpeed 1000
turboDuration 4000
turboRecharge 8000
acceleration 20
decelIdle 20


strafePerc 0.2
bankingSpeed 0.0
rollLimit 2
pitchLimit 0
braking 10
mouseYaw 0.08
turningSpeed 5
turnWhenStopped 0
traction 100
friction 100
maxSlope 0.55
mass 100
armor 200
toughness 30.0
model chocobo
riderAnim BOTH_VS_IDLE
radarIcon "gfx/menus/radar/tauntaun"

cameraOverride 1
cameraRange 125
cameraVertOffset 0
cameraPitchOffset 0
cameraFOV 80
cameraAlpha 0


soundOn "sounds/chocobo/wark.mp3"
soundOff "sounds/chocobo/wark.mp3"
soundTurbo "sounds/chocobo/squeak.mp3"
soundShift1 "sounds/chocobo/squeak.mp3"
soundShift2 "sounds/chocobo/squeak.mp3"
soundShift3 "sounds/chocobo/wark.mp3"
soundShift4 "sounds/chocobo/wark.mp3"
}


Thanks for any help :)
Page: 1 of 1