UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - agog27

Hello all,

Let's say I have 2 adjacent zones, zone1 and zone2. How do I make it so that when the player enters zone2, all the zombies in zone1 despawn and start spawning in zone2?

Thanks
7 years ago
Here's the situation. Please refer to the picture:




- In my map, players begin in start_zone, like normal.
- They are able to jump off a very high ledge into a different area, called zone2. No doors are opened.
- Neither players nor zombies are able to climb up the ledge back into start_zone.

- I want to make it so that if a player were to jump off the ledge into zone2, the zombies left behind in start_zone despawn while zombies in zone2 start spawning.

- In other words, I want start_zone and zone2 to spawn zombies if and only if a player is within them. Although open from the start of the game, zone2 should not spawn zombies UNLESS the player is there.

Is this possible? If so, how would I set up the KVP's for each zone, and what would I need to add to the map.gsc?

Thanks in advance,

agog27
aka Avidus

Double Post Merge: May 22, 2017, 07:44:00 pm
UPDATE: I figured it out, all I had to do was initialize zone2 in the gsc and make sure start_zone was NOT an adjacent zone.
7 years ago
I am making a map which features elevators. They are essential to the gameplay and will be part of what makes the map unique.

Basically, I need two types of elevators scripted:

Type 1 - Intro elevator:
When the game loads and the black screen fades away, players notice they have been spawned in an elevator car traveling down... Similar to how players started on the lunar lander in Ascension (from Black Ops 1). When the elevator reaches the floor, it cannot be ridden again until the power is turned on, at which point it becomes a type 2 elevator.

Type 2 - Every other elevator:
Standard elevator, containing inner and outer doors, where players can call the elevator to their floor and ride it up or down.

I am open to learning how to script these, because after all, if you teach a man to fish, he eats for life. However, I have no idea where to start or how to code it... Some advice, guidance, and suggestions would be appreciated! I AM familiar with Java and C++, so it's not completely foreign to me.

Or perhaps I can sway one of you generous scripters out there to make a decent, working elevator script. I've spent a long time looking at other elevator scripts (Zombie Kid's, Woo's, etc), but none seem to work correctly. Of course, I know it takes a lot of time and effort to make a script, but doing so would make me (and probably other mappers) jump for joy!

- agog27 (aka Avidus)

7 years ago
Loading ...