Jump to content

Need help...


harsh1994

Recommended Posts

Posted

I want help.

I made map in interior RC zero's battlefield but when ever i start map there is no object and i fall from the sky.

I short how to set interior in map meta files. So that map every time start with a specific interior.

  • Moderators
Posted

You set the cod2mod properties? (and spawnpoints)

After you set them, the map editor can't read it any more.

Posted

My map is not in normal world its in interior 10.

So how can i define interior in meta file, so player spawn in my desire interior, not in normal world.

  • Moderators
Posted

hmmm, that depends if bmat has set up something that can use it.

You should ask him that on the other forum. Because as far as I know the meta only controls the elements in the map file, but not in what interior they spawn.

or use a little script: (when it isn't supported)

make a file in to the same folder as your map:

server.lua

Add to meta.xml. (between the already existed meta tags .... )

Open server.lua and add:

addEventHandler("onPlayerSpawn",root, 
function (x,y,z) 
setElementInterior ( source, 10,x,y,z) 
end) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...