world Boundaries.

Started by Williams, Jan 14, 2016, 06:44 PM

Previous topic - Next topic

Williams

Hi, i want to make a world Boundaries so any one help me  want like that!



i think i want to add like this :- <WorldBoundaries MaxX="5000.0" MinX="-5000.0" MaxY="5000.0" MinY="-5000.0"/>
or
SetWorldBounds(5000.0, -5000.0, 5000.0, -5000.0 );

which one is right?
Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

jayant

You mean you want to bound that player in the spawn place before the round starts ? If so,you can use inPoly() function

Anik

I think he wants to set cinematic borders

Williams

Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

KAKAN

Quote from: Williams on Jan 14, 2016, 06:44 PMwhich one is right?
I think both are correct ^^ :P

Oh, well, now tell what you want in clear words.

You want an arena from which a player can't escape without the use of commands? Or you want to set world bounds?
oh no

Williams

Quote from: KAKAN on Jan 16, 2016, 06:12 AM
Quote from: Williams on Jan 14, 2016, 06:44 PMwhich one is right?
I think both are correct ^^ :P

Oh, well, now tell what you want in clear words.

You want an arena from which a player can't escape without the use of commands? Or you want to set world bounds?

Yup @KAKAN i need to set world bounds..see the image on the above ^^
Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

MacTavish

World bound will be applied on whole server means you can not cross the line. what you wanna do with world bounds wanna make a limited placed server

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Williams

When player join it's show a boundaries and when its spawn it's will not show..i only want on player join.
Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

MacTavish

got it you want cinamatic lines
onPlayerRequestClass(player)
{
SetCinematicBorder( player, true );
}

onPlayerSpawn(player)
{
SetCinematicBorder( player, false );
}

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Williams

Quote from: Kusanagi on Jan 16, 2016, 10:02 PMgot it you want cinamatic lines
onPlayerRequestClass(player)
{
SetCinematicBorder( player, true );
}

onPlayerSpawn(player)
{
SetCinematicBorder( player, false );
}

Okay thanks :)
Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

[VM_U]Spectra.PhantoM^

Really Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);
Wanna Talk To Me? Come At Irc #Jugo@LUNet

MacTavish

Quote from: {ultimatejugo] on Jan 17, 2016, 07:51 PMReally Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);

Dont you see it has been solved he just want that Black CinematicBorders

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

KAKAN

Quote from: {ultimatejugo on Jan 17, 2016, 07:51 PMReally Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);
In server.conf? o.O
oh no

[VM_U]Spectra.PhantoM^

#13
Quote from: KAKAN on Jan 18, 2016, 08:53 AM
Quote from: {ultimatejugo on Jan 17, 2016, 07:51 PMReally Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);
In server.conf? o.O
Yup. i mean there are two server files. server.cfg and server.conf. just open .conf with notepad and paste there.
Quote from: Kusanagi on Jan 17, 2016, 07:55 PM
Quote from: {ultimatejugo] on Jan 17, 2016, 07:51 PMReally Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);

Dont you see it has been solved he just want that Black CinematicBorders
ok then.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

KAKAN

Quote from: {ultimatejugo} on Jan 18, 2016, 01:20 PM
Quote from: KAKAN on Jan 18, 2016, 08:53 AM
Quote from: {ultimatejugo on Jan 17, 2016, 07:51 PMReally Really Easier way.....
Add this in server.conf.
SetWorldBounds(x,y,z);
In server.conf? o.O
Yup. i mean there are two server files. server.cfg and server.conf. just open .conf with notepad and edit.
Have you tested it? it doesn;t work for me man!
oh no