Disabling laps in Team Mode

Moderator: NADEO

Post Reply
paketep
Posts: 6
Joined: 31 Aug 2011, 12:54

Disabling laps in Team Mode

Post 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!.
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Disabling laps in Team Mode

Post 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-.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Disabling laps in Team Mode

Post 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.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
paketep
Posts: 6
Joined: 31 Aug 2011, 12:54

Re: Disabling laps in Team Mode

Post by paketep »

Great!. I'll try that.

Thanks to both of you :clap:
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests