Thread: bot name
View Single Post
  #5  
Old 05-22-2017, 06:18 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

The names can be referenced either in the editor or the wac

PeopleNames must match AINAMES

Note: (you can use colours)
In the editor you select the bot and assign the PeopleName string number

Right click the bot and look for a textbox with NAME next to it on the upper right hand side of the applet.

Place the string number there.

IE:

To assign the name stompem to ssn 10 the number used is 14

NOTE: When using the WAC you assign the bot ssn number to the AINAME (see below).

Code:
'[PeopleNames]'
STRNAME000 = "null";
STRNAME001 = "ALPHA 1";
STRNAME002 = "ALPHA 2";
STRNAME003 = "CHARLIE 1";
STRNAME004 = "CHARLIE 2";
STRNAME005 = "DELTA 1";
STRNAME006 = "<C0C0C0>Bravo";
STRNAME007 = "Jimmy";
STRNAME008 = "<cff>Operative";
STRNAME009 = "Harry";
STRNAME010 = "Pickles";
STRNAME011 = "Duke61";
STRNAME012 = "BlUnt";
STRNAME013 = "Marmite";
STRNAME014 = "Stompem";

'[AINAMES]'
AI_ALPHA1 = "Alpha 1";
AI_CHARLIE1 = "Charlie 1";
AI_ALPHA2 = "Alpha 2";
AI_CHARLIE2 = "Charlie 2";
AI_DELTA1 = "DELTA 1";
AI_Bravo = "Bravo";
AI_JIMMY = "Jimmy";
AI_OPERATIVE = "Operative";
AI_HARRY = "Harry";
AI_PICKLES = "Pickles";
AI_DUKE61 = "Duke61";
AI_BLUNT = "BlUnt";
AI_MARMITE = "Marmite";
AI_STOMPEM = "Stompem";
To implement it in the WAC

The numbers are the SSN numbers of the AI Bots you wish to put the name to.

Code:
//...AI Names
if never() then
ssnname(4,AI_OPERATIVE)
ssnname(5,AI_HARRY)
ssnname(6,AI_PICKLES)
ssnname(7,AI_DUKE61)
ssnname(8,AI_BLUNT)
ssnname(9,AI_MARMITE)
ssnname(10,AI_STOMPEM)
endif
If it fails when mapping in JOCAG with the WAC, you may have to leave out the parentheses and use spaces instead.

Code:
if never then
ssnname 10,AI_STOMPEM
endif

Have a great day

Last edited by Guest001; 05-23-2017 at 05:49 PM.
Reply With Quote