DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login ]
Go To Bottom

Printable Version  
Author: Subject: AI Names using WAC?
UCMJ
Grunt
*




Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline

Mood: Opinionated

shocked.gif posted on 5-17-2005 at 02:04 AM
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.
View user's profile Visit user's homepage View All Posts By User
7>Snake
Unregistered




Posts: N/A
Registered: N/A
Member Is Offline


[*] posted on 5-17-2005 at 02:05 PM


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
Senior Admin
***********


Avatar


Posts: 8865
Registered: 9-7-2002
Location: Adelaide, South Australia
Member Is Offline

Mood: Grey,not Stupid

[*] posted on 5-17-2005 at 02:24 PM


I tried using the bin file for this during my testing..couldn't get it to work either..

I'm still testing..









View user's profile Visit user's homepage View All Posts By User
UCMJ
Grunt
*




Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline

Mood: Opinionated

[*] posted on 5-23-2005 at 01:04 PM


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.
View user's profile Visit user's homepage View All Posts By User
Legionnaire=M=
Private
**


Avatar


Posts: 89
Registered: 5-11-2004
Location: Yokosuka, JAPAN
Member Is Offline


[*] posted on 6-8-2005 at 07:24 PM


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.
View user's profile View All Posts By User
UCMJ
Grunt
*




Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline

Mood: Opinionated

[*] posted on 6-8-2005 at 09:38 PM
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.
View user's profile Visit user's homepage View All Posts By User
Legionnaire=M=
Private
**


Avatar


Posts: 89
Registered: 5-11-2004
Location: Yokosuka, JAPAN
Member Is Offline


[*] posted on 6-8-2005 at 10:50 PM


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
View user's profile View All Posts By User
Jonathan
Captain
****




Posts: 295
Registered: 5-4-2003
Member Is Offline


[*] posted on 6-9-2005 at 04:18 PM


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
View user's profile View All Posts By User
UCMJ
Grunt
*




Posts: 17
Registered: 5-14-2003
Location: USA - TN
Member Is Offline

Mood: Opinionated

[*] posted on 6-10-2005 at 12:06 AM


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.
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 56.2% - SQL: 43.8%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com