Kenneth Law

  • Newbie
  • Posts: 23
Some issues about custom map
«  »
Please tell me how I can restrict the existence of custom maps (objects) to a certain world?
By questioning this I mean, is there any way to place my custom maps into only one world instead of letting the maps exist in all of the worlds?
Inside the file "maps.xml" I can't decide in which world they are.
I guess someone might suggest me to create objects in scripts but as I've tried, the maps can't be added into the server in this way as they even don't appear at all.

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,105

Kenneth Law

  • Newbie
  • Posts: 23

MatheuS

  • Wiki Contributor
  • LBR | Co-Leader & Brasil Real RPG | Developer
  • Posts: 445
Code: [Select]
if( !sucess ) tryAgain();

Kenneth Law

  • Newbie
  • Posts: 23
Re: Some issues about custom map
« Reply #4,  »
I tried to add akina hill through the scripts with 'CreateObject', which works well with .xml.
But as I joined the server the mountain didn't appear.
I then took a helicopter and drove it around the area where I've placed the hill.
As soon as I flied into a certain range and height, the mountain magically appeared but not with an intact look.
It's weird!

umar4911

  • Sr. Member
  • Creating own server!
  • Posts: 472
Re: Some issues about custom map
« Reply #5,  »
Quote from Kenneth Law on April 12th, 09:45 AM
I tried to add akina hill through the scripts with 'CreateObject', which works well with .xml.
But as I joined the server the mountain didn't appear.
I then took a helicopter and drove it around the area where I've placed the hill.
As soon as I flied into a certain range and height, the mountain magically appeared but not with an intact look.
It's weird!
what's the draw distance for the object? Trying again after changing the distance to 299 or 300
I am gamer, programmer and hacker. Try to find me!
xD

Kenneth Law

  • Newbie
  • Posts: 23
Re: Some issues about custom map
« Reply #6,  »
Quote from umar4911 on April 12th, 10:07 AM
Quote from Kenneth Law on April 12th, 09:45 AM
I tried to add akina hill through the scripts with 'CreateObject', which works well with .xml.
But as I joined the server the mountain didn't appear.
I then took a helicopter and drove it around the area where I've placed the hill.
As soon as I flied into a certain range and height, the mountain magically appeared but not with an intact look.
It's weird!
what's the draw distance for the object? Trying again after changing the distance to 299 or 300
I changed the distance to 299 and 300, neither of them are working tho
Still the mountain is invisible

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 918
Re: Some issues about custom map
« Reply #7,  »
The 299 "meters" distance is taken by object's position, not the object's visual model.
So if you are at 300m far away from it's position, the object won't stream.

You can always check the distance between you and object, and see if there is truly something wrong or not.

PS: 299 keeps the objects solid (if has colision). 300+ will make it unsolid, no matter what.