Page 2 of 2

Posted: 30 May 2007, 05:41
by smoth
well, I am going to print this whole thread and read it over as soon as I get some time. Thanks again for all the data guys.

Posted: 31 May 2007, 03:00
by gamer17
This is what I got so far, can anyone check it out and tell me if am on the right track?

http://spring.clan-sy.com/wiki/Mission_ ... ment_Guide

Posted: 02 Jun 2007, 05:19
by Thor
Looks good. :-) Hopefully we'll see some new missions popping up soon.

Posted: 14 Jul 2007, 17:05
by pwl
Is there a way to queue orders in startscript file?

Posted: 14 Jul 2007, 18:57
by pwl
I have found the answer, just add c.options = 32 to the command.

Posted: 14 Dec 2007, 06:43
by Complicated
How do I set the resources for the start of the game to 1000 metal, 1000 energy?

And how do I also set a maximum ammount of units?

Is there a way to disable units in the campaign (from buildlist) or do I need to make a mutator?

Re: Mission development wiki

Posted: 03 Feb 2008, 04:06
by SinbadEV
I found if you have a start script (the classic txt file kind) load you script it allows you to specify the resources and also by extension it would also allow you to limit units...

Just pass somthing like this ti spring.exe

Code: Select all

[game]
{	
	Mapname=Barren.smf;
        GameType=XTA_Installer_Version.sdz;
	scriptname=LUA SinbadEVsScriptTest;
	startmetal=1000;
	startenergy=1000;
	maxunits=1000;
	startpostype=0;
	gamemode=1;
	limitdgun=0;
	diminishingmms=0;
	ghostedbuildings=1;
	hostip=localhost;
	hostport=8452;
	myplayernum=0;
	numplayers=1;
	numteams=1;
	numallyteams=1;
	[player0]
	{
		name=SinbadEV;
		countrycode=ca;
		rank=1;
		spectator=0;
		team=0;
	}
	[team0]
	{
		teamleader=0;
		allyteam=0;
		rgbcolor=0.35294 0.35294 1.00000;
		side=ARM;
		handicap=0;
	}
	[allyteam0]
	{
		numallies=0;
	}
	numrestrictions=0;
}
you can add restrictions using the format for startscripts:
NumRestrictions=xx;

[RESTRICT]
{
Unit0=armah;
Limit0=0; // use 0 for all units that should be completely disabled
Unit1=corvp;
Limit1=50; // >0 can be used for limiting, like build restrictions in TA
//...
}
Except for some reason I have 1000K storage for metal and energy...