Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
[Squad] Modding 2.0, Update #2
#1
Modding 2.0, Update #2


Hey Squaddies!


 


It’s time for another update on Modding 2.0! (You can find the last one here if you missed it.) If all goes well, the next update will be installed via Steam. Seeing as a lot of development has happened since our last post, let’s hear from Zak Strange, modding developer extraordinaire.



ENGINE UPGRADE



As you guys heard in the Next Phase article, Squad has been undergoing a massive engine upgrade upgrading 5 versions (Almost 2 years of engine revisions! Hello UE 4.21!). This effects modding massively, as a few major engines changes occurred requiring the changes to the way we download files from Steam.


 


PAK files, the basic format for modding files, had to be completely rewritten for the mod cooking process. Mods from engine version 4.16 were completely broken by the update and can not be used in 4.21. Because of that, we had to prepare an additional fix that stops old mods from being loaded anymore.


 


All of these issues, including some we’re not quite ready to reveal yet, turned this into a much larger project than we anticipated — there has been a TON of required tweaking and modifying a to the Modding 2.0 code to make it compliant with the updated engine.



COOKING MODS (AGAIN)



Cooking is the process of taking your modification content in Editor and turning it into a format that we can load in the version of the game that you load on Steam. With 4.21 (and just because it needed to be) the cooking process for mods was completely redone. With the rewrite came a few things:


 


PAK files are all now HASH’d so you can’t join a server with a different version of the mod than the server is running. Because of the way mods are distributed, there can be issues Steam pushing patches, and running a different version of the mod than the server is running can easily cause crashes.


 


Not only that, but PAK files are also now all compressed! We turned this on for one version of the SDK, and it seemed to work well with no issues. (Besides the cooking process taking longer.) Testing shows that most mods are 40-60% smaller with compression implemented.


 


Another change is that mods don’t require versions depending on the platform configuration anymore. In layman’s terms, Windows and WindowsServer are the now the same thing from the mod’s perspective, so you will only have one set of PAK files instead of two. Unless…


 


Mods can now be cooked for Linux as well. Although there is some additional configuration required, this is very easy for modders to set up on their development PCs. Pre-Cook, we check if the Cross-Compile toolchain is installed and if it is we can cook for Linux as well.



THREADING



Sometime in the middle of Modding 2.0 development, I realized that it would make much more sense if all of the modding operations happened alongside the game on another thread. So, I went about doing just that. With the threading came the (much needed) rewrite of the uploader and the downloader.


 


The Steam Uploader is way better now; no longer will you get an “Unknown error has occurred.” We have a new uploading process where we are able to get back much better debug info than before. The whole Editor also does not “hang” when you are uploading to the Steam Workshop anymore!


 


Additionally, the Downloader can now be invoked at any time during the game process with minimal impact on performance — all downloading work is done on this thread which then sends a notification back to the main thread once the mod is ready to use. The main thread will then do one small operation to refresh the map list for one frame.


 


All of this threading work was done to make Modding 2.0 integrate seamlessly into Squad with minimal impact on the player experience.



QUALITY OF LIFE



We’ve been listening to your feedback and we know that there are a few things you want exposed to make your modding lives easier. With the release of the Alpha 13 SDK, we have some things coming for you.


 


  • SteamID exposure
  • BanPlayer and KickPlayer function exposed
  • Setup the SQProjectileSpawner with an automated weapon blueprint, interfaces, customizable collision volumes, and various settings to allow mortar fire, arcing pre-set animated turrets, seek and destroy turrets, ammo control and line of sight control.
  • Exposed Healing function and Health
  • SQCameraManager Boolean variable added for ignoring the map start camera
  • Added IsReloading to WeaponAnimInstance for possible use in modding
  • Added bIsWeaponFiring to weapon anim instance for possible use in modding

 


Special thanks to Renn and KaB for implementing these changes. They’ve been a huge help in getting Modding 2.0 built!



SIGNOFF



Thanks, Zak! Still looking for more information on Modding 2.0? Don’t forget to check out the Modding 2.0 Q&A we did a few months back. Until next time, we’ll see you on the custom server list.



http://forums.joinsquad.com/topic/35962-...-update-2/
Zitieren




Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
[-]
Übersicht
You have to register before you can post on our site.

Benutzername/E-Mail:


Passwort:





[-]
Events
Offiziersmesse
16.10.2019 - 20:00
Meeting für Offiziere
Teilnehmer: 9
Sprengstoff! Grundlagen
16.10.2019 - 20:00
Alles was knallt...
Teilnehmer: 2
Squad Europe Clan Night
17.10.2019 - 19:00
Der FC-Ziegenbock zeigt international Flagge! D..
Teilnehmer: 2
CCFN 20.10.2109
20.10.2019 - 19:30
Die CCFN ist ein Kompetitives Event, aber keine Li..
Teilnehmer: 2
Training für Rekruten - Medic
21.10.2019 - 20:00
Combat Medic vs Medic Nutzung von Rauch Buddy Sy..
Teilnehmer: 2
weitere Events ..

[-]
Letzte Themen
John McAfee
Last Post: John McAfee
14.10.2019 18:35
SCUM: Community Showcase sowie Fragen und Antworte...
Last Post: Scum Agent
14.10.2019 16:41
I need you! - Squad Fantrailer Production
Last Post: TAR4C
14.10.2019 15:41
Bewerbung
Last Post: Ridoc
12.10.2019 19:27
SCUM: Fehlende Türen und leblose Gebäude. Was ist ...
Last Post: Scum Agent
12.10.2019 14:14
Mango Alarm
Last Post: daeks
12.10.2019 00:24
SCUM: Patch Notes zum Patch 0.2.58.17501
Last Post: Scum Agent
11.10.2019 18:30
[Post Scriptum] 4.21 Mini Devblog 3 "Roadmap"
Last Post: Post Scriptum Agent
10.10.2019 14:50

[-]
Für Zahlenfreunde
» Members: 227
» Latest member: Fat_Unicorn
» Forum threads: 1.677
» Forum posts: 13.889

Full Statistics

[-]
Who's Online
There are currently 7 online users. [Complete List]
» 1 Member(s) | 6 Guest(s)
Avatar


About Full Contact

Focus MyBB Theme is designed for MyBB 1.8 series and is tested properly till the most current version of MyBB i.e. 1.8.19. It is simple, clean and light MyBB theme with use of font-awesome icons and shrinking header.

For any more information, please use our contact form.

              Quick Links

              User Links