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 / Winzone doesn't work

Author
Message
The Storyteller 01
15
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 7th Jun 2010 11:21
I did a small demo for my script pack and at the end is a winzone marker. But when I step into it I just get stuck a few seconds later instead of getting an exit screen.

Is there anything in addition I have to do? Like putting a special script somewhere into the zone's properties?

In case you find my grammar and spelling weird ---> native German speaker ^^
Crazy Acorn
15
Years of Service
User Offline
Joined: 16th Mar 2009
Location: Stalking people...
Posted: 7th Jun 2010 20:26
This happened to me 1 time. I had to completely rebuild the level and place the winzone in it exact spot. Dont move it or anything.

- Gorlock
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 7th Jun 2010 22:45 Edited at: 7th Jun 2010 22:47
Quote: "But when I step into it I just get stuck a few seconds later"



I'm not sure what is exactly happening? Let me ask a couple of questions.

Do you mean that the player (camera) gets stuck and you cannot move out of the winzone "area?"

Or, does the game "hang-up" and you have to press Ctrl-Alt-Del in order to end the game?

When I first started using FPSC I, at one time, had several objectives (FPSC vanilla objectives) that the player had to meet. I then added a winzone and when the player entered the winzone, it would not end. Or, if the player picked up all the objectives, it would end the game as if the player won without ever stepping into the winzones. This was because I had more than two entities with the isobjective flag set. For example.

I have four entities that need to be picked up. I set each entity objective flag accordingly.

Entity 1 - isObjective=1
Entity 2 - isObjective=2
Entity 3 - isObjective=3
Entity 4 - isObjective=4

However, the winzone isobjective is automatically set to 2. If you need to use it along with other objectives then it needs to be set to 5 in this example.

I am sure this is not the case with your situation but I mention this for others as well.

The winzone is designed when there are no other objectives in the game. I don't know why Lee set the isobjective flag to 2 but if there are no other objectives this still works. You don't have to have another objective that is 1. If you do then you will have to pick it up.

The Storyteller 01
15
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 7th Jun 2010 23:05
Quote: "Or, does the game "hang-up" and you have to press Ctrl-Alt-Del in order to end the game?
"


Exactly - and in this case I don't have objectives.

In case you find my grammar and spelling weird ---> native German speaker ^^
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 7th Jun 2010 23:19 Edited at: 8th Jun 2010 03:04
Unfortunately I have never had that issue with a winzone so it will be difficult for me to help without seeing the fpm and I am sure that will not be possible, although it looks like all the segments are stock and I have probably all of the weapons. I don't think I have the trap door or the frig and I definitely don't have all those cool dead soldiers. If you can call dead cool.

In your debugging, did you try deleting the winzone, saving the fpm and then replacing it again.

Or, delete the winzone, save, it and then place it where the player start marker is and walking into it again to see if it works there. If it does, try placing it in other places and test it. For some strange reason it might be getting messed up because of where it is at. Again, I wouldn't be able to help not know how your map looks.

Edit:

So, don't worry about your English. I didn't bother correcting mine. Did you see where I forgot to add an "ing" to a word above. The word is in bold. I thought this was perfect showing that even us folk whose English is their primary language don't know how to talk. :LOL:

ADDENDUM #1:

BTW, thanks for contributing the rpg type scripts and stuff found in another thread.

ADDENDUM #2:

If you haven't already done so, be sure and try my suggestions. It might help you find the problem.

I have had issues with trigger zones being in a place that the compiler doesn't like. However, usually it just crashes the compilation of the stand-alone.

Oh, thought of another question. What does it do when you enter the winzone during the testing mode? Does it hangup or does it go black for a split second and then delete the test game?

AJ Schaeffer
15
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 19th Jun 2010 02:21
This happened to me 2
causing me to lose the state competition for TSA after 6 months of storyboards and level designing

gendestroier
14
Years of Service
User Offline
Joined: 5th Jun 2010
Location: Brazil
Posted: 4th Jul 2010 00:57 Edited at: 4th Jul 2010 01:14
hold on storyteller01 i gonna take a look on your script...

oh wait,calm, you first put a triggerzone with the script of speech,and then,up the stairs puts a normal winzone with objective 1, rigth ?, if you don't it crashes, the winzone has to be normal, like... ''plrwithinzone'' and only...

mods for creating a inteligent game,at least

Login to post a reply

Server time is: 2024-11-24 21:44:48
Your offset time is: 2024-11-24 21:44:48