Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: Azraile on May 14, 2014, 10:59:45 PM

Title: AC improvement
Post by: Azraile on May 14, 2014, 10:59:45 PM
Is there anyway to code improvements to AC rather through the forge or picking up coded artifacts?

Right now AC seams to follow the idea that it needs control or it will turn into creep... and there for has a limited range it can be used in....

I was thinking the 3 following upgrades:

AC control range.
AC production cost. (less ore for more AC)
AC speed. (how make it spread faster than normal creep!)
Title: Re: AC improvement
Post by: Grayzzur on May 15, 2014, 12:45:15 AM
AC follows the same rules as regular creeper for spreading. When creeper and anti-creeper collide, they are destroyed in equal amounts. There's no way to boost just AC, but there are CRPL commands (SetCreeperFlowRate, SetCreeperEvaporationLimit) to adjust the rate creeper spreads -- this affects both creeper and anti-creeper equally.

As for production costs and controls, you could create a CRPL core that produces AC and make it cost just about whatever you want.
Title: Re: AC improvement
Post by: Azraile on May 15, 2014, 01:41:50 AM
creeper don't seam to have an evaporation limit o.O
Title: Re: AC improvement
Post by: Karsten75 on May 15, 2014, 08:46:58 AM
Creeper does evaporate. Exactly like Anti-creeper, and it has to be very thin.
Title: Re: AC improvement
Post by: Azraile on May 15, 2014, 10:40:16 AM
yah but creep can flow REALY far away from it's sorce

but AC seams to be limited to how far away from it's sorce it can get

thats what i'm talking about
Title: Re: AC improvement
Post by: pawel345 on May 15, 2014, 10:46:53 AM
No it's not. The limit is just that even weak emitters are usually much stronger sources than a sprayer. A single sprayer makes ~3,5 AC/sec, a usual emitter can make 20/0.5 sec. As emitters use the SetCreeperNoLower function and Sprayers use the AddCreeper function the amount emitedis quite different, but overall you can say that a strong source that emits a large amount of creeper spreads faster that sources that produce small amount.
Title: Re: AC improvement
Post by: Asbestos on May 15, 2014, 06:54:35 PM
AC looks like it spreads slower, but that's just because AC emitters are usually weaker than normal ones. If you have a 20 AC emitter and a 20 normal emitter, they'd spread A/C at the same speed.
Title: Re: AC improvement
Post by: Azraile on May 15, 2014, 07:29:24 PM
maybe it's just the pyramids then that have some range in there code then idk
Title: Re: AC improvement
Post by: planetfall on May 15, 2014, 08:00:42 PM
The pyramids have fields that push the anticreeper out faster. But they are strictly directional. Theoretically you could quickly set and unset fields on all cells of anticreeper, but it would be enormously slow and dubiously effective.