Custom Map #4280: Gate To Nowhere. By: Shots243

Started by AutoPost, March 04, 2017, 05:17:03 AM

Previous topic - Next topic

AutoPost

This topic is for discussion of map #4280: Gate To Nowhere


Author: Shots243
Size: 248x192

Desc:
Increasing emissions! Random emissions! Combination spore towers and emitters! High payload spores! DMD generated terrain! Notes: Every CRPL unit will release creeper upon destruction. The incrementing emitters will glitch if you speed up the game. Try not to lag to get a consistent 10 second increment.

GoodMorning

What is the glitch? We may be able to fix it. Speeding up the game should have no effect.
A narrative is a lightly-marked path to another reality.

Shots243

I'm not sure if it happens for everyone, but when the game lags for any reason, the timing of the increments gets thrown off. It basically unsynchronises itself from the in-game mission time.

E.g. 1:20.0 then later after lag in the last 10 seconds 1:32.4.
Needs Improvement.

GoodMorning

#3
Hmm... I'll take a look.

Welcome to the forum.

Your problem seems to be twofold. First and foremost, your script will try to increase the amount every nine times the timer increments, because you reset it to 1 rather than 0. I haven't been able to pin down the source of the second problem, but it seems that the script is executing once every 32 frames, although the Delay is set for 30.
Testing
A little testing reveals that Delay is taking two extra frames of execution. Presumably, it halts execution on the current frame, waits the delayed frames, then the next frame it continues executing.
[close]
I do not know why this should be so.

In combination, this results in 9*32=288 frames between increases, which produces the drift which you saw.

I attach the script in question for anyone else who is willing to look.
A narrative is a lightly-marked path to another reality.

planetfall

Frame 1: everything until the delay command
Frame 2-31: delaying
Frame 32: everything after the delay command

Delay can be a little unstable, so I try to avoid it.
Pretty sure I'm supposed to be banned, someone might want to get on that.

Quote from: GoodMorning on December 01, 2016, 05:58:30 PM"Build a ladder to the moon" is simple as a sentence, but actually doing it is not.

Johnny Haywire

As far as the map itself goes, I think it's pretty decent. If you let the game run until the emitters hit 500, by that time the totems are producing enough aether to use the singularity weapon to easily pick off the helpless emitters. So if you do a similar map, you might want to make the emitters increase faster so there's a greater sense of urgency.

I have no real complaints about the map though. Overall, I liked it! Thanks for making the map!  ;D
You disagree with this sentence, don't you?