how in the editor add a objective ?

Moderator: AlvaroSousa

Post Reply
thierry2015
Posts: 27
Joined: Fri Jul 28, 2017 8:49 pm

how in the editor add a objective ?

Post by thierry2015 »

hello i would like to put kharkov (4th city of the USSR as a objective)

there have been 4 hard battle for this city [X(]

but how in the editor add a objective ?

thank you VERY MUCH [:)]
Attachments
Kharkov.gif
Kharkov.gif (113.37 KiB) Viewed 586 times
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: how in the editor add a objective ?

Post by PanzerMike »

Do you mean a victory objective, or an objective to direct the AI?
User avatar
AlvaroSousa
Posts: 12124
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: how in the editor add a objective ?

Post by AlvaroSousa »

A.I. Strat -> Set Both Obj -> Left click location.

to delete hover over the objective and hit delete. It says so in the text under this menu item
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
thierry2015
Posts: 27
Joined: Fri Jul 28, 2017 8:49 pm

RE: how in the editor add a objective ?

Post by thierry2015 »

victory objective

currently we have for the USSR:
Moscow
leningrad
stalingrad
minsk
kiev

in the editor I see flags everywhere (on all cities !!! ) when i clicking on"A.I. Start and on Set Both Obj)
so I don't understand where we can add a city like victory objective !

Help [:(]
Attachments
Kharkov 1.gif
Kharkov 1.gif (196.25 KiB) Viewed 587 times
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: how in the editor add a objective ?

Post by PanzerMike »

That's why I asked. You mean the victory hexes, not the AI objectives.

Not behind my PC right now, but I thought there is a textfile in the userdata folder that lists the victory objectives.
thierry2015
Posts: 27
Joined: Fri Jul 28, 2017 8:49 pm

RE: how in the editor add a objective ?

Post by thierry2015 »

thank you [:)]
I found the victory file [:D]
with the location of the 56 cities (56 victory objectives) but I added 200,54 (Kharkov) but it doesn't work [:(]

see Attachment

do you have to do a manipulation in the editor? [8|]
Attachments
victory location.gif
victory location.gif (12.92 KiB) Viewed 586 times
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: how in the editor add a objective ?

Post by PanzerMike »

There probably is a load option in the data tab of the Editor that will import the txt files. All txt files that change the game can be loaded there. You just have to figure out which load button does the trick.

After that, save the scenario.
thierry2015
Posts: 27
Joined: Fri Jul 28, 2017 8:49 pm

RE: how in the editor add a objective ?

Post by thierry2015 »

YESSSSSSSSSSSSSSSS [:)]

It is right, thanks a lot [&o]

in fact : it is Load All Script (then Victory hexes loaded)

but by loading the scripts I had the message

-eventErrors.txt, -aiSCRIPTErrors.txt

is this normal?
Attachments
LOAD ALL SCRIPTS.gif
LOAD ALL SCRIPTS.gif (115.52 KiB) Viewed 585 times
User avatar
AlvaroSousa
Posts: 12124
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: how in the editor add a objective ?

Post by AlvaroSousa »

Oh victory objectives. Yes that is the file loads.

If you have no red text in that popup you generally don't have an issue.

BUT the script importer currently isn't very intelligent so if you leave out a piece of scripting code you might find that the scenario locks up.

For example I had one recently where I forgot to put the 2nd xyArea= for an invasion. It wasn't checked and it passed inspection which caused a scenario to crash. I realized the error.

I slowly fix up the editor over time and eventually will add a catch all for this kind of mistake.
Always triple check all your scripts.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
thierry2015
Posts: 27
Joined: Fri Jul 28, 2017 8:49 pm

RE: how in the editor add a objective ?

Post by thierry2015 »

OK

Thanks a lot [:)]
Post Reply

Return to “MODS and Scenarios”