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
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: Friendly Fire problem
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Wednesday, Mar. 1, 2006 09:29 am
Ok, I am currently working on a German Campaign for Call of Duty UO and it has been going fine, i used the following code to change the germans to your friends and the allies to the enemy:

Code:
	ai = getaiarray("axis");
	for(i = 0; i < ai.size; i++)
	{
		ai[i].team = "neutral";
	}
	ai = getaiarray("allies");
	for(i = 0; i < ai.size; i++)
	{
		ai[i].team = "axis";
	}
	ai = getaiarray("neutral");
	for(i = 0; i < ai.size; i++)
	{
		ai[i].team = "allies";
	}


Now this code works perfectly, the british soldier shot at me and the germans defended me, HOWEVER when I killed a few british soldiers it said "Friendly Fire will not be tolerated".

I want to know if I can disable this or do I have to set all the british soldier models to germans and vice versa.
Share |
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Friday, Mar. 3, 2006 09:42 am
PLEAAAASE can I have an answer, do I script it to change the characters of the ai, or can I do it an easier way by somehow disabling the friendly fire screen?
Share |
Yorkshire-Rifles
General Member
Since: Mar 16, 2005
Posts: 272
Last: Apr 19, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Friday, Mar. 3, 2006 10:29 am
Would it not be easier to edit the AI gsc's? If you open up the pk3s of the game they are in a folder somewhere (I think it's called characters). Anyhow, they give all the different types of AI. If you swap the models of allied and german and change the language that they all speak, this might help.

Then put it in a folder of the same name and save as a pk3.

It might not work but have a go.


Also, you could email the GFM guys and ask them for help.
Share |
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Saturday, Mar. 4, 2006 06:11 am
Ok, thanks I will try that
Share |
Yorkshire-Rifles
General Member
Since: Mar 16, 2005
Posts: 272
Last: Apr 19, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Saturday, Mar. 4, 2006 03:03 pm
Actually it's in a folder called AItype, in pakuo00.pk3. Have a look through the original COD pk3s too.
Share |
fourninety
General Member
Since: Jan 7, 2006
Posts: 32
Last: Sep 15, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Sunday, Mar. 5, 2006 07:46 am
IT WORKS!

Thanks soooo much for your help, I would never have figured it out on my own. [biggrin]
Share |
Bodger2
General Member
Since: Sep 4, 2004
Posts: 132
Last: Aug 5, 2006
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Sunday, Mar. 5, 2006 01:30 pm
Ya that works,but the problem is that it changes things on other maps.And when you go to play another map your friendlies are now shooting at you,and you don't know why.Personaly I think doing it that way is a bad idea.Unless the person removes the pk3 after playing it.
Share |
Yorkshire-Rifles
General Member
Since: Mar 16, 2005
Posts: 272
Last: Apr 19, 2008
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Monday, Mar. 6, 2006 04:11 pm
Ah yes, it'll effect all other SP missions, didn't think about that.

However, he could simply make new AItypes. Instead of axis_wehremacht_soldier_kar98 save the modified ai's gsc as custom_ally_wehremacht_soldier_kar98. (that's not how you spell wehrmacht is it?). And do this with all actor types that the map uses.

That way they'd only show up in his copy of radiant, and then only work in his pk3 file of the mission - as long as you remember to include the new AItype folder in the pk3, or it'll just give an error obviously.

That's a way round it that should work and not cause problems with other maps/mods.

I've no idea how the GFM did it.
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

»