Lua mission scripting questions

Lua mission scripting questions

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Michilus_nimbus
Posts: 634
Joined: 19 Nov 2004, 20:38

Lua mission scripting questions

Post by Michilus_nimbus » 04 Oct 2006, 13:31

playing around with the lua mission scripts, I came up with a few problems:
  1. Is multiplayer possible?
  2. Is there any way to create more than 2 teams? Currently, Spring crashes as soon as I try to spawn a unit with a team different from 0 or 1.
  3. Would it be possible to set teams as allies?
My current goal is Peewee Football. A team scores by shooting a low mass ball on a low gravity map into a goal. It would be interesting to set the 2 opposing teams to allied, so that you can see their movement across the whole map. That is, of course, if multiplayer is supported or will be in the future.
0 x

User avatar
Peet
Malcontent
Posts: 4378
Joined: 27 Feb 2006, 22:04

Post by Peet » 04 Oct 2006, 20:38

lmfao
See that shiny file called tasclient.exe? Open it.
0 x

User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 » 04 Oct 2006, 21:29

peetah, you fail at the internet.
what mich is looking for is scripting missions.
0 x

User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen » 04 Oct 2006, 21:41

As a rule, if you're browsing the development forum and see a question that sounds really just too obvious to be asked, don't answer it :)
0 x

User avatar
Peet
Malcontent
Posts: 4378
Joined: 27 Feb 2006, 22:04

Post by Peet » 04 Oct 2006, 21:45

:(

...I suppose it may be a good idea to do more than just glance at a post...I guess I've been replying to too many n00bs on another forum, asking questions easily solved with http://www.justfuckinggoogleit.com


Back on topic, what happened to the spring.exe itself being multiplayer-capable? Like where it asked "do you want to be server?" at the start? If that were still there, lua scripts would be multiplayer...
0 x

Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi » 04 Oct 2006, 21:53

Was removed in the multiplatform codebase (ie. from release 0.70).
You can use commandline arguments for it.
0 x

User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Re: Lua mission scripting questions

Post by PauloMorfeo » 05 Oct 2006, 03:01

Michilus_nimbus wrote:playing around with the lua mission scripts, ...
Even though i can't help you, i must say «Ho! Goodie!».

No really!
That is one of the most lacking parts of Spring right now. We could really use some nice missions. It would be awesome for people to learn how to play instead of just running loby and creating a 1v1 room (do i smell rapage?).

It could also be improved (multiplayer capability is one of the most wanted, i guess?) and that will only hapen if there are people wanting to play them (there are) and people working on making them.

Good luck.
0 x

Post Reply

Return to “Lua Scripts”