Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 65 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

Tutorials

»
Zombie Scripts (1.2 Mod Tools)
Versions: You must be logged in to view history.
Shows you how to fix the "unknown function" errors, among other things to get your map working.

Information

This tutorial will guide you through the steps of getting your map to work after the 1.2 Mod Tool update and 1.4 CoD:WaW update. There were several people that helped with getting everything working:

Ottawolf
SparkyMcSparks
[HOG]Rampage
Godfather
JacMac
Any other people that helped
modsonline.com
customcod.com

This is only a guide for the scripting, compiling, and mod building part.

Please be sure to read through the wiki if you want to learn how to implement the new features (perk-a-cola machines, power switch, etc.) and other mapping walkthroughs:

http://wiki.treyarch.com/wiki/Custom_Nazi_Zombie_Maps_(Verruckt)

Requirements

- CoD:WaW v1.4
- Mod Tools v1.2

Example Map

Below is an example map made by SparkyMcSparks:

http://files.filefront.com/Verruckt+Example+Srczip/;13608777;/fileinfo.html

Needed Files

Here are the files that you must have in order for your map to work:

http://files.filefront.com/Zombie+12+Fileszip/;13620698;/fileinfo.html

Once you have the above zipped folder, extract them anywhere. Then, place the folders and files into your CoD:WaW directory. For example, Zombie_1.2_Files/raw/animscripts/traverse/wall_hop_zombie.gsc would be placed in:

C:/Program Files/Activision/Call of Duty - World at War/raw/animscripts/traverse/

If it asks you to overwrite, click yes.

GSC File

For your map’s .gsc file (raw/maps/nazi_zombie_YOURMAP.gsc), just copy and paste the code from nazi_zombie_asylum.gsc into your .gsc file. After that, go to line 47:
   
mapsnazi_zombie_asylum_fx::main();

Replace “asylum” your map name. For example:

mapsnazi_zombie_YOURMAP_fx::main();

Save and close.

Zone Source

Below is an example zone_source file that you can use. Just replace “YOURMAP” with your map name:

ignore,code_post_gfx
ignore,common

// my strings
localize,zombie
localize,mod

// for zombie specific assets
// Moved to Mod.ff
//include,zombiemode

// for coop players
include,common_player_us

// for puddle effects,,,
include,water

// shock
material,zombie_electric_shock_overlay

rawfile,clientscripts/nazi_zombie_YOURMAP.csc
rawfile,clientscripts/nazi_zombie_YOURMAP _amb.csc
rawfile,clientscripts/nazi_zombie_YOURMAP _fx.csc
rawfile,maps/nazi_zombie_YOURMAP.gsc
rawfile,maps/nazi_zombie_YOURMAP _fx.gsc
rawfile,maps/_destructible_opel_blitz.gsc
rawfile,maps/_mgturret.gsc
rawfile,vision/zombie_asylum.vision
rawfile,shock/electrocution.shock

material,watersheeting_color_distort_blur

col_map_sp,maps/nazi_zombie_YOURMAP.d3dbsp

sound,common,nazi_zombie_YOURMAP,all_sp
sound,generic,nazi_zombie_YOURMAP,all_sp
sound,voiceovers,nazi_zombie_YOURMAP,all_sp
sound,requests,nazi_zombie_YOURMAP,all_sp
sound,character,nazi_zombie_YOURMAP,all_sp
sound,projectiles,nazi_zombie_YOURMAP,all_sp
sound,nazi_zombie_YOURMAP,nazi_zombie_YOURMAP,all_sp
sound,physics,nazi_zombie_YOURMAP,all_sp
sound,destructibles,nazi_zombie_YOURMAP,all_sp

// for all weapon sounds
sound,weapons,audio_test_tuey,all_sp

// SCRIPTED FX
fx,destructibles/fx_dest_fire_car_fade_40
fx,destructibles/fx_dest_fire_car_fade_25
fx,destructibles/fx_dest_fire_lg
fx,destructibles/fx_dest_fire_med
fx,destructibles/fx_dest_fire_sm
fx,env/smoke/fx_smoke_sm_blk_20_fade

fx,misc/fx_zombie_electric_trap
fx,env/electrical/fx_elec_sparking_oneshot
fx,misc/fx_zombie_elec_trail
fx,misc/fx_zombie_cola_on
fx,misc/fx_zombie_cola_dtap_on
fx,misc/fx_zombie_cola_jugg_on
fx,misc/fx_zombie_cola_revive_on
fx,misc/fx_zombie_zapper_powerbox_on
fx,misc/fx_zombie_zapper_wall_control_on
fx,misc/fx_zombie_zapper_light_green
fx,misc/fx_zombie_zapper_light_red
fx,misc/fx_zombie_elec_trail_oneshot
fx,env/electrical/fx_elec_wire_spark_dl_oneshot

fx,env/electrical/fx_elec_player_md
fx,env/electrical/fx_elec_player_sm
fx,env/electrical/fx_elec_player_torso
fx,explosions/fx_flamethrower_char_explosion
fx,weapon/bouncing_betty/fx_explosion_betty_generic
fx,weapon/bouncing_betty/fx_betty_trail
fx,env/electrical/fx_elec_wire_spark_burst

fx,misc/fx_zombie_elec_gen_on
fx,misc/fx_zombie_elec_gen_idle

fx,destructibles/fx_barrelexp
fx,destructibles/fx_barrel_ignite
fx,destructibles/fx_barrel_fire_top
fx,env/dirt/fx_dust_ceiling_impact_lg_mdbrown
fx,misc/fx_zombie_couch_effect
fx,misc/fx_zombie_light_elec_room_on
fx,env/light/fx_glow_hanginglamp

fx,bio/player/fx_footstep_dust
fx,bio/player/fx_footstep_water
fx,bio/player/fx_footstep_sand
fx,bio/player/fx_footstep_mud

xanim,ch_dazed_d_death
xanim,ch_dazed_c_death
xanim,ch_dazed_b_death
xanim,ch_dazed_a_death
xanim,ch_dazed_d
xanim,ch_dazed_c
xanim,ch_dazed_b
xanim,ch_dazed_a

xmodel,exploding_barrel_test
xmodel,exploding_barrel_test_d
xmodel,global_explosive_barrel_japanese
xmodel,zombie_teddybear
xmodel,zombie_vending_doubletap_on
xmodel,zombie_vending_jugg_on
xmodel,zombie_vending_revive_on
xmodel,zombie_vending_sleight_on
xmodel,zombie_zapper_power_box_on
xmodel,zombie_zapper_power_box
xmodel,zombie_zapper_cagelight_red
xmodel,zombie_zapper_cagelight_green

xmodel,lights_tinhatlamp_off
xmodel,lights_tinhatlamp_on
xmodel,lights_indlight_on
xmodel,lights_indlight

xmodel,skybox_zombie_asylum

xmodel,viewmodel_usa_marine_arms
xmodel,viewmodel_usa_marine_player


// Fog and vision,
//rawfile,maps/createart/nazi_zombie_ver_ex_art.gsc

// WEAPONS
// regular weapons
weapon,sp/colt
weapon,sp/colt_dirty_harry
weapon,sp/m1garand
weapon,sp/kar98k_scoped_zombie
weapon,sp/kar98k
weapon,sp/fraggrenade
weapon,sp/m2_flamethrower_zombie
weapon,sp/molotov
weapon,sp/napalmblob
weapon,sp/napalmbloblight
weapon,sp/doublebarrel
weapon,sp/m1carbine
weapon,sp/fg42_bipod
weapon,sp/doublebarrel_sawed_grip
weapon,sp/gewehr43
weapon,sp/ptrs41_zombie
weapon,sp/shotgun
weapon,sp/stg44
weapon,sp/thompson
weapon,sp/mp40
weapon,sp/mg42_bipod
weapon,sp/bar
weapon,sp/bar_bipod
weapon,sp/bar_bipod_stand
weapon,sp/bar_bipod_crouch
weapon,sp/bar_bipod_prone

weapon,sp/springfield
weapon,sp/m1garand_gl_zombie
weapon,sp/panzerschrek_zombie
weapon,sp/mk2_frag
weapon,sp/m7_launcher_zombie
weapon,sp/walther
weapon,sp/sw_357
weapon,sp/30cal_bipod
weapon,sp/zombie_colt
weapon,sp/stielhandgranate
weapon,sp/ray_gun

weapon,sp/fg42_bipod_crouch
weapon,sp/fg42_bipod_stand
weapon,sp/fg42_bipod_prone
weapon,sp/mg42_bipod_crouch
weapon,sp/mg42_bipod_stand
weapon,sp/mg42_bipod_prone
weapon,sp/ppsh

weapon,sp/mine_bouncing_betty
weapon,sp/zombie_perk_bottle_doubletap
weapon,sp/zombie_perk_bottle_jugg
weapon,sp/zombie_perk_bottle_revive
weapon,sp/zombie_perk_bottle_sleight

weapon,sp/type99_lmg
weapon,sp/type99_lmg_bipod
weapon,sp/type99_lmg_bipod_crouch
weapon,sp/type99_lmg_bipod_stand
weapon,sp/type99_lmg_bipod_prone
weapon,sp/type99_rifle
weapon,sp/dp28
weapon,sp/dp28_bipod
weapon,sp/dp28_bipod_crouch
weapon,sp/dp28_bipod_prone
weapon,sp/dp28_bipod_stand

// MP Weapons
//weapon,sp/mp40_aperture_mp
//weapon,sp/shotgun_grip_mp
//weapon,sp/thompson_bigammo_mp
//weapon,sp/thompson_aperture_mp
//weapon,sp/type100smg_bigammo_mp
//weapon,sp/gewehr43_aperture_mp
//weapon,sp/fg42_scoped
//weapon,sp/ppsh_bigammo_mp


fx,env/electrical/fx_elec_wire_spark_burst_blue
 
weapon,sp/30cal_bipod_crouch
weapon,sp/30cal_bipod_stand
weapon,sp/30cal_bipod_prone



Sound Aliases

Use the sound alias file from the Zombie_1.2_Files. It will be found in the raw/soundaliases/ folder in the unzipped folder.

Localized Strings

In order for the strings to show up in-game, you must have a string (.str) file. Go to raw/english/localizedstrings/ and open zombie.str. Now, copy the contents and paste them into a new file. Save it as MODNAME.str into raw/english/localizedstrings/.

Mod Folder

Before compiling, make a new folder in the mods folder of the CoD:WaW Program Files directory. Name it nazi_zombie_YOURMAP. Inside of that folder, create these folders:

weapons

Next, go into the weapons folder (mods/nazi_zombie_YOURMAP/weapons/) and create another folder and name it:

sp

Inside of that folder, put the following weapon files inside of it (raw/weapons/sp/):

m1garand_gl_zombie
m7_launcher_zombie
panzerschrek_zombie
mine_bouncing_betty
zombie_perk_bottle_doubletap
zombie_perk_bottle_jugg
zombie_perk_bottle_revive
zombie_perk_bottle_sleight

Arena File

After you have setup your mod folder, make a mod.arena file and place it into mods/nazi_zombie_YOURMAP/. The contents of it should be:

{
    map            "mak"
    longname    "MENU_LEVEL_MAK"
    gametype    "cmp arc"
}
{
    map            "nazi_zombie_prototype"
    longname    "MENU_LEVEL_ZOMBIE_PROTOTYPE"
    gametype    "zom"
}
{
    map            "nazi_zombie_asylum"
    longname    "PATCH_LEVEL_ZOMBIE_ASYLUM"
    gametype    "zom"
}
{
    map            "nazi_zombie_YOURMAP"
    longname    "YOURMAP"
    gametype    "zom"
}


Compiling

To compile your map, check the following check boxes:

Compile BSP
Compile Lights
Connect Paths
Compile Reflections
Build Fastfiles

Also, make sure you check the “Mod Specific Map” check box. Select nazi_zombie_YOURMAP from the drop down list and then click Compile Level.

Mod Builder

Once you have compiled your map, go to the Mod Builder. Check the following check boxes:

Build mod.ff Fastfile
Build IWD File

In the text box for “Fastfile mod.csv”, put the following:

localize,mod,,
stringtable,maps/mapsTable.csv
include,zombiemode
rawfile,animtrees/generic_human.atr
rawfile,animtrees/dog.atr


In the IWD File List, check all of the files and folders and then click Build MOD.

Testing

To test your map, run Single Player and launch your mod. Then, in the console type:

/spmap nazi_zombie_YOURMAP

If you did everything correctly, your map should work!

Further Assistance

http://wiki.treyarch.com/wiki/Custom_Nazi_Zombie_Maps_(Verruckt)
http://www.modsonline.com/
http://www.customcod.com/community/index.php
http://cod5zombies.com/news.php

Xfire:
sgtrampage

Email:
dustin_braun@hotmail.com
mercenary_25@yahoo.com

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»