Tutorial:Vehicle Mods

From alt:V / Wiki
Jump to navigation Jump to search

This tutorial will show, how to add custom vehicles to your server. For this tutorial we will use Meteor by Vanillaworks-Team.

Suggested tools

  1. Open IV
  2. Codewalker

Creating the resources

  1. Open dlc.rpf or any other *.rpf archive with one of suggested tools
  2. Extract the archive like below. Place all ytd, yft, ydd and other assets in one folder to load them all with one wildcard (you can split it in subfolders). You also need to describe each meta file. You can drag and drop the files.

Folder Structure

meteor/
|-> stream/
|    |-> assets/
|    |    |-> assets/
|    |    |    |-> meteor_hi.yft
|    |    |    |-> meteor.yft
|    |    |    \-> meteor.ytd
|    |    \-> mods/
|    |         |-> meteor_pig.yft
|    |         |-> meteor_roof_1.yft
|    |         |-> meteor_roof_1.yft
|    |         |-> meteor_wrframe_1.yft
|    |         \-> meteor_wrframe_2.yft
|    |-> audio/
|    |    |-> sfx/
|    |    |    |-> dlc_meteor/
|    |    |    |    |-> meteor_npc.awc
|    |    |    |    \-> meteor.awc
|    |    |    |-> meteor_amp.dat10
|    |    |    |-> meteor_amp.dat10.nametable
|    |    |    |-> meteor_amp.dat10.rel
|    |    |    |-> meteor_game.dat151
|    |    |    |-> meteor_game.dat151.nametable
|    |    |    |-> meteor_game.dat151.rel
|    |    |    |-> meteor_sounds.dat54
|    |    |    |-> meteor_sounds.dat54.nametable
|    |    |    \-> meteor_sounds.dat54.rel
|    |-> carcols.meta
|    |-> carvariations.meta
|    |-> handling.meta
|    \-> vehicles.meta
|-> resource.cfg
\-> stream.cfg

resource.cfg

type: dlc,
main: stream.cfg,
client-files: [
	stream/*
]

stream.cfg

files: [
	stream/assets/*
]
meta: {
	stream/vehicles.meta: VEHICLE_METADATA_FILE
	stream/carvariations.meta: VEHICLE_VARIATION_FILE
	stream/handling.meta: HANDLING_FILE
	stream/carcols.meta: CARCOLS_FILE
	stream/audio/sfx/dlc_meteor: AUDIO_WAVEPACK
	stream/audio/meteor_game.dat: AUDIO_GAMEDATA
	stream/audio/meteor_sounds.dat: AUDIO_SOUNDDATA
	stream/audio/meteor_amp.dat: AUDIO_SYNTHDATA
}
gxt: {
}

Additional Data files can be found here, which may be needed for other mods. Add the meteor (folder name is your resource name) for the server.cfg file.