Custom Map #3063: Spiral - The Other. By: Sorrontis

Started by AutoPost, January 19, 2016, 10:00:25 PM

Previous topic - Next topic

AutoPost

This topic is for discussion of map #3063: Spiral - The Other


Author: Sorrontis
Size: 123x123

Desc:
Spiral - The Other. This one is a little nastier! #Sorrontis #CRPL #SpiralEmitter #RampingSpore #PopUpEmitter

Sorrontis

Here's the code for the revised Spiral Emitter:


once
MapWidth 2 div ->radius
1 5 RandInt ->angle
3 ->amount
endonce


<-angle cos ->x1
<-angle sin ->y1

<-x1 <-radius mul ->x
<-y1 <-radius mul ->y

CurrentX <-x add ->x2
CurrentY <-y add ->y2

3 6 RandInt ->amount

<-radius -0.2 add ->radius



<-radius 0 lte if
MapWidth 2 div ->radius
endif



GetGameTimeFrames 2 mod eq0 if
GetAllUnitsInRange(CurrentCoords 10 1) 0 do
->unit
GetUnitType(<-unit) "NULLIFIER" eq if
<-x2 <-y2 <-amount AddCreeper
GetGameTimeFrames 22 mod eq0 if
CreateUnit("EMITTER" <-x2 <-y2)->child
SetScriptVar(<-child 0 "productionInterval" 15)
SetScriptVar(<-child 0 "productionAmt" 50000000)
endif
endif
loop
endif

10000 SetCreeperEvaporationLimit
<-angle 0.12 add ->angle
True PersistCore
"If you want others to be happy, practice compassion. If you want to be happy, practice compassion."

Johnny Haywire

Yet another interesting... different map. Didn't like it as much as your real-time-no-pause map but it's definitely a great map! And I like that there are several approaches you can take to beat the map. You keep finding new ways to creatively influence people to rage quit!  ;D
You disagree with this sentence, don't you?

Sorrontis

"If you want others to be happy, practice compassion. If you want to be happy, practice compassion."

D0m0nik

Nice map, great combination of two new units. The spiral is initially quite shocking but can be farmed for PZs or

....

I am not going to put spoilers on Sorrontis' maps as it spoils his fun!

Sorrontis

#5
Oh I like spoilers.... Wait, is there a problem in the code? Some hint I missed?
"If you want others to be happy, practice compassion. If you want to be happy, practice compassion."

Loren Pechtel

Quote from: D0m0nik on January 20, 2016, 01:43:13 PM
Nice map, great combination of two new units. The spiral is initially quite shocking but can be farmed for PZs or

....

I am not going to put spoilers on Sorrontis' maps as it spoils his fun!

Why would you want to, though?  What do you need the PZs for other than to kill the spiral itself?