Jump to content

SPGG - Simple Persistent Ground Groups Script


Go to solution Solved by Kanelbolle,

Recommended Posts

Posted (edited)
21 hours ago, PaulSummer said:

If I build a FOB will this also Save 

Yes, this is defined by "outpost" in the config section already (If you are talking about FOB's in CTLD) :

-- All Static Objects with type names in this array will be included when saveing. (Not all types objects are able to be saved!)
-- See list of types here: https://github.com/mrSkortch/DCS-miscScripts/tree/master/ObjectDB
spgg.includeStaticObjectTypeTbl = {
"outpost",
"house2arm",
"WindTurbine"

}

 

Edited by Kanelbolle
Posted
11 hours ago, PaulSummer said:

Sorry one more Q i have 2 mission i switch between maybe 1/2 way through should i set the save path different for each mission  ?

Depends if you are aiming to keep the saved Units from the last mission. (If it's the same map).
If you don't want units from the last mission you can just clear the save file with : spgg.clearSavefile()

  • Like 1
  • 7 months later...
Posted (edited)
On 5/18/2024 at 11:39 PM, PaulSummer said:

Is there any way that when I create a new FOB  using CTLD and it saves that fob on a restart it then could populate the Fob with some Choppers ?

SPGG saves FOB's if you set it up to do so. But if you want static choppers you need to script that in to spawn. (If you are thinking of player choppers, then no, DCS does not allow this.)

See the top of the script, you can find this:

spgg.includeStaticObjectTypeTbl = {
"outpost", -- THis is A FOB in CTLD
"house2arm",
"WindTurbine",
"FARP Ammo Dump Coating",
"FARP CP Blindage",
"FARP Fuel Depot",


}

 

Edited by Kanelbolle
Posted

Ive just played a mission and destroyed some units.. then reloaded the mission and its not saved the state...

The save file is being populated though, I can see the modified date changed.

Steppermotor provides a variety of different types of gear reducers including planetary reducers, parallel shaft reducers, and worm reducers.

Posted
2 hours ago, Eugenea said:

Ive just played a mission and destroyed some units.. then reloaded the mission and its not saved the state...

The save file is being populated though, I can see the modified date changed.

Please take a look at the example mission. Most people trying the script don't realize how the script works.

Example if you place units in the editor, they will always be there if you don't set them up correctly to only spawn the first time you load the mission.

 

If you can't make it work, post your.miz file and I'll take a look at it.

  • 3 months later...
Posted

Update v026 :

- Added support for saving CTLD crates. (Change to spgg.saveCtldCrates = true)

You can now fly crates and drop them, save using the spgg.save() command and restart the game/server, load statics and the crates will be there ready to be deployed!

Posted (edited)

Update v027 :
- Changed spawning commands, see Readme SPGG vxxx file or example mission for new commands (Removed 1956 lines of code)
- Fixed tons of errors when using debugging (spgg.showEnvinfo = true)

Edited by Kanelbolle
  • Like 1
Posted
On 9/16/2024 at 1:07 AM, Kanelbolle said:

Update v027 :
- Changed spawning commands, see Readme SPGG vxxx file or example mission for new commands (Removed 1956 lines of code)
- Fixed tons of errors when using debugging (spgg.showEnvinfo = true)

 

Hello, I would like to use it but unfortunately I can't find any installation guide in the readme file. Thanks in advance.

 

My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27"

My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE.

My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.

Posted (edited)
16 minutes ago, Panthir said:

Hello, I would like to use it but unfortunately I can't find any installation guide in the readme file. Thanks in advance.

 

Hi!
The readme is inside the .zip file you can download from the "Releases" section on the right side of the page on Github 🙂

https://github.com/AGluttonForPunishment/SPGG/releases/tag/SPGGv027

Be aware that the lua on the front page is not the latest version. (will update it later). Latest release is always under releases.

Edited by Kanelbolle
Posted
3 hours ago, Kanelbolle said:

Hi!
The readme is inside the .zip file you can download from the "Releases" section on the right side of the page on Github 🙂

https://github.com/AGluttonForPunishment/SPGG/releases/tag/SPGGv027

Be aware that the lua on the front page is not the latest version. (will update it later). Latest release is always under releases.

 

Many Thanks

My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27"

My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE.

My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...