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

Members Online

»
0 Active | 85 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: _soldiertype
Cover_Fire
General Member
Since: May 27, 2007
Posts: 51
Last: Jul 2, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Friday, Aug. 8, 2008 04:02 pm
Is there a post somewhere listing what type goes with what type?

I tried:

game["american_soldiertype"] = "airborne";
game["american_soldiervariation"] = "winter";
game["german_soldiertype"] = "waffen";
game["german_soldiervariation"] = "winter";


and got a "winter type not precached" error when we tried it on the server.

I think this is from this mismatch error?

Trying to get the green US uniforms with germans in a dark one not the White

Allied Tan turns into a sniper magnet at night time on my map.

Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Friday, Aug. 8, 2008 09:21 pm
Heres a tutorial which shows all the types and what they look like...

http://www.modsonline.com/Tutorials-read-242.html
Share |
Cover_Fire
General Member
Since: May 27, 2007
Posts: 51
Last: Jul 2, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Friday, Aug. 8, 2008 11:29 pm
Both winter types... so that should of worked?

Would a tester who had an old copy of my map in UO trying to join the server make that error then? It crashed the whole map...

You could spec... and look and such... but once we joined to start the round... dump to error screen "winter not precached"

I will get the exact message next time I catch the server almost empty and try it again

edit: thx for the link... I had a list of types but that's much easier than loading the map, killing yourself and inspecting the body :D

edited on Aug. 8, 2008 07:31 pm by Cover_Fire
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Friday, Aug. 8, 2008 11:56 pm
Thats wierd...
The winter type is precached inside the file that handles types...
Or it should be, so I dont know whats causing the error...

Try rewriting the file by hand...
Copy and paste method sometimes gives wierd problems...

Make sure you update your pk3 and always tell your friends to delete the file and redownload it after you make any changes...

Thats all I can think of...
Share |
general99
General Member
Since: Oct 31, 2004
Posts: 323
Last: Dec 18, 2013
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Sunday, Aug. 10, 2008 10:54 am
Is the server running AWE 2.12?

I've recently struck this very problem with two custom maps.

They are :-
wg_Winter_Garrison_Beta.pk3
Zzz_300.pk3

The gsc file for "Winter Garrison" has a spelling error ("airbourne" instead of "airborne") which causes the "normal" American Airborne character to be used instead of the winter version, with a winter variation of german character.

The gsc file for 300 specifies a "winter" american soldier, and a "normal" german soldier.

In both cases, the map will load and play correctly once, then on the next load the "player_body not cached error" will disconnect users from the server. Upon rejoining, one of the teams will be using a different soldiertype from what is expected.

The fault, I think, lies in _awe.gsc, in the team override() function. This routine also seems to affect snow/rain/cold breath etc.

When it encounters one team defined as "winter", it decides the other MUST be also, and substitutes default characters, which have not been precached.
Share |
Cover_Fire
General Member
Since: May 27, 2007
Posts: 51
Last: Jul 2, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Sunday, Aug. 10, 2008 11:54 am
Yes... it's AWE... I noticed it hijacked some stuff with screenshots from UO

the exact error message was:

'playerbody_german_wehrmact_winter'
not cached


I changed them to:

game["american_soldiertype"] = "airborne";
game["american_soldiervariation"] = "normal";
game["german_soldiertype"] = "wehrmacht";
game["german_soldiervariation"] = "normal";

and the map works just fine... well some game play issues and you spawn inside the bases after they are open.... but it PLAYS at least :)

with airborne winter it seems to only want to run the wehrmact_winter and doesn't like waffen

"assuming by results" that is
Share |
general99
General Member
Since: Oct 31, 2004
Posts: 323
Last: Dec 18, 2013
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Sunday, Aug. 10, 2008 01:20 pm
From the _awe.gsc ovverrideteams()

Code:

	if( getcvar("mapname") == getcvar("awe_oldmap") && level.awe_gametype == getcvar("awe_oldgt") )
	{
		game["allies"] = getcvar("awe_allies");
		game[game["allies"] + "_soldiertype"] 	= getcvar("awe_soldiertype");
		game[game["allies"] + "_soldiervariation"]= getcvar("awe_soldiervariation");
		if(game["allies"] == "american" && game[game["allies"] + "_soldiervariation"] == "winter")
		{
			game["german_soldiertype"] = "wehrmacht";
			game["german_soldiervariation"] = "winter";
		}
		return;
	}


This'll be a big part of what is stuffing the show.

Possibly try commenting out the part where the Germans are so summarily changed. _teams.gsc should have ample testing to ensure valid soldiertypes are selected.
Share |
Cover_Fire
General Member
Since: May 27, 2007
Posts: 51
Last: Jul 2, 2009
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Tuesday, Aug. 12, 2008 06:14 pm
wow... trying to mess with the AWE getting beyond me... I still have to look at the forums to figure out vehicles [lol] Trying to make this map work with server that runs Stock CoD UO and work my way up.

So I take it without AWE this combination of winter_soldiertype would work fine. (I don't have a way to test offline.)
Share |
general99
General Member
Since: Oct 31, 2004
Posts: 323
Last: Dec 18, 2013
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Wednesday, Aug. 13, 2008 03:15 am
I think so.

I need to address this awe issue for my own purposes, anyway. Give me a week or two until I find time.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

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

»