Knuckle Cracker

Creeper World 3 => Custom Map Discussion => Colonial Space Map Discussion => Topic started by: AutoPost on February 21, 2014, 05:40:36 PM

Title: Custom Map #245: Thistle-2. By: First
Post by: AutoPost on February 21, 2014, 05:40:36 PM
This topic is for discussion of map #245: Thistle-2
(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=245)

Author: First
Size: 162x91

Desc:
Inhibitor siege, with a twist. As always, comments on the CW3 forum are appreciated!
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: First on February 21, 2014, 07:48:06 PM
Thanks Grauniad!
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: Richard333 on February 21, 2014, 11:07:31 PM
Is it ok if i use the Pump's CRPL?
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: First on February 22, 2014, 12:42:47 AM
Sure no worries!

Here's the script


# pump.crpl
# Created on: 2/20/2014 8:20:20 PM
# By First - Happy crpling
# ------------------------------------------

#Pump interval, in frames
$PumpRateFrames:30
#X,Y coords of where the pumped creeper goes - Manually entered based on desired target
$PumpTargetX:158
$PumpTargetY:45
#Multiplier - see the CreeperMux and AntiCreeperMux multipliers, too
$PumpMultiplier:10

once
#Event Timers - Pumping, and animating the image
<-PumpRateFrames SetTimer0
60 SetTimer1
#Persistent variable to track the current rotation of the image
0 ->Theta
#Extra hardcoded constants for game balance. In this map, I used a bonus 5x multiplier if the pump was pumping
#anticreeper (to speed up the endgame)
1.0 ->CreeperMux
5.0 ->AntiCreeperMux
endonce

#Pump - first zero the creeper at the pump intake, then add it back with multipliers at the location of the inhibitor
GetTimer0 eq0 if
CurrentCoords GetCreeper ->CreeperAmt
CurrentCoords 0 SetCreeper
<-CreeperAmt 0 gt if
<-PumpTargetX <-PumpTargetY <-CreeperAmt <-PumpMultiplier mul <-CreeperMux mul AddCreeper
else
<-PumpTargetX <-PumpTargetY <-CreeperAmt <-PumpMultiplier mul <-AntiCreeperMux mul AddCreeper
endif
endif

#Text for the PopupText
GetTimer1 eq0 if
<-CreeperAmt 0 gt if
"Pumping: " <-CreeperAmt <-PumpMultiplier mul <-CreeperMux mul 10.0 mul Floor 10.0 div Concat "/sec" Concat SetPopupText
else
"Pumping: " <-CreeperAmt <-PumpMultiplier mul <-AntiCreeperMux mul 10.0 mul Floor 10.0 div Concat "/sec" Concat SetPopupText
endif
endif

#Spin the image - I bashed this until I got approx the spin rate I wanted
<-CreeperAmt <-PumpMultiplier mul ->Rate
<-Rate 10.0 div 2 mul 3.1416 mul ->Rate
<-Rate 120.0 div 4.0 div <-Theta add ->Theta
Self "main" <-Theta SetImageRotation
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: kwinse on February 22, 2014, 03:36:20 AM
Quote from: First on February 22, 2014, 12:42:47 AM
3.1416
Curious, why not use the exact value (http://knucklecracker.com/wiki/doku.php?id=crpl:docs:pi) (or at least as exact as the platform supports)?
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: RealAndy on February 22, 2014, 06:18:20 AM
Love the idea of the pumps and positive feedback loop, sure there would be more that it could be used for.
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: First on February 22, 2014, 05:33:22 PM
Quote from: kwinse on February 22, 2014, 03:36:20 AM
Quote from: First on February 22, 2014, 12:42:47 AM
3.1416
Curious, why not use the exact value (http://knucklecracker.com/wiki/doku.php?id=crpl:docs:pi) (or at least as exact as the platform supports)?

Ah, yep. I didn't see it yet in the ref docs. I was going to us my old standby

2 * asin(1)

but went for the shortcut. Good suggestion!
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: Helper on March 18, 2014, 08:08:12 PM
Finally came back to give this one another go.
Built small defendable area, then Terp'd my way to the finish.
Nice long fight, kept me hopping the whole time.
Thanks,
H
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: ljw1004 on August 06, 2014, 11:42:52 PM
Really enjoyable map!
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: SmileyCoder on November 13, 2014, 05:23:38 AM
Very interesting twist with the positive feedback loop. Nice that you took the time to make the numbers show on the pumps. Good work.
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: toolforger on May 01, 2017, 08:01:34 AM
Nice idea, though it didn't do much to change the actual tactics required - there was no pressure to prevent the feedback loop from happening, you could simply advance normally. I didn't even miss having Berthas.

Something seems off about the feedback implementation: the creeper level alternate between positive and negative values, with the inhibitor present and after it is destroyed.
I.e. *something* is still generating creeper there even if no emitters are left on the map, and something is generating anticreeper even before one starts feeding AC into a turbine.
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: Builder17 on May 01, 2017, 12:24:32 PM
Quote from: toolforger on May 01, 2017, 08:01:34 AM
Something seems off about the feedback implementation: the creeper level alternate between positive and negative values, with the inhibitor present and after it is destroyed.
I.e. *something* is still generating creeper there even if no emitters are left on the map, and something is generating anticreeper even before one starts feeding AC into a turbine.

I think you mean that creeper flips to AC and vice versa in creeper/AC height 2000? 
Title: Re: Custom Map #245: Thistle-2. By: First
Post by: Helper on November 13, 2021, 06:42:06 PM
Didn't realize that I played this almost 8 years ago - and ended up with a worse time.
Will give another go tomorrow (or in another 8 years).
Thanks for the fun.
H