Jump to content
Sign in to follow this  
BLSmith2112

"General" AI Unit? Man in suit AI Unit?

Recommended Posts

I downloaded an editor add-on pack and still cannot find the OFPOR or RAX "General"... or the Man in the Tuxedo NPC. Where can I find these?

I appreciate it bunches! biggrin_o.gif

Share this post


Link to post
Share on other sites

You don't need an addon for that at all.

Just place a civilian unit on the map, save it and open the mission.sqm in a text editor.

Search for the unit which shall be the General for example and replace the

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">vehicle="Civilian";

with

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">vehicle="NorthPrimeMinister";

save the file and load the mission in the ArmA editor again.

Unit classnames which are available but not visible in the editor:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">King

FieldReporter

Anchorman

NorthPrimeMinister

MarianQuandt

MarianQuandt02

MarianQuandt03

MarianQuandt04

Share this post


Link to post
Share on other sites

Why did they not incorporate this into the games editor? Rather than hide them? wink_o.gif

Thanks man

Share this post


Link to post
Share on other sites

The complete list (with pictures and their editor and class names) is available here.

100px-Northprimeminister.jpg

Share this post


Link to post
Share on other sites

Long story short I tried everything.

1. I opened ArmA's Editor.

2. Loaded an empty mission.

3. Put 2 People.

---A. Civilian (Civilian)

---B. West Soldier (SoldierWB)

---C. Named Civilian "A111111111111" for easier find in mission.sqm.

4. Saved the Mission as "NewUnits"

5. Went into "New Units Folder"

6. Opened Mission.sqm in editor.

7. Replaced the civilian name with "NorthPrimeMinister" (forgive the spacing on the brackets)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Groups

{

items=2;

class Item0

{

side="CIV";

class Vehicles

{

items=1;

class Item0

{

position[]={13880.434570,29.821951,9678.390625};

azimut=186.570999;

id=37;

side="CIV";

vehicle="NorthPrimeMinister";

leader=1;

skill=0.600000;

text="A111111111111";

};

};

};

8. Saved the Mission.sqm.

9. Alt-tabbed back into ArmA

10. Saved the mission again just in case...

11. Previewed the mission

12. The AI Still looked like Civilian

13. I went back into mission.sqm

14. The "Civilian" name was there instead of "NorthPrimeMinister"..

15. It resaved it with Civilian's class name!

What can I do? Thanks so far!

Share this post


Link to post
Share on other sites

DON'T save the mission in the editor after you have edited mission.sqm! It saves that file with the data you have in the editor at the moment. Load it instead and the unit is there. Be warned that if you edit the unit again in the editor, it will change back to another unit.

Share this post


Link to post
Share on other sites
10. Saved the mission again just in case...

You shouldn't do this.

The mission was cached with previous data (civilian, instead of prime minister) and after saving it reverted the change.

EDIT: Too late whistle.gif .

Share this post


Link to post
Share on other sites

I'll check "10." out in a bit. Trying to work on this scene for this movie I'm making. (Trying to appeal less boring in my films wink_o.gif)

Share this post


Link to post
Share on other sites

Edit:

Fixed it. Forgot to:

Save Mission.

Edit the Mission.sqf

Save the Mission.sqf

Then RELOAD the mission

Ah biggrin_o.gif Thanks millions yall!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×