Page 1 of 1
Turn based
Posted: 30 May 2008, 12:36
by Gota
Is it possible to make a turn based mod for spring?
Re: Turn based
Posted: 30 May 2008, 12:45
by [Krogoth86]
LUA?
That answer is cheap I know but it pretty much says it all...
Re: Turn based
Posted: 30 May 2008, 18:28
by Snipawolf
Yep, each turn could be a few seconds, and each unit could move so far or shoot so much per turn, relying on velocity/reloadrate and junk. The hardest part would probably be "freezing" the unit when your turn is over.
Re: Turn based
Posted: 31 May 2008, 03:14
by Fulano
Something as simple as pausing the game, allowing the user to give his commands then unpausing it, but controlled by scripts might work.
You could time the units to fit the time the game runs between turns, so say the game runs 5 seconds, units will take 5 seconds or 10 seconds to reload.
Just some ideas
Re: Turn based
Posted: 31 May 2008, 09:36
by TheMightyOne
Snipawolf wrote:The hardest part would probably be "freezing" the unit when your turn is over.
"hold fire" + "hold position" after each turn should do it.
Re: Turn based
Posted: 31 May 2008, 17:53
by CarRepairer
TheMightyOne wrote:Snipawolf wrote:The hardest part would probably be "freezing" the unit when your turn is over.
"hold fire" + "hold position" after each turn should do it.
Paralyze!
Re: Turn based
Posted: 01 Jun 2008, 01:27
by manored
I think pausing would be necessary as paralizing units wouldnt stop production... and making it pause is probally easier than putting loads of things to stop each operation :)
Re: Turn based
Posted: 01 Jun 2008, 01:43
by [Krogoth86]
Why staying so complicated? Just do everything with LUA and don't use Spring's hardcoded behavior. Halt the game in general like it's known from the deployment mode and control the units via LUA...