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 / Die to win

Author
Message
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 18th Jul 2014 17:06 Edited at: 18th Jul 2014 17:08
My die to win script works fine in test game but not in the built game.


I made the player have 4 lives and it still goes to the game over screen after dying. Is there another way to do this?
Oh I also have an inaccesible winzone in the level.

Don't waste your life
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 19th Jul 2014 04:01
Hi A dude
I had something similar happen awhile back. Double check your build folders and make sure your "languagebank\english\gamecore\backdrops\basic" folder got carried over during the build. It has all the "hud's" for game over,game completed, you won...ect.
Then check your "gamebank" folder where the "gamewon.fpi" and see where it points to. Mine pointed to "gamecompleted" till I changed it. I believe it should point to "youwon.dds"? Not sure, but check
the folder.
best

You know you're a bad gamer when you're able to run out of infinite lives.
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 19th Jul 2014 12:30
I would set the plrhealthless="Value" a little bit higher! For example plrhealthless=5. This should fix it.

Corno_1

Games make the world better
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 19th Jul 2014 15:07
Thanks for relying. When I said "die to win" I meant winning the level and moving on to the next one. Not winning the game. Also, would it really make any difference to change it to plrhealthless=5 when the player's health goes from 100 to 0?

Don't waste your life
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 19th Jul 2014 18:56
Quote: " I meant winning the level and moving on to the next one. Not winning the game."

I know. Does the game this for you?

Explanation:
I think if you set the plrhealthless=value to 5 there could be a chance that the engine start the next level, before you die.
If this not work, I would make a workaround(I have one from my own game).

Games make the world better
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 19th Jul 2014 20:46
I don't have time to test. Perhaps you can post the working script here? Thanks.

Don't waste your life
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 19th Jul 2014 22:08
I am somewhere else and have no access to my pc, so I will sent it to you later

Games make the world better
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 20th Jul 2014 01:38
Ok great.

Don't waste your life
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 26th Jul 2014 01:39
Are you back yet?

Don't waste your life

Login to post a reply

Server time is: 2024-03-29 01:08:03
Your offset time is: 2024-03-29 01:08:03