SARGE AI on Oring

Darce

Member
I'm keen to get SARGE AI working fully on the Oring map. I've created SAR_cfg_gridoring.sqf and SAR_cfg_grps_oring.sqf to detail grid size and centers and modified the SAR_AI_init.sqf file to switch on _worldname as below
Code:
    switch (_worldname) do {
        case "chernarus":
        {
            #include "map_config\SAR_cfg_grid_chernarus.sqf"
        };
        case "tavi":
        {
            #include "map_config\SAR_cfg_grid_tavi.sqf"
        };
        case "namalsk":
        {
            #include "map_config\SAR_cfg_grid_namalsk.sqf"
        };
        case "lingor":
        {
            #include "map_config\SAR_cfg_grid_lingor.sqf"
        };
        case "mbg_celle2":
        {
            #include "map_config\SAR_cfg_grid_mbg_celle2.sqf"
        };
        case "takistan":
        {
            #include "map_config\SAR_cfg_grid_takistan.sqf"
        };
        case "fallujah":
        {
            #include "map_config\SAR_cfg_grid_fallujah.sqf"
        };
        case "panthera2":
        {
            #include "map_config\SAR_cfg_grid_panthera.sqf"
        };
        case "oring";
        {
            #include "map_config\SAR_cfg_grid_oring.sqf"
        };
 
    };
(and the same for the grp file)

The server report indicates your script doing it's thing for oring, yet the grid displayed on the map (in debug) is the default one, my files are not loading, is there more I am supposed to change?
 
Not sure if you've got this working yet or not, but if not then it's because you've made the same mistake I did at first.

Where you have
Code:
        case "oring";
        {
            #include "map_config\SAR_cfg_grid_oring.sqf"
        };

It should be
Code:
        case "oring":
        {
            #include "map_config\SAR_cfg_grid_oring.sqf"
        };

The same applies to the SAR_cfg_grps_oring.sqf reference lower down in the file.
 
Since I'm new to this and I just spent the last 24 hours setting up my configs for Oring, I figured I'd share them in this thread for anybody else who's using Oring.

Download Link

Unzip the file and place both config files in your mission.pbo\addons\SARGE\map_config.
You'll then need to open up the SAR_AI_init.sqf
Find:
Code:
        case "panthera2":
        {
            #include "map_config\SAR_cfg_grid_panthera.sqf"
        };
And add after it:
Code:
        case "oring":
        {
            #include "map_config\SAR_cfg_grid_oring.sqf"
        };

Then find:
Code:
    case "panthera2":
    {
        #include "map_config\SAR_cfg_grps_panthera.sqf"
    };
And add after it:
Code:
    case "oring":
    {
        #include "map_config\SAR_cfg_grps_oring.sqf"
    };

You'll probably want to modify the grps file to suit your needs, but at least it's a starting point with plenty of dynamic spawns listed and a few static spawns too.
I have tested it quite a bit before uploading it, but if anybody finds any problems let me know and I'll update the download. :)
 
Back
Top