Page 1 of 1

Domination: Capture point height limit, or script to capture point?

Posted: Sat Jun 20, 2015 1:04 am
by Infirnex
I'm currently trying to make a domination map for the mod Push. It's then I realized that you can capture a point from any height. I presume this is because it's triggered simply when you enter the sector.

Now for any other gameplay mod I can think of, this isn't an issue. Most gameplay mods don't have such extreme amount of vertical gameplay. However, with Push maps generally having open areas of 4096 height (and higher), this allows for people to simply fly by points to capture without ever being seen.

So here's the question: is there a way to control this? I've tried a non-solid 3d floor, and it failed. I tried Transfer_Heights, but that fails too.

If it can be done via script, that would help immensely, but I don't know a possible script to use.

RE: Domination: Capture point height limit, or script to capture point?

Posted: Sat Jun 20, 2015 1:10 am
by Ænima

Code: Select all

while (GetActorZ(0) - GetActorFloorZ(0) < 16)
{
[capture stuffs];
Delay(3);
}
[uncapture stuffs];

RE: Domination: Capture point height limit, or script to capture point?

Posted: Sat Jun 20, 2015 1:15 am
by Infirnex
That would be the way I would go about it. I'm asking about the "capture stuffs" part. What would I put there?

RE: Domination: Capture point height limit, or script to capture point?

Posted: Sat Jun 20, 2015 1:26 am
by Ænima
You'd probably want to have an interger representing each capture point.

Code: Select all

int hallwaypoint;
int towerpoint;
int cavepoint;

And to expand on the capturestuffs:

Code: Select all

hallwaypoint = PlayerTeam()+1;
And uncapture:

Code: Select all

Hallwaypoint = 0;
So then have an OPEN script constantly check the values of the intergers. 1 means blue captured it, 2 means red, and 0 is uncaptured. Once a team has all, they win. Assuming this is for teamplay.

RE: Domination: Capture point height limit, or script to capture point?

Posted: Sat Jun 20, 2015 1:32 am
by Infirnex
Oh, this is a bit...different that what I had planned. I'm using the Domination mode in Zandronum already, which plays exactly the same as the mode from Unreal (sans height issues). Not that this seems bad and I will definitely test the mode. It's a start and may be the only thing that could potentially work. However, not exactly what I'm look for.

And yes, this is for teamplay.