Page 1 of 1

Disabling laps in Team Mode

Posted: 01 Mar 2015, 12:13
by paketep
Is there a way to set laps to 1 in team mode with a plugin?. Without?.

I've searched everywhere, but no luck.

I've tried both

Code: Select all

<laps_nblaps>1</laps_nblaps>
and

Code: Select all

<mode_script_settings>
    <setting name="S_ForceLapsNb" type="integer" value="1"/>
</mode_script_settings>
Any idea?. Thanks!.

Re: Disabling laps in Team Mode

Posted: 01 Mar 2015, 12:27
by undef.de
paketep wrote:

Code: Select all

<laps_nblaps>1</laps_nblaps>
Only takes effect at

Code: Select all

<playlist>
	<gameinfos>
		<game_mode>4</game_mode>
	</gameinfos>
</playlist>
paketep wrote:

Code: Select all

<mode_script_settings>
    <setting name="S_ForceLapsNb" type="integer" value="1"/>
</mode_script_settings>
Only takes effect at

Code: Select all

<playlist>
	<gameinfos>
		<game_mode>0</game_mode>
	</gameinfos>
</playlist>

So in your case this should work:

Code: Select all

<playlist>
	<gameinfos>
		<game_mode>0</game_mode>
		<script_name>Team.Script.txt</script_name>
	</gameinfos>
	<mode_script_settings>
		<setting name="S_ForceLapsNb" type="integer" value="1"/>
	</mode_script_settings>
</playlist>
See also http://doc.maniaplanet.com/dedicated-se ... RoundsBase and http://doc.maniaplanet.com/dedicated-se ... oundsBase-.

Re: Disabling laps in Team Mode

Posted: 01 Mar 2015, 13:00
by oliverde8
You could also use a controller that support script mode it makes it easier at it will simply show you the settings that are available for the current gamemode and the ones for the script mode used.

Re: Disabling laps in Team Mode

Posted: 02 Mar 2015, 00:04
by paketep
Great!. I'll try that.

Thanks to both of you :clap: