Friendly Spore Towers?

Started by BLuBIN_BoY, January 15, 2016, 10:03:03 PM

Previous topic - Next topic

BLuBIN_BoY

Seeing as how Spore Towers work in PAC maps, would it be possible to recode them to function like a normal tower? Same targeting system, but instead the 'spores' will release Anti-Creeper instead. Any ideas how this could be done?

TLFP

Quote from: BLuBIN_BoY on January 15, 2016, 10:03:03 PM
Seeing as how Spore Towers work in PAC maps, would it be possible to recode them to function like a normal tower? Same targeting system, but instead the 'spores' will release Anti-Creeper instead. Any ideas how this could be done?
You'll have to change the default payload on the PAC spore script.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

BLuBIN_BoY

Trying to figure stuff out still, not too great at coding  :'(

If I can't get this to work, is it possible to use the MakeRain command on a timer, instead of a spore?

driesemol

I have encountered such tower before... don't know which map though, but if you find it you can take the script from it

TLFP

Quote from: BLuBIN_BoY on January 16, 2016, 04:19:42 PM
Trying to figure stuff out still, not too great at coding  :'(

If I can't get this to work, is it possible to use the MakeRain command on a timer, instead of a spore?
I can give you the exact way you do it (Assuming you have loaded the template by putting the template file into the game file and renaming it to save.cw3).
You go into the scripts tab (located in the units tab and to the right and next to the green save button) and change the top variables (one at a time, then see what it does) and figure which one works.  :D
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

BLuBIN_BoY

I have the template, yes, and I also have SporeTower, SporeBuilder, StructureGui and TowerControls loaded onto the map I'm trying to get this to work on. Which should I add the MakeRain command to? And if you already know how to do it, that'd be VERY helpful and I'll credit you for the map.

TLFP

Quote from: BLuBIN_BoY on January 17, 2016, 07:20:10 PM
I have the template, yes, and I also have SporeTower, SporeBuilder, StructureGui and TowerControls loaded onto the map I'm trying to get this to work on. Which should I add the MakeRain command to? And if you already know how to do it, that'd be VERY helpful and I'll credit you for the map.
MakeRain soaks the whole map, not just one spot. If you want to do that, just create a new script and type the following code:
7 2000 MakeRain

If you didn't want that... you'll have to go into sporetower.crpl and change the payload variable to a negative.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

BLuBIN_BoY

I know the MakeRain command fills the whole map, I'm trying to make a map with a few powerful emitters and a unique Titan which uses the MakeRain command on a timer and with enough Anti-Creeper to fuel it. Is there a way to take that SporeTower or SporeBuilder .crpl and modify it so that instead of creating a Spore, it activates the MakeRain command?

Builder17

Could you just code it from beginning?
It's not easy to modify scripts done by others than yourself.

TLFP

Quote from: BLuBIN_BoY on January 18, 2016, 09:57:20 AM
I know the MakeRain command fills the whole map, I'm trying to make a map with a few powerful emitters and a unique Titan which uses the MakeRain command on a timer and with enough Anti-Creeper to fuel it. Is there a way to take that SporeTower or SporeBuilder .crpl and modify it so that instead of creating a Spore, it activates the MakeRain command?
If you want a regular map you could just make a new script that requests AC and when it receives enough, it activates and resets the AC count. You don't need to edit the PAC spores to do that.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

TLFP

Quote from: Builder17 on January 18, 2016, 11:54:56 AM
I haven't tested this , but it should work.
I thought he wanted to make a unit that when clicked on, checks to see if it has enough ammo, and if so, rains the whole map with AC.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

BLuBIN_BoY

Whatever is easier to set up.

TLFP

#12
Quote from: BLuBIN_BoY on January 18, 2016, 01:12:24 PM
Whatever is easier to set up.
I'll do the AC rain, but Builder17 has the AC spore already set up.
EDIT: Okay, I can't do that. Someone who is more fluent in crpl could do it.
Currently ghosting, don't mind me.
Christian, my list of various content creation groups can be found here

BLuBIN_BoY

Oh, he did? I didn't get to check yet, was on mobile. Will now tho.

BLuBIN_BoY

Quote from: Builder17 on January 18, 2016, 11:54:56 AM
I haven't tested this , but it should work.
What scripts should I keep attached to the tower? As of now, it's not working for me, but I could just be an idiot.