Battle tactics style mods? Multiple starting units; no com?

Battle tactics style mods? Multiple starting units; no com?

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
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Battle tactics style mods? Multiple starting units; no com?

Post by hughperkins »

What are the possibilities for creating a mod with multiple starting units, eg 10 flashes, and no commander?
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

It looks like lua scripts can be used to create single-player missions. Is it possible to load a lua script in either a multiplayer game or from a mod?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

You can't use them in startscript-based multiplayer (aka via lobby).
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

Ok. How difficult would it be to make it work with startscript-based multiplayer?

Currently, the script in startscripts is only loaded on request by starting spring.exe. How difficult would it be to make the startscripts in a mod run automatically? (or a different directory perhaps, or specify in startscript.tdf perhaps)
User avatar
mecha
Posts: 98
Joined: 30 Sep 2005, 09:53

Post by mecha »

We can probably do it already using spring on a lan. Just take out the singleplayer line in the lua and get it to spawn some units. Everybody then connects in manually (using the "type the ip" method) and presto you have your game.

See how much interest there is and maybe I'll do one. Prob won't work through the lobby though.

We already have an active thread going on the lua stuff:
http://taspring.clan-sy.com/phpbb/viewtopic.php?t=7790

this ones more like a general discussion thread than a mods thread isn't it
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Post by hughperkins »

It could be fun to get this to work using the lobby for WAN-play, and to allow AIs to be used, for bot vs bot matches.

Here's a patch to allow the startscript to be specified in script.txt:

http://manageddreams.com/csai/startscript.diff

You can add a new line to the game section "scriptname=Commanders;" or specify a different script.
Post Reply

Return to “Game Development”