Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Girl next door on 2016-08-05 17:04:01

Title: [FF8] Replace a draw point by a save point
Post by: Girl next door on 2016-08-05 17:04:01
Hi all ! Do you think it's possible to replace a draw point by a save point ? And how could I do that ? And maybe... Perahps it's possible to create a save point anywhere on a field ?
Title: Re: [FF8] Replace a draw point by a save point
Post by: Shard on 2016-08-05 17:25:31
You can put a save point basically anywhere. A save point is nothing more than a pair of scripts. The only limitation is that if the field doesn't have the save point model, you won't be able to use the save point model.
Title: Re: [FF8] Replace a draw point by a save point
Post by: JWP on 2016-08-05 18:11:39
It's possible to put a save point anywhere on any field, just use Deling (http://forums.qhimm.com/index.php?topic=13050.0) to edit the field scripts and add a save point.
Title: Re: [FF8] Replace a draw point by a save point
Post by: Girl next door on 2016-08-05 19:25:50
Ok so for example, I can't put a save point in the fire cavern because there isn't a save model in these fields, right ?
Title: Re: [FF8] Replace a draw point by a save point
Post by: Shard on 2016-08-05 21:14:49
Ok so for example, I can't put a save point in the fire cavern because there isn't a save model in these fields, right ?
you can put one there, you'll just have to use a different model for it, or leave it invisible
Title: Re: [FF8] Replace a draw point by a save point
Post by: Girl next door on 2016-08-13 11:07:12
Thanks but i want to import the save point model in the field just before ifrit and i want it to be visible. It seems that i can't do it with deling. :-(
Title: Re: [FF8] Replace a draw point by a save point
Post by: Girl next door on 2016-09-06 17:47:45
Hi! Finally decided to use your solution, that's a simple way and it works fine. But now I have an issue with this: when I save on a field without save point and reload the save, the music on the field doesn't start. I have sounds but no music. Is there a special code on fields with save points to start the music ?
Title: Re: [FF8] Replace a draw point by a save point
Post by: Shard on 2016-09-06 18:19:53
Some areas don't play music. The music on those areas continues from what was playing on the previous screen. Check out the opcode list on the wiki (http://wiki.qhimm.com/view/FF8/Field/Script/Opcodes), and also use Deling to see how other areas load/play music (it will be in the init scripts, usually on the "director" event)

Oh, and the field right before Ifrit causes music to stop playing (it's intentional). That might be part of your problem.
Title: Re: [FF8] Replace a draw point by a save point
Post by: Girl next door on 2016-09-07 03:43:34
Thanks for the link. Yes I know for the field before Ifrit. That's not for this one but a field in the Timber forest with Laguna.

Edit: OK, I have this in the main script:

Code: [Select]
LBL         32
PSHN_L      110
SETPLACE
FADEIN
PSHN_L      2
PSHN_L      30
PSHN_L      128
SEPOSTRANS
PSHN_L      2
PSHN_L      30
PSHN_L      127
SEVOLTRANS
RET         8

I have searched for a simple field with a save point and found the field in the salt lake. Here's the script in the main:

Code: [Select]
LBL         28
PSHN_L      157
SETPLACE
PSHN_L      128
PSHN_L      128
PSHN_L      128
POLYCOLORALL
PSHN_L      82
MUSICLOAD
MUSICCHANGE
FADEIN
RET         8

I've tried to put this code instead of the one I want to modify. I can compile it but Deling doesn't want to save it. (of course I've changed the LBL, the place and the music ID)