• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

MoveEvent FootBall , automatic. [0.3.6 + 0.4]-Updated-

Well, Now I tested it and its just working with 1vs1 and not with 2vs2 or 3vs3 or 4vs4, it always says "you need 2 players" :S

Please help
 
copy the script again,

and on chaniging the verible of number of players in each time , you will have to set/add their pos in the lever(places where they will be standing when the lever is pushed) position and destination(their place inside pitch)
 
I know, lol and i did :S but dosnt work.... can i upload it so you can take a look :D?
 
bug or i'm wrong :)
Code:
                          --Position of #TEAM_1# players standing to pull the lever
                              {x = 1025, y = 1024, z = 7},
                              [COLOR="red"][B]{x = 1026, y = 1024, z = 7},
                              {x = 1026, y = 1024, z = 7}[COLOR="blue"],[/COLOR][/COLOR][/B]
only wrong i see there is that last comma ;P
 
@up

This will take time , just use the script as it is i don't have time , sorry. :(
 
can whos rehost map ?
And i have problem when i click Laver after 0.1-1 sec i see that : 20:59 Neither of teams won.!
.... whats wrong?
 
can you rehost the map?
and where should I add new positions if I want to make teams - 2 players each team
 
About map i think i dont have it anymore and also think it the script will be useless without the map, so i will try to rehost it.

As for team increase watch this :

this is the normal config with 1 player per each team
Lua:
<config name="tutorial_m"><![CDATA[
 c = {
 
    speed = 250,   -- base speed for all players.
 
	players = 1,  -- ****Change to number of players per each team, but keep on mind by changing this you will add new positions for each team in : 1- in the team1pos varible | 2- in the destination verible
 
	 pitchpos = {fromx = 1012, fromy = 1015, tox = 1034, toy = 1023, z = 7},    -- here you need to put the x and y from the farest north west sqm of the pitch, to the farest west east sqm in the pitch(including goal)
 
     ballpos = {x = 1023, y = 1019, z = 7}, -- default position of ball in middle of pitch
 
     original = 60 , --match time ( it will be devided by 2 for each half)
 
     team1pos = {
                          --Position of #TEAM_1# players standing to pull the lever
                              {x = 1025, y = 1024, z = 7},
						 --- Position of #TEAM_2# players standing to pull the lever
                              {x = 1023, y = 1024, z = 7}
	                  },
 
	 destination = {
	                    --- team 1 pitch side
                           {x = 1027, y = 1019, z = 7},
						--- team 2 pitch side
                          {x = 1020, y = 1019, z = 7}
                      },
 
     storage = 1919,
 
	 BLUE_SCORE = 1223,
 
	 RED_SCORE = 1224,
 
      rewards = true,     -- by disabling this you will disable the score broadcast and the win add to site part
	       rewards_id = {2494, 2472, 2514, 2160} --Player are rewarded randomly
	 }
 
 
 
 
]]></config>


Now lets say i want to make 3 players per each team


Code:
<config name="tutorial_m"><![CDATA[
 c = {
 
    speed = 250,   -- base speed for all players.
 
	[B][I][FONT="Book Antiqua"][COLOR="blue"]players = 3, [/COLOR][/FONT][/I][/B]	 -- ****Change to number of players per each team, but keep on mind by changing this you will add new positions for each team in : 1- in the team1pos varible | 2- in the destination verible
 
	pitchpos = {fromx = 1012, fromy = 1015, tox = 1034, toy = 1023, z = 7},    	 -- here you need to put the x and y from the farest north west sqm of the pitch, to the farest west east sqm in the pitch(including goal)
 
    ballpos = {x = 1023, y = 1019, z = 7},										 -- default position of ball in middle of pitch
 
    original = 60 , --match time ( it will be devided by 2 for each half)
 
    team1pos = 	{
                --Position of #TEAM_1# players standing to pull the lever
					{x = 1025, y = 1024, z = 7},
					[COLOR="red"][B][I][FONT="Book Antiqua"]{x = 1025, y = 1024, z = 7},	-- added
					{x = 1025, y = 1024, z = 7}	-- added[/FONT][/I][/B][/COLOR]
					
				--- Position of #TEAM_2# players standing to pull the lever
					{x = 1023, y = 1024, z = 7},
					[COLOR="red"][B][I][FONT="Book Antiqua"]{x = 1021, y = 1023, z = 7},	-- added		
					{x = 1022, y = 1022, z = 7}		-- added[/FONT][/I][/B][/COLOR]
	                
				},
 
	destination = 	{
	
					--- team 1 pitch side
						{x = 1027, y = 1019, z = 7},
						[COLOR="red"][B][I][FONT="Book Antiqua"]{x = 1024, y = 1019, z = 7},-- added
						{x = 1025, y = 1019, z = 7},-- added[/FONT][/I][/B][/COLOR]
						
					--- team 2 pitch side
						{x = 1020, y = 1019, z = 7},
						[COLOR="red"][B][I][FONT="Book Antiqua"]{x = 1023, y = 1019, z = 7},-- added
						{x = 1022, y = 1020, z = 7}-- added[/FONT][/I][/B][/COLOR]
						
                     },
 
    storage = 1919,
 
	BLUE_SCORE = 1223,
 
	RED_SCORE = 1224,
 
    rewards = true,     -- by disabling this you will disable the score broadcast and the win add to site part
	    rewards_id = {2494, 2472, 2514, 2160} --Player are rewarded randomly
	 }
 
 
 
 
]]></config>

Ps: i donno why tabbing looks fucked up :D
 
Last edited:
Back
Top