My latest problem

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

My latest problem

Post by The Texican-PG- »

Okay... I made a few changes and now I have a problem with enemy attaching to vehicles.

I have followed the guidelines set out in the MED Manual.

IF:
Group 1 [Player] enters area 3

THEN:
Redirect 44 to waypoint 125-64
Redirect 45 to waypoint 125-64
Redirect 46 to waypoint 125-65
Redirect 47 to waypoint 125-65
Redirect 48 to waypoint 125-66
Redirect 49 to waypoint 125-66

But when I go into the map and the player enters area 3 they enemy attach but they don't follow the waypoints laid out.
Vehicle 1 does what it's supposed to, vehicle 2 drives in circles and vehicle 3 just sits there.

The I want the vehicles to NOT respawn in the original location but am not sure what to put as an event.

This is what I have tried but it isn't working.

[3 separate events]
IF:
SSN 44 [46] [48] is dead and;
SSN 45 [47] [49] is dead.

THEN:
Teleport SSN 64 [65] [66] to target 1.

Events are set for a 10 second delay to transport.
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: 1747
Joined: Sun Jun 20, 2010 5:00 pm

Re: My latest problem

Post by The Texican-PG- »

Vehicle 64 is set for WP 6,0
Vehicle 65 is set for WP 7,0
Vehicle 66 is set for WP 8,0

enemy are not set for any WP nor Event.
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
User avatar
Windstalker-PG-
Administrator
Administrator
Posts: 1451
Joined: Sat May 22, 2010 11:04 am

Re: My latest problem

Post by Windstalker-PG- »

In order to not have the vehicles respawn, you need to set up a separate event

If ssndead (48) then
Vaporize ssn (48)

I usually set a 3 or 4 second delay so the destroyed vehicle doesn't just disappear.

For the vehicles following waypoints, I have found that when they just going circles, either the waypoint is up in the air or below the ground. This wilol happen with the enemy AI's as well. make sure the waypoints are snapped to the terrain.

set the vehicles to follow the waypoints you want them to follow, not the drivers.

Another way to do it is to hard attach the enemy AI's to the vehicles and when the player enters area 3, redirect the vehicles to the waypoint list you want them to follow. (this is the preferred way to do it)
Image
Image
When you hear the Wind.. You're already dead
Image
User avatar
Bubbachuk-PG-
Site Admin
Site Admin
Posts: 4918
Joined: Sun May 16, 2010 1:59 pm
Location: Marshville, North Carolina
Contact:

Re: My latest problem

Post by Bubbachuk-PG- »

What Windstalker said could be a problem but the fact that the first vehicle moves out and follows the waypoint list tells me there's also another problem.

Try setting up each vehicle in a separate event, i.e.

First Event: (We'll call this Event #5)
Trigger: If Group 1 is in Area 3
Action: Redirect SSN 64 to WP 6,0

Enter a 3 second delay for the next event.

Second Event: (We'll call this Event #6)
Trigger: If Event 5 has been triggered
Action: Redirect SSN 65 to WP 7,0

Enter a 3 second delay for the next event.

Second Event: (We'll call this Event #7)
Trigger: If Event 6 has been triggered
Action: Redirect SSN 66 to WP 8,0
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: 1747
Joined: Sun Jun 20, 2010 5:00 pm

Re: My latest problem

Post by The Texican-PG- »

Thanks Wind & Bubba
Image
“If you ain't dyin', we probably need to put more fog in the map”
― The Texican-PG-
Post Reply