Posts: 11,006
Thanks: 422952 in 1121 Posts
Hey there! Here's the deal on hotloading: By default modders will need to restart the game to see their script changes update in game, BUT hot loading is a feature that is supported by the engine so it is possible you may be able to get it working. Off the top of my head I actually do not know how difficult it would be for you guys to add hotloading back in. I am open to having this added as a shipping feature if you guys need it - it will need some work, but it's not impossible. Looking for feedback from you guys on how important this is for you. A bit more detail: For us, most workflows work fine with hotloading - but when reloading happens it does not recreate already instantiated python objects, it just updates the code. So if the existing object somehow become incompatible with the new code, you will experience a lot of exceptions . As I say, in practice this is fine most of the time for the types of things we iterate on, but for certain changes it will not. Also, hotloading only works on loose python files (not zips) - as @TheHologram noted above. Loose .py files are supported out of the "Mods" folder. |
|
This site is not endorsed by or affiliated with Electronic Arts, or its licensors. Trademarks are the property of their respective owners. Game content and materials copyright Electronic Arts Inc. and its licensors. All Rights Reserved.
Site version: v3.5.0. ModTheSims, ModTheSims2 and MTS2 © 2004-2023.