Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: frozenedge on November 08, 2013, 03:33:56 AM

Title: Fog of war?
Post by: frozenedge on November 08, 2013, 03:33:56 AM
How difficult would it be to make a crpl script that creates a fog of war which:
1) Limits firing and building within line of sight.
2) Hides creeper/spores within the fog.
3) Berthas would have limited line of sight and rely on other units to scout
4) Line of sight is affected by terrain height.

Would someone be able to make a CRPL script for all of that?
Title: Re: Fog of war?
Post by: J on November 08, 2013, 03:49:36 AM
I guess 3 is impossible to do with crpl. The best thing you can do is hope V will add fog of war as a feature in an update. You can remove sight from the player just by drawing something over it. And now I think of it, where the player can't see anything, manually handle creeper so the player can't target it (store and move creeper in a crpl script and remove it from the terrain).
Title: Re: Fog of war?
Post by: Clean0nion on November 08, 2013, 07:39:28 AM
Quote from: J on November 08, 2013, 03:49:36 AM
I guess 3 is impossible to do with crpl. The best thing you can do is hope V will add fog of war as a feature in an update. You can remove sight from the player just by drawing something over it. And now I think of it, where the player can't see anything, manually handle creeper so the player can't target it (store and move creeper in a crpl script and remove it from the terrain).
What would be used to scout? If it was just placing towers and discovering more area, you wouldn't even need a script to store creeper data - just hide it.
Title: Re: Fog of war?
Post by: frozenedge on November 09, 2013, 05:50:05 AM
I was thinking of using aerial units to scout out the map but looking back on it now i don't think fog of war would affect gameplay very much as it only makes energy usage tighter only when you are moving to higher ground.
Title: Re: Fog of war?
Post by: Grauniad on November 09, 2013, 08:23:05 AM
The credits mission has a FoW of a kind. It also limits the firing range of the little guy walking around.