Missions and Campaigns : Working prototype - Page 2

Missions and Campaigns : Working prototype

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Missions and Campaigns : Working prototype

Post by BrainDamage »

Pxtl wrote:Wait... we have mutators? Docs? Info? Lobby support? Anything?
Docs will be written when it's done.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Missions and Campaigns : Working prototype

Post by Pxtl »

Brain Damage wrote:
Pxtl wrote:Wait... we have mutators? Docs? Info? Lobby support? Anything?
Docs will be written when it's done.
Oh, so Mutators are a new feature too? I thought it was just that somebody had finally fixed up the Modtype = 2 that's been in the wiki (but non-functional) for a few years.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Missions and Campaigns : Working prototype

Post by FLOZi »

modtype=2 has worked forever...
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Missions and Campaigns : Working prototype

Post by Pxtl »

FLOZi wrote:modtype=2 has worked forever...
Really? Never seen anybody use it. How do the clients handle selecting multiple modtype=2 packages?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Missions and Campaigns : Working prototype

Post by Satirik »

hughperkins wrote:Ok, so I downloaded "CampaignAndSingleMissionDemo.sd7", put it in "mods", for want of somewhere better to put it, but it didn't seem to do anything. What do I need to do to run this campaign, or at least to run any of the missions inside it?
with latest tasclient beta you need to load the mod in Single Player, it will only be able to launch the first mission of the campaign anyway
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Missions and Campaigns : Working prototype

Post by FLOZi »

Pxtl wrote:
FLOZi wrote:modtype=2 has worked forever...
Really? Never seen anybody use it. How do the clients handle selecting multiple modtype=2 packages?
You select 1. Perhaps you are thinking of modtype=3; ;)
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Missions and Campaigns : Working prototype

Post by Pxtl »

From http://spring.clan-sy.com/wiki/Mod_specification

Code: Select all

 // What kind of mod this is 
  //  0 - Hidden (support mod that can't be selected, such as OTA_textures) 
  //  1 - Normal, only one can be selected at a time 
  //  2 - Addon, any number of these can be selected. Could be used 
  //      for single units for example. 
  //  others - perhaps mutators and addon races that can be 
  //           enabled in addition to xta for example? 
  ModType=1; 
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Missions and Campaigns : Working prototype

Post by Peet »

Seems to me it wasn't actually implemented.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Missions and Campaigns : Working prototype

Post by FLOZi »

Guess I'm getting confused like an idiot. :shock: :oops:

Use modtype 1 and dependancies.
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Re: Missions and Campaigns : Working prototype

Post by hughperkins »

Satirik wrote:
hughperkins wrote:Ok, so I downloaded "CampaignAndSingleMissionDemo.sd7", put it in "mods", for want of somewhere better to put it, but it didn't seem to do anything. What do I need to do to run this campaign, or at least to run any of the missions inside it?
with latest tasclient beta you need to load the mod in Single Player, it will only be able to launch the first mission of the campaign anyway
Oh! Sweet! Looks awesome.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Missions and Campaigns : Working prototype

Post by Argh »

Modtype 2 works just fine, btw.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Missions and Campaigns : Working prototype

Post by Tobi »

Or rather, it doesn't break stuff, I suppose (and is handled identical to modtype=2?)

There is no API in unitsync for lobbies to query the list of secondary mods for a primary mod, and I also haven't seen a GUI for it in TASClient or SpringLobby yet...

Btw does this mission system use the startscripts functionality of Spring, or luarules?
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Missions and Campaigns : Working prototype

Post by BrainDamage »

Tobi wrote:Btw does this mission system use the startscripts functionality of Spring, or luarules?
a lua file in the mod writes script.txt, since it can both source startscripts or use luarules, the system is oblivion to that, while current test implementation ( and quantum's mission editor ) uses LuaRules, it's actually up to the modder such choice
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Missions and Campaigns : Working prototype

Post by Satirik »

not really for tasclient at least, sine it only list the campaign and missions from within the mutator/mod loaded
Post Reply

Return to “Engine”