Mission development wiki
Moderator: Moderators
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
http://spring.clan-sy.com/wiki/Mission_ ... ment_Guide
Last edited by gamer17 on 02 Jun 2007, 16:33, edited 1 time in total.
- Complicated
- Posts: 369
- Joined: 06 Jun 2007, 18:51
Re: Mission development wiki
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
you can add restrictions using the format for startscripts:
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;
}
Except for some reason I have 1000K storage for metal and energy...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
//...
}