Is is possible to allow resetting a finished level in a mod?
If not, can a savegame be changed to do it ?
Thanks.
Resetting levels
Moderators: jelco, bert_the_turtle
Once you finish a level, you cannot reset it. You can kind of reset a level by deleting its file from your user folder, but this isn't guarenteed to work, as there are still lines in game.txt that will show the objectives having been completed. If you could explain why you want to reset a finished level, I might be able to help you a bit more.
xander
xander
amandioc2 wrote:Thank you for you kind help.
I often want to replay a certain level.
Well, you can always use the AccessAllAreas profile to get to any level, and replay it (assuming that the modder built a proper game_unlockall.txt).
amandioc2 wrote:Other question: Is it possible to add ogg music files and change a mod to play them during a level?
Yup. The easiest way is to simply replace any one of the music files with another file of the same name (in the sounds/ directory of your mod), and call that cue from a script (look at some of the scripts that IV created to see how that works). I believe that you can also add sounds/music with arbitrary file names, but I am not quite sure how that works.
xander
- trickfred
- level5

- Posts: 1691
- Joined: Sat Jul 24, 2004 5:01 am
- Location: The Great White North, Eh?
- Contact:
xander wrote:amandioc2 wrote:Other question: Is it possible to add ogg music files and change a mod to play them during a level?
Yup. The easiest way is to simply replace any one of the music files with another file of the same name (in the sounds/ directory of your mod), and call that cue from a script (look at some of the scripts that IV created to see how that works). I believe that you can also add sounds/music with arbitrary file names, but I am not quite sure how that works.
xander
That works by modifying sounds.txt, which is simple enough in structure to figure out just by reading it. But since the game doesn't read a new sounds.txt from the mod directory, I haven't bothered actually implementing any changes in a mod thus far - I just do the 'replace with an ogg of the same name' game.
-
nihilesthetics2
- level2

- Posts: 101
- Joined: Mon Dec 12, 2005 11:18 pm
Its a damn shame. They obviously put a lot of effort into the sound modding capabilities with all the parameters and effects you can twiddle with. Then they omit the ability to include your own file in the mods folder, so nobody uses it. They know what we want. They should quit stalling and hand it over
N2
N2
-
nihilesthetics2
- level2

- Posts: 101
- Joined: Mon Dec 12, 2005 11:18 pm
- trickfred
- level5

- Posts: 1691
- Joined: Sat Jul 24, 2004 5:01 am
- Location: The Great White North, Eh?
- Contact:
xander wrote:amandioc2 wrote:I still can't figure how the profile AccessAllAreas can allow me to replay a level in a mod. I tried it with mods that had a game_unlockall.txt included, but always got the main game world map.
You need to be using the AAA profile, and have the mod loaded.
xander
Just to clarify, you need to load the mod first, then the AAA profile. When you load a mod, the profile always switches back to 'none'.
Who is online
Users browsing this forum: No registered users and 3 guests


