Page 1 of 1

HELP, i_head error :(

Posted: May 29th, 2011, 10:32 pm
by Reality
Okay so when anyone loads my map on their server only 1 player can spawn, if someone else trys to spawn it will kick them and come up with an error message "AimTarget_GetTagPos:Cannot find tag[j_head] on entity" how can i fix this?

here the .gsc file contents for the map:

Code: Select all

main()
{

	maps\mp\_load::main();
	maps\mp\_compass::setupMiniMap("compass_map_mp_office");
	
	//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);
	//VisionSetNamed( "mp_office" );
	ambientPlay("ambient_map_ext");
	
	game["allies"] = "marines";
	game["axis"] = "opfor";
	game["attackers"] = "axis";
	game["defenders"] = "allies";
	game["allies_soldiertype"] = "desert";
	game["axis_soldiertype"] = "desert";
	
	setdvar( "r_specularcolorscale", "1" );
	
	setdvar( "r_glowbloomintensity0", ".25" );
	setdvar( "r_glowbloomintensity1", ".25" );
	setdvar( "r_glowskybleedintensity0", ".3" );
	setdvar( "compassmaxrange", "1800" );
}
edited on May. 29, 2011 05:30 pm by ROTENT

Re: HELP, i_head error :(

Posted: May 29th, 2011, 11:40 pm
by Drofder2004
Potentially something to do with your Zone file?

Re: HELP, i_head error :(

Posted: May 30th, 2011, 12:38 am
by Pedsdude
Yep, I believe you need to update your zone file and add the 'missing' lines.

Try these lines:

Code: Select all

ignore,code_post_gfx_mp
ignore,common_mp
ignore,localized_code_post_gfx_mp
ignore,localized_common_mp
col_map_mp,maps/mp/mp_mapname.d3dbsp
rawfile,maps/mp/mp_mapname.gsc
impactfx,mp_mapname
xmodel,body_mp_usmc_specops
xmodel,head_mp_usmc_tactical_mich_stripes_nomex
xmodel,body_mp_usmc_sniper
xmodel,head_mp_usmc_tactical_baseball_cap
xmodel,body_mp_usmc_recon
xmodel,head_mp_usmc_nomex
xmodel,body_mp_usmc_assault
xmodel,head_mp_usmc_tactical_mich
xmodel,body_mp_usmc_support
xmodel,head_mp_usmc_shaved_head
xmodel,body_mp_arab_regular_cqb
xmodel,head_mp_arab_regular_headwrap
xmodel,viewhands_desert_opfor
xmodel,body_mp_arab_regular_sniper
xmodel,head_mp_arab_regular_sadiq
xmodel,body_mp_arab_regular_engineer
xmodel,head_mp_arab_regular_ski_mask
xmodel,body_mp_arab_regular_assault
xmodel,head_mp_arab_regular_suren
xmodel,body_mp_arab_regular_support
xmodel,head_mp_arab_regular_asad
But obviously change mp_mapname to your map's name.