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 / Make something Objective but not end game?

Author
Message
TheCoolGuy
14
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 12th Jul 2010 18:43 Edited at: 12th Jul 2010 19:08
Can I make it so you shoot the targets, and after you shoot the last one, you are able to continue with the level?

Alot like in Call of Duty 4 and Modern Warfare 2 Where you have to shoot the targets to move on the the next section of the game. Like this, but obviously not as in depth.
http://www.youtube.com/watch?v=l4ldvXyyxiI

I am running the V117 beta so I don't have any mods.

Thanks in advance.
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 12th Jul 2010 20:19
ehm..I'm not sure whether this will work or not,because I haven't tried it.But try adding a WIN ZONE somewhere in the level and also set objectives on the entities.
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 12th Jul 2010 22:56 Edited at: 13th Jul 2010 05:45
Setting the entity objectives sole purpose is to meet those objectives in order to win or complete the level. This is automatic and hard coded. As long as there is an objective that is set that will never be met and the objective numbers are set correctly then you will never win or complete the level through the use of objectives. Setting an objective without that goal in mind is not going to be of much use. You cannot keep track of objectives.

The only way you can keep track of objectives is through the use of RPG Mod or by using the stock variables rather than through setting entity objectives and/or the win zone.

Addendum:

I'm not totally familiar with v117 as yet. More than likely using variables to keep track of objectives is what you will need to do. However, I have not looked at Dark AI commands or if entity objectives have changed in any way.

Monkey Mja
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location:
Posted: 13th Jul 2010 08:44
Easy.

Lets say theres Enemy 1, Enemy 2, Enemy 3, and the agility course.

Set Enemy 1 to Objective = 1
Set Enemy 2 to Objective = 2
Set Enemy 3 to Objective = 3
Then make a trigger zone with Objective = 4 at the end of the agility course

The trigger zone at the end instead of win zone is to make the other 3 objectives come into effect.

- Monkey
TheCoolGuy
14
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 13th Jul 2010 09:25
Is there a way to script it so, say if you finish objective 3, it opens up a door?
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 13th Jul 2010 23:04
Change the destroy script on the objective 3 entity

Login to post a reply

Server time is: 2024-11-24 21:46:08
Your offset time is: 2024-11-24 21:46:08