Frictional Games Forum (read-only)
[SOLVED]How to reload script changes without restarting? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html)
+--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html)
+---- Forum: Development (https://www.frictionalgames.com/forum/forum-82.html)
+---- Thread: [SOLVED]How to reload script changes without restarting? (/thread-38359.html)



[SOLVED]How to reload script changes without restarting? - WALP - 01-30-2016

I want to reload the changes I make to my script when I reload the map using f5, or at least without having to restart the game every time I make a tweak.

I have tried the following but the game is still refusing to use the updated .hps file when I reload the map:

Enabling Script Debug
Enabling Reload script at task switch
Enabling reload script constantly
Using the recompile script and lang button


is there anything I am missing?


RE: How to reload script changes without restarting? - Abion47 - 01-30-2016

I've never really had this issue, but here are the options I have enabled:

- Map: Auto reload resources
- Map: Reload script at task switch
- Map: Reload script constantly
- Map: Reload from current pos


RE: How to reload script changes without restarting? - WALP - 01-31-2016

(01-30-2016, 11:25 PM)Abion47 Wrote: I've never really had this issue, but here are the options I have enabled:

- Map: Auto reload resources
- Map: Reload script at task switch
- Map: Reload script constantly
- Map: Reload from current pos

Are the "- Map:" supposed to mean anything? or are these just the options from debug menu / settings cfg ?


RE: How to reload script changes without restarting? - Abion47 - 01-31-2016

It's just what section of the debug menu those options are under.


RE: How to reload script changes without restarting? - WALP - 02-02-2016

really cant seem to figure out what is causing this not to work. Is there any further information I can provide that might help on figuring out whats causing this?

The magical when you ask for help you figure it out on your own effect strikes again.

ForceCacheLoadingAndSkipSaving must be set to false in the User Settings Cfg for script reloading to work.