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

Members Online

»
0 Active | 14 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: [Tutorial] Playing as Germans in SP
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Wednesday, Sep. 13, 2006 11:43 pm
Ok to start with you should make a folder in your CoD2 folder (not in main) called whatever you want (mine is called GC1).

Now you need to extract the aitype that you want (allied ones too) out of iw_08.iwd into this folder. You should now have a folder in GC1 called aitype and within it the ai you want to change.
eg.
CoD2/GC1/aitype/axis_afrikakorp_reg_thin.gsc
CoD2/GC1/aitype/ally_brit_africa_reg_thompson.gsc

Now you open these files in wordpad (because notepad displays it wierd):

Code:
main()
{
	self.team = "axis";
	self.accuracy = 0.2;
	self.health = 100;
	self.weapon = "kar98k";
	self.secondaryweapon = "luger";
	self.grenadeWeapon = "Stielhandgranate";
	self.grenadeAmmo = 0;

	character\german_afrikakorp_thin::main();
}

spawner()
{
	self setspawnerteam("axis");
}


then change the self.team and setspawnerteam to "allies".

Code:
main()
{
	self.team = "allies";
	self.accuracy = 0.2;
	self.health = 100;
	self.weapon = "kar98k";
	self.secondaryweapon = "luger";
	self.grenadeWeapon = "Stielhandgranate";
	self.grenadeAmmo = 0;

	character\german_afrikakorp_thin::main();
}

spawner()
{
	self setspawnerteam("allies");
}


and the other way around for all the allied troops. Then download my version of the _names.gsc to the GC1/maps folder because I am too lazy to point out all the little things I changed.
http://www.modsonline.com/Downloads-full-3404.html

I uploaded it here but it doesn't seem to be showing anything. Maybe someone can help me.

Once you get that then you only need to run your map with the parameters +set fs_game GC1 and you should have friendly Axis and enemy Allied soldiers (provided the soldiers in your map are the ones you put in GC1/aitype).

And it doesn't affect the normal game campaign either. Oh yes and please tell me anything I have left out or that isn't clear, this is the first time I have ever tried writing a tutorial for ANYTHING.

edited on Sep. 13, 2006 07:46 pm by ErwinRommel
Share |
Ethnik_Man
General Member
Since: Jul 27, 2005
Posts: 417
Last: Feb 1, 2008
[view latest posts]
Level 5
Category: CoD2 SP Mapping
Posted: Wednesday, Sep. 13, 2006 11:51 pm
wow! thanks dude[thumbs_up]
Share |
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Thursday, Sep. 14, 2006 12:04 am
You're welcome though until my file is accepted I don't think you will have any German names.

Ok instead I uploaded it to an alternate location for the time being:
http://hepcat.comteck.org/_names.gsc

Just put it in the GC1/maps folder.

edited on Sep. 13, 2006 08:04 pm by ErwinRommel
Share |
Narril
General Member
Since: Dec 31, 2006
Posts: 1
Last: Feb 20, 2007
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Tuesday, Feb. 20, 2007 03:55 pm
I do it like you say but germans are still agresive...I make it other way like in CODUO...I simple do in script like you say and then rename it "name1" then I in editor in classname give 1 behind name and it is work...but I must give my own classnames to aitype in iwd_o8
Share |
Hoesjma
General Member
Since: Aug 7, 2007
Posts: 193
Last: Jan 18, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Wednesday, Aug. 8, 2007 07:52 pm
ErwinRommel writes...
Quote:
Ok to start with you should make a folder in your CoD2 folder (not in main) called whatever you want (mine is called GC1).

Now you need to extract the aitype that you want (allied ones too) out of iw_08.iwd into this folder. You should now have a folder in GC1 called aitype and within it the ai you want to change.
eg.
CoD2/GC1/aitype/axis_afrikakorp_reg_thin.gsc
CoD2/GC1/aitype/ally_brit_africa_reg_thompson.gsc

Now you open these files in wordpad (because notepad displays it wierd):

Code:
main()
{
	self.team = "axis";
	self.accuracy = 0.2;
	self.health = 100;
	self.weapon = "kar98k";
	self.secondaryweapon = "luger";
	self.grenadeWeapon = "Stielhandgranate";
	self.grenadeAmmo = 0;

	character\german_afrikakorp_thin::main();
}

spawner()
{
	self setspawnerteam("axis");
}


then change the self.team and setspawnerteam to "allies".

Code:
main()
{
	self.team = "allies";
	self.accuracy = 0.2;
	self.health = 100;
	self.weapon = "kar98k";
	self.secondaryweapon = "luger";
	self.grenadeWeapon = "Stielhandgranate";
	self.grenadeAmmo = 0;

	character\german_afrikakorp_thin::main();
}

spawner()
{
	self setspawnerteam("allies");
}


and the other way around for all the allied troops. Then download my version of the _names.gsc to the GC1/maps folder because I am too lazy to point out all the little things I changed.
http://www.modsonline.com/Downloads-full-3404.html

I uploaded it here but it doesn't seem to be showing anything. Maybe someone can help me.

Once you get that then you only need to run your map with the parameters +set fs_game GC1 and you should have friendly Axis and enemy Allied soldiers (provided the soldiers in your map are the ones you put in GC1/aitype).

And it doesn't affect the normal game campaign either. Oh yes and please tell me anything I have left out or that isn't clear, this is the first time I have ever tried writing a tutorial for ANYTHING.

edited on Sep. 13, 2006 07:46 pm by ErwinRommel


alright what the hell are you talking about i dont get a flick of it
Share |
soulwax
General Member
Since: Nov 14, 2005
Posts: 255
Last: Jul 28, 2008
[view latest posts]
Level 5
Category: CoD2 SP Mapping
Posted: Sunday, Jul. 20, 2008 03:26 pm
it works just fine, but i can't get rid of those allied names (enemies). Now i can see the axis names AND the allied ones, anyway of getting rid of those?
Share |
Zaphax
General Member
Since: Jun 17, 2008
Posts: 251
Last: Dec 29, 2013
[view latest posts]
Level 5
Category: CoD2 SP Mapping
Posted: Friday, Aug. 5, 2011 06:48 am
Everyone who understand cod2 scripts already know this... And you took this post and copied from other site.. don't take credit for something you didn't made or came up with this here is already made long time ago the German front mod and also the WW2 mod that is still in progress

If you would have written your own post of same idea it would have been better unlike now when you copied the whole entire post...[ohwell]
Share |
TexasRebel
General Member
Since: May 1, 2006
Posts: 373
Last: Aug 20, 2013
[view latest posts]
Level 5
Category: CoD2 SP Mapping
Posted: Friday, Aug. 5, 2011 09:19 am
You do realize you are about 5 years too late to call him out. This post was made in 2006, and your posting in 2011.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 SP 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

»