UCMJ
Grunt
Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline
Mood: Opinionated
|
|
AI Names using WAC?
I have tried everyway I can think of and I cant get this to work.
I found something in the mission bin files in the singelplay missions.
[AI_NAMES] ...
if never() then
ssnname(346, AI_Charlie1)
ssnname(345, AI_Charlie2)
ssnname(343, AI_Alpha1)
ssnname(344, AI_Alpha2)
But when I use the DFX MED and make the AI into blue team, they will have autogenerated names, like Snoopy, Smelly etc, etc.
Is there a way we can do this in our own SP or coop missions using the DFX MED?
Thanks in advance!!!
Sig removed oversize by chrislew200
What counts is not necessarily the size of the dog in the fight - it´s the size of the fight in the dog.
|
|
|
7>Snake
Unregistered
Posts: N/A
Registered: N/A
Member Is Offline
|
|
I would suspect that if you found it in a bin file then you would need to make a bin file and insert the section you have displayed, into the bin file
using the names you want displayed.
|
|
|
Eagle_Eye
|
|
I tried using the bin file for this during my testing..couldn't get it to work either..
I'm still testing..
|
|
|
UCMJ
Grunt
Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline
Mood: Opinionated
|
|
| Quote: | Originally posted by Eagle_Eye
I tried using the bin file for this during my testing..couldn't get it to work either..
I'm still testing.. |
Eagle I found this in a WAC File. I to have tried BIN and WAC but still a NO-GO.
Sig removed oversize by chrislew200
What counts is not necessarily the size of the dog in the fight - it´s the size of the fight in the dog.
|
|
|
Legionnaire=M=
Private

Posts: 89
Registered: 5-11-2004
Location: Yokosuka, JAPAN
Member Is Offline
|
|
This is .bin text lines for AI people name.
I havn't tested completely.
AI_ALPHA1 and 2, AI_CHARLIE1 and 2, BLANK_NAME, BLACKWIDOW, these 6 values worked when I tested. (Check my SP map if you have the time.)
I don't know about any more values.
========================
'[AINAMES]'
AI_ALPHA1 = "Alpha 1";
AI_ALPHA2 = "Alpha 2";
AI_CHARLIE1 = "Charlie 1";
AI_CHARLIE2 = "Charlie 2";
BLANK_NAME = " ";
BLACKWIDOW = "Black Widow";
========================
Add texts above to your mission .bin.
You can edit names as you like of course.
And you prepare .wac script.
For exp. ssnname(ssn, BLANK_NAME), ssnname(ssn, AI_ALPHA1), etc, etc.
sorry, poor english.
|
|
|
UCMJ
Grunt
Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline
Mood: Opinionated
|
|
So it does work?
L,
So you say this will work? Do we have to use the same names or can we change them? Also you say check your SP Map does DFB have the MIS so we can
look at it?
Sig removed oversize by chrislew200
What counts is not necessarily the size of the dog in the fight - it´s the size of the fight in the dog.
|
|
|
Legionnaire=M=
Private

Posts: 89
Registered: 5-11-2004
Location: Yokosuka, JAPAN
Member Is Offline
|
|
Not .mis.
Need .bin & .wac to change AI name. Check .bin & .wac, please.
You can change the name as you like.
An example,
You want to change a A.I.[ssn100] name to "Bravo 2".
You edit "AINAMES" in your .bin,
AI_ALPHA1 = "Bravo 2";
Next, you make a .wac file.
if never() then
ssnname(100, AI_ALPHA1)
endif
Ssn100, his name will be "Bravo 2".
And multiple AI can use same name of course.
For example,
if never() then
ssnname(100, AI_ALPHA1)
ssnname(101, AI_ALPHA1)
ssnname(102, AI_ALPHA1)
ssnname(103, AI_ALPHA1)
ssnname(104, AI_ALPHA1)
endif
These 5 AIs, their name will be "Bravo 2".
Editing your .bin and .wac is necessary to change the Blue Team AI name.
Sorry, my poor explaining.
I tested again.
I could change 255 AIs name.
Check this sample and see .bin and .wac, please.
http://www.h4.dion.ne.jp/~legi/mondemanno/DFX_AI_name.zip
|
|
|
Jonathan
Captain
  
Posts: 295
Registered: 5-4-2003
Member Is Offline
|
|
Legionnaire, thanks for the info and mission file. I got my single player mission to work with my new teammate names using your method.
Except I ran into one speed bump. I had SSN 80, 81, and 906 as teammates. For some reason teammate 906 kept showing up as Blank for a name.
Blank as in nothing above his helmet.
The solution for me was to delete 80, 81 and 906. And to insert 3 new teammates that were all in numerical order for SSN. Example: SSN 911, 912
and 913 worked. They all now have my new team names.
I'd be interested to hear back from any others that have tried naming the A/I.
again thx
Jonathan
|
|
|
UCMJ
Grunt
Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline
Mood: Opinionated
|
|
I found this to be the same for me! I think that is what his post is showing that they are in numerical order. Jonathan is your mission(s) done? I
want to play them. :o
Sig removed oversize by chrislew200
What counts is not necessarily the size of the dog in the fight - it´s the size of the fight in the dog.
|
|
|