HELP, i_head error :(

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Reality
CJ Newbie
CJ Newbie
Posts: 51
Joined: May 3rd, 2011, 9:57 pm

HELP, i_head error :(

Post by Reality » May 29th, 2011, 10:32 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: HELP, i_head error :(

Post by Drofder2004 » May 29th, 2011, 11:40 pm

Potentially something to do with your Zone file?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: HELP, i_head error :(

Post by Pedsdude » May 30th, 2011, 12:38 am

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.
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests