Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]How to reload script changes without restarting?
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#1
[SOLVED]How to reload script changes without restarting?

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?
(This post was last modified: 02-02-2016, 06:21 PM by WALP.)
01-30-2016, 10:08 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#2
RE: How to reload script changes without restarting?

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
01-30-2016, 11:25 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#3
RE: How to reload script changes without restarting?

(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 ?
(This post was last modified: 01-31-2016, 12:07 AM by WALP.)
01-31-2016, 12:06 AM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#4
RE: How to reload script changes without restarting?

It's just what section of the debug menu those options are under.
01-31-2016, 12:08 AM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#5
RE: How to reload script changes without restarting?

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.
(This post was last modified: 02-02-2016, 06:18 PM by WALP.)
02-02-2016, 06:03 PM
Find




Users browsing this thread: 1 Guest(s)