| Author |
Topic: SP Map Help |
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
|
| DownloadAcc |
General Member Since: Nov 28, 2010 Posts: 70 Last: Apr 1, 2011 [view latest posts] |
|
|
|
Category: CoDWW SP Mapping Posted: Saturday, Feb. 5, 2011 06:25 pm |
 |
1. Right click on 2-D grid, select info-player-spawn.
2. Simple script for basic functions, the map will load, you'll have the weapons, etc. Make sure to set up your zone as well.
Code: #include maps\_utility;
#include common_scripts\utility;
#using_animtree( "generic_human" );
main()
{
//setVolFog(0, 2500, 4000, 0, 0.246, 0.229, 0.247, 0.0);
//setVolFog(0, 2800, 4000, 0, 0.1, 0.1, 0.1, 0.0);
level.dodgeloadout = true;
// Sets up all of the FX in the level
maps\mapname_fx::main();
// _load, sets up all of the basic entity behaviors
maps\_load::main();
// Sets the player's weapon loadout... This line should be right after _load::main(), and no waits/delays before it.
set_loadout();
// Sets up ambient sounds
//maps\mapname_amb::main();
// Sets up "canned" animations
//maps\mapname_anim::main();
}
set_loadout()
{
// Precache's / sets the list of weapons to give to the player when he spawns in
maps\_loadout::add_weapon( "colt");
maps\_loadout::add_weapon( "m1garand" );
maps\_loadout::add_weapon( "fraggrenade" );
maps\_loadout::add_weapon( "m8_white_smoke" );
// Sets the player's offhand throw weapon (aka smoke/flash)
maps\_loadout::set_secondary_offhand( "smoke" );
// Sets the player's default (if he does not have a pistol) laststand pistol.
maps\_loadout::set_laststand_pistol( "colt" );
// Sets the player's viewarms
maps\_loadout::set_player_viewmodel( "viewmodel_usa_marine_arms");
// Sets the player's viewarms when attacked by an enemy in a melee sequence or if a canned animation calls for them
maps\_loadout::set_player_interactive_hands( "viewmodel_usa_marine_player" );
// Switches the player's weapon once he spawns in
maps\_loadout::set_switch_weapon( "m1garand_bayonet" );
// Sets the campaign, which is used for battlechatter and other various scripts
level.campaign = "american";
// Precaches the 3rd person model (for when playing coop)
mptype\player_usa_marine::precache();
}
edited on Feb. 5, 2011 01:26 pm by DownloadAcc |
 |
|
|
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
|
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
Category: CoDWW SP Mapping Posted: Sunday, Feb. 13, 2011 03:16 pm |
 |
Hello, Me again.
Im having some problems with a sp map / mod
the mod is ap_mod and the map ap_test. I am changing the weapons in the mod to some from cod4 the problems i am having are...
1) The reload ads anims for some of the cod4 weapons do not work
2) there is no sound in the map
below is the stuff from the map csv
sound,common,ap_test,all_sp
sound,generic,ap_test,all_sp
sound,voiceovers,ap_test,all_sp
sound,requests,ap_test,all_sp
sound,weapon,ap_test,all_sp
sound,weapons,ap_test,all_sp
this is the mod csv
sound,ap_weapons
there is no weapon sounds from the imported cod4 weapons or the default waw weapons. when compiled the map is set to mod specific.
If anyone has any ideas your help would be much appreciated
Thanks
AP |
|
|
|
| zeroy |
 |
General Member Since: Nov 26, 2007 Posts: 1060 Last: Mar 12, 2014 [view latest posts] |
|
|
|
|
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
|
| zeroy |
 |
General Member Since: Nov 26, 2007 Posts: 1060 Last: Mar 12, 2014 [view latest posts] |
|
|
|
Category: CoDWW SP Mapping Posted: Monday, Feb. 14, 2011 01:30 pm |
 |
AbneyPark writes...Quote:
Im gona add the desert eagle. Ill see if the anims work correctly on that. Ill also try changing the player model to a cod4 one.
Both should work for sure, others have done so already. |
 |
|
|
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
|
| zeroy |
 |
General Member Since: Nov 26, 2007 Posts: 1060 Last: Mar 12, 2014 [view latest posts] |
|
|
|
|
| AbneyPark |
General Member Since: Mar 14, 2008 Posts: 19 Last: Feb 13, 2014 [view latest posts] |
|
|
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|