Turn based

Turn based

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Turn based

Post by Gota »

Is it possible to make a turn based mod for spring?
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Turn based

Post by [Krogoth86] »

LUA?

That answer is cheap I know but it pretty much says it all...
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Re: Turn based

Post 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.
Fulano
Posts: 9
Joined: 04 May 2008, 23:30

Re: Turn based

Post 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
User avatar
TheMightyOne
Posts: 492
Joined: 26 Feb 2007, 14:32

Re: Turn based

Post 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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Turn based

Post 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!
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Re: Turn based

Post 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 :)
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Turn based

Post 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...
Post Reply

Return to “Game Development”