Call of Duty 5: Adding Destructables
Tutorial to add Destructible items in your MP levels :)
Vehicles
- The following is a list of all usable destructibles in MP included in the pack below:
Audi_mp Beetle_mp Bmwmotorcyle_mp Horch1a_mp Mercedesw136_mp Opel_blitz_mp Ptboat_mp Type94truck_mp Type94truckcamo_mp Type95scoutcar_mp
Pre-requisites
For the pack, simply unzip in your COD5 main folder - no files should have to be overwritten
In Radiant
- Open your map in Radiant and place the Tank prefabs by right-clicking on the 2D view > misc > prefab
- Browse to ..\Call of Duty - World at War\map_source\_prefabs\destrutibles\ and pick the desired prefab
- Place in map and drop to ground using the drop to ground tool as shown below:
- Add more prefabs if desired
- Save your map and exit radiant
Check Map GSC file
- Check that your main Map GSC contains the line maps\mp\_load::main(); as shown in the example map in pack:
main() { maps\mp\_load::main(); game["allies"] = "marines"; game["axis"] = "japanese"; game["attackers"] = "allies"; game["defenders"] = "axis"; game["allies_soldiertype"] = "pacific"; game["axis_soldiertype"] = "pacific"; }
Update the Zone file
- Open your Map Zone File (in ..\Call of Duty - World at War\zone_source\) and remove the following lines:
impactfx,mp_yourmap
- Example Zone file:
col_map_mp,maps/mp/mp_yourmap.d3dbsp rawfile,maps/mp/mp_yourmap.gsc sound,common,mp_yourmap,!all_mp sound,generic,mp_yourmap,!all_mp sound,voiceovers,mp_yourmap,!all_mp sound,multiplayer,mp_yourmap,!all_mp character,char_usa_raider_player_rifle character,char_usa_raider_player_cqb character,char_usa_raider_player_assault character,char_usa_raider_player_lmg character,char_usa_raider_player_smg character,char_jap_impinf_player_smg character,char_jap_impinf_player_rifle character,char_jap_impinf_player_lmg character,char_jap_impinf_player_cqb character,char_jap_impinf_player_assault
- Save and close
- Using Launcher compile your map and test!
Thanks to Sven71, One_Richard
--Zeroy. 01:49, 27 January 2009 (UTC)