Kanelbolle Posted September 22, 2023 Author Posted September 22, 2023 (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 September 22, 2023 by Kanelbolle WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
PaulSummer Posted September 22, 2023 Posted September 22, 2023 Ahhh prefect many thanks - Love SPGG has made our missions 10000% more interesting being able to save CTLD stuff !
PaulSummer Posted September 23, 2023 Posted September 23, 2023 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 ?
Kanelbolle Posted September 24, 2023 Author Posted September 24, 2023 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() 1 WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
PaulSummer Posted May 18, 2024 Posted May 18, 2024 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 ?
Kanelbolle Posted May 20, 2024 Author Posted May 20, 2024 (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 May 20, 2024 by Kanelbolle WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
PaulSummer Posted May 20, 2024 Posted May 20, 2024 Yep was thinking of Player FARPS / FOBS we can create where we want and spawn there - many thanks for getting back to me
Eugenea Posted May 25, 2024 Posted May 25, 2024 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.
Kanelbolle Posted May 25, 2024 Author Posted May 25, 2024 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. WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Kanelbolle Posted September 15, 2024 Author Posted September 15, 2024 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! WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Kanelbolle Posted September 15, 2024 Author Posted September 15, 2024 (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 September 16, 2024 by Kanelbolle 1 WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Panthir Posted September 18, 2024 Posted September 18, 2024 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.
Kanelbolle Posted September 18, 2024 Author Posted September 18, 2024 (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 September 18, 2024 by Kanelbolle WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Panthir Posted September 18, 2024 Posted September 18, 2024 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.
Solution Kanelbolle Posted March 22 Author Solution Posted March 22 From the release of the "Mission State Save" functionality in "DCS 2.9.14.8222" this script is no longer maintained. WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Recommended Posts