Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Water Level?

Author
Message
Pariah
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 29th Apr 2012 16:22
Hey guys, I have yet another question to ask you.

In-game, in order to add water to my level, I have added a trigger, with the script raisewater.fpi in order to make water appear in the game.

However, using the in-game controls, when I try to adjust the water level, and save it (level 3) during the test play, the next time I try it, the water level has gone back to the default again (level 5).

How do I fix it?
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 29th Apr 2012 21:48
I don't believe the new water level is saved. That is probably obvious since you have already saved and it is still at the same level.

I'm not really sure what you are trying to do here. It kind of sounds as when the player is in level 3 the water rises but when the player gets to level 5, it is the same level as level #3. I'm not sure what you are trying to do or what effect you want. Remember the developer and the actual player are two different things.

"A programmer is just a tool which converts caffeine into code . . . reminds me….. if I had one more brain cell, I could have a synapse! woo hoo, Sparky!

~I'm the Terry of the Flatlands.
Pariah
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 30th Apr 2012 00:37
I basically trying to keep the level of water really low when I am playing the level (only about a few centimeters high).

When I first tested the game, I used the Page Up/Down to lower the water level to around level 3 (up to my 'feet') and I pressed 'enter' to save.

But then when I kept re-testing the levels, the water levels kept on filling all the rooms with water, and never stayed at the level I wanted to save it as.

Do you catch me?
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 30th Apr 2012 13:26
open scriptbank/water and edit the water.fpi (make safety-copy) you will finf "waterheight=x" or something similar. change number and test how it behaves, water is triggered on height of the water-fpi-triggerzone, +/- the number in waterheight. around 85 and set 1 level below where you want water are about kneedeep, as far as i remember.

hope it helps.

Pariah
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location:
Posted: 1st May 2012 00:34
Quote: "open scriptbank/water and edit the water.fpi (make safety-copy) you will finf "waterheight=x" or something similar. change number and test how it behaves, water is triggered on height of the water-fpi-triggerzone, +/- the number in waterheight. around 85 and set 1 level below where you want water are about kneedeep, as far as i remember."


Thanks heaps maho76!

Login to post a reply

Server time is: 2024-11-23 23:37:50
Your offset time is: 2024-11-23 23:37:50