Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Pietersen on Mar 09, 2015, 04:03 PM

Title: Map Pos
Post by: Pietersen on Mar 09, 2015, 04:03 PM
I am Facing Problem I add a custom Object but it position is always under the earth how can i set it to staright place?
Title: Re: Map Pos
Post by: Pietersen on Mar 09, 2015, 04:53 PM
can someone can tell me?
Title: Re: Map Pos
Post by: DizzasTeR on Mar 09, 2015, 06:36 PM
Welcome with a new account psycho killer?
Title: Re: Map Pos
Post by: . on Mar 09, 2015, 06:43 PM
Quote from: Doom_Killer on Mar 09, 2015, 06:36 PMWelcome with a new account psycho killer?

Man, that leave note was too good to be true :(
Title: Re: Map Pos
Post by: Thijn on Mar 09, 2015, 07:41 PM
Yup, IP matches. Please, go away.
Title: Re: Map Pos
Post by: Sk on Mar 09, 2015, 08:19 PM
just as i thought
Title: Re: Map Pos
Post by: Pietersen on Mar 10, 2015, 03:45 AM
WHAT ARE U ALL fUC**** I am not a PysChO_Killer got it?
Title: Re: Map Pos
Post by: Thijn on Mar 10, 2015, 06:45 AM
Quote from: Pietersen on Mar 10, 2015, 03:45 AMWHAT ARE U ALL fUC**** I am not a PysChO_Killer got it?
Your IP says otherwise.

Anyways, now that you've started over with a new nick, let's make the best out of it, shall we?

You've added a custom object you say, are you sure the coordinates are correct? How do you add it, XML or CreateObject?
Mind giving us a screenshot?
Title: Re: Map Pos
Post by: Pietersen on Mar 10, 2015, 01:47 PM
well i type CreateObject( 6003, 0, FindPlayer(0).Pos, 255 );    it created but it half size is in earth and i create one more this that seby give in custom object video but i can go inside it i mean i can go in from it and get out from other place
What the problem?
Title: Re: Map Pos
Post by: Thijn on Mar 10, 2015, 05:48 PM
A wrong object. What custom object are you trying to add?

Your second problem means the collision isn't added properly to your XML.
Title: Re: Map Pos
Post by: Sebastian on Mar 10, 2015, 06:20 PM
You should stop "scripting" your server via /exec command !
Do it via script.nut via CreteObject (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/CreateObject) or maps.xml like I did in the video.

The object is "in earth" because you give the object pos to be your pos.
You should test it like this:
/exec pos<-FindPlayer(0).Pos;
/exec CreateObject( 6003, 0, Vector( pos.x, pos.y, pos.z+10 ), 255 );