Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Moved scenes, paths can't be changed.  (Read 2312 times)

0 Members and 1 Guest are viewing this topic.

DocBass

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 136
    • View Profile
Moved scenes, paths can't be changed.
« on: September 08, 2006, 07:32:10 AM »

I have reorganized my scenes a bit and have been going through fixing the paths in the scripts and in the scene editor, yet one scene isn't behaving. It isn't recognizing the base "scenes\" path that everything else is under, causing everything to not work in that scene. I can try and create new scripts or attach new ones and it always leaves out that crucial first path. It is the only scene doing this. How can I fix this? There doesn't seem to be a way to manually edit some of these things.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Moved scenes, paths can't be changed.
« Reply #1 on: September 08, 2006, 07:40:32 AM »

If you edit the .scene file in some text editor, you'll see something like:

Code: [Select]
; $EDITOR_PROJECT_ROOT_DIR$ ..\..\..\

This is the relative path from the scene file to the project root, i.e. the directory where the project file (.wpr) is located. In the example above it says the project root is three directory levels higher than the scene. You probably moved your scene to a different directory tree depth, so you'll have to fix this line as well.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

DocBass

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 136
    • View Profile
Re: Moved scenes, paths can't be changed.
« Reply #2 on: September 08, 2006, 07:55:06 AM »

Perfect, thanks!
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Moved scenes, paths can't be changed.
« Reply #3 on: September 08, 2006, 08:04:38 AM »

Alternatively, if you remove the line, SceneEdit should ask you where the project file is located next time you open the scene.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.023 seconds with 21 queries.