Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Packages and patches  (Read 3397 times)

0 Members and 1 Guest are viewing this topic.

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Packages and patches
« on: November 07, 2011, 05:40:10 PM »

Hellooooo,

I understand that the engine scans the packages at startup and uses the highest priority package, but I read a post that said if the same "filename" is present in both packages, the engine will use the file from the highest priority package - makes sense.

My question though is: I have a lot of scripts in my game with the same file name - they're just in a different path structure - it's a 1st person game so I use for example "to_node_001_left" for the file name of the script that allows you to turn to the left - and I use this filename in every scene that has a turn left option. So, is this going to be a problem if I wish to issue patches at some point? Or will it be fine as long I maintain the same file structure within the new higher priority package?

Thanks.  :)
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Packages and patches
« Reply #1 on: November 07, 2011, 06:03:17 PM »

Maintaining the same folder & file structure will work fine.
Logged
fl*p

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Re: Packages and patches
« Reply #2 on: November 07, 2011, 07:15:33 PM »

Cool - thanks.  :)
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Packages and patches
« Reply #3 on: November 10, 2011, 04:56:29 PM »

Be aware that in most cases Savegames are incompatible with old versions of your game. (e.g. if you update / change scirpts that were already loaded when the game was saved, because running scripts are saved inside the savegame ).
Logged
 

Page created in 0.083 seconds with 24 queries.