I've forgotten

This Section Provides Advice and Assistance For MapMakers.
Post Reply
User avatar
The Texican-PG-
Squad Member
Squad Member
Posts: 1746
Joined: Sun Jun 20, 2010 5:00 pm

I've forgotten

Post by The Texican-PG- »

Been so long since I've made a coop map I've forgotten.

I want to have my objectives indestructible at the beginning, except the first one.

I have 8 objectives total.

1. Chemical containers
2. Weapons crates
3. Radio equipment
4. Enemy helicopters
5. Supply trucks
6. Command center
7. Comm tower
8. Fuel farm

After an objective is destroyed I want the next one to be destroyable.

Also...

I want the objectives to appear when the player(s) step into area trigger 1.

Do I do that in the events or in the WAC file?
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
Bubbachuk-PG-
Site Admin
Site Admin
Posts: 4914
Joined: Sun May 16, 2010 1:59 pm
Location: Marshville, North Carolina
Contact:

Re: I've forgotten

Post by Bubbachuk-PG- »

You can use both but events are the most reliable.
Image
Image

The democracy will cease to exist when you take away from those who
are willing to work and give to those who would not.
~ Thomas Jefferson

Website: http://pgsquad.com
Facebook: https://www.facebook.com/oliver.holmes.357
User avatar
The Texican-PG-
Squad Member
Squad Member
Posts: 1746
Joined: Sun Jun 20, 2010 5:00 pm

Re: I've forgotten

Post by The Texican-PG- »

Here's what I've got for my EVENTS.

However... when I go in to test the map I can still destroy items further down the list (i.e., comms towers which are part of radio equipment & you can see from the beginning).
I just posted part of my EVENTS and continue down the line.

Do I need to do each individual SSN to make them indestructible?


Event 0
Group 3 (chemical containers) destroyable
Group 4 (crates) indestructable
Group 5 (satellites) indestructable
Group 6 (radio equipment) indestructable
Group 7 (helicopters) indestructable
Group 8 (supply trucks) indestructable
Group 9 (command center) indestructable
Group 10 (fuel farm) indestructable

Event 1
SSN 10000 (player) is within area trigger 1
Show Win Subgoal 1 (chemical containers)
Hide subgoal 2 (weapons crates)
Hide subgoal 3 (satellite dishes)
Hide subgoal 4 (command center)
Hide subgoal 5 (helicopters)
Hide subgoal 6 (supply trucks)
Hide subgoal 7 (radio equipment)
Hide subgoal 8 (fuel farm)

Event 2
Group 3 (chemical containers) destroyed
Change Group 4 (weapons crates) to destroyable
Win subgoal 1 (chemical containers)
Show subgoal 2 (weapons crates)
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
The Texican-PG-
Squad Member
Squad Member
Posts: 1746
Joined: Sun Jun 20, 2010 5:00 pm

Re: I've forgotten

Post by The Texican-PG- »

Here are my EVENTS since I tinkered around with them. Items further down the list are still destroyable even when previous subgoal not met.

What I'm trying to do is stack events so subgoals can't be skipped.


Event 0
IF
SSN 10000 is within area 1

THEN
Change Group 3 AI: destroyable
Change Group 4 AI: indestructable
Change Group 5 AI: indestructable
Change Group 6 AI: indestructable
Change Group 7 AI: indestructable
Change Group 8 AI: indestructable
Change Group 9 AI: indestructable
Change Group 10 AI: indestructable


Event 1
IF
SSN 10000 is within area 1

THEN
Show Win subgoal 1
Hide subgoal 2
Hide subgoal 3
Hide subgoal 4
Hide subgoal 5
Hide subgoal 6
Hide subgoal 7
Hide subgoal 8


Event 2
IF
Group 3 has been destroyed

THEN
Change Group 4 AI: destroyable
Win subgoal 1
Show subgoal 2


Event 3
IF
Group 4 has been destroyed

THEN
Change Group 5 AI: destroyable
Win subgoal 2
Show subgoal 3


Event 4
IF
Group 5 has been destroyed

THEN
Change Group 6 AI: destroyable
Win subgoal 3
Show subgoal 4


Event 5
IF
Group 6 has been destroyed

THEN
Change Group 7 AI: destroyable
Win subgoal 4
Show subgoal 5


Event 6
IF
Group 7 has been destroyed

THEN
Change Group 8 AI: destroyable
Win subgoal 5
Show subgoal 6


Event 7
IF
Group 8 has been destroyed

THEN
Change Group 9 AI: destroyable
Win subgoal 6
Show subgoal 7


Event 8
IF
Group 9 has been destroyed

THEN
Change Group 10 AI: destroyable
Win subgoal 7
Show subgoal 8


Event 9 (15 second delay)
IF
Group 10 has been destroyed

THEN
Win, Blue
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
The Texican-PG-
Squad Member
Squad Member
Posts: 1746
Joined: Sun Jun 20, 2010 5:00 pm

Re: I've forgotten

Post by The Texican-PG- »

Nevermind... found the answer.
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
BLAZIN GUNS-PG-
Squad Member
Squad Member
Posts: 1149
Joined: Thu Oct 14, 2010 3:10 pm

Re: I've forgotten

Post by BLAZIN GUNS-PG- »

:)
Image
Image
Image
Post Reply