harsh1994 Posted February 23, 2014 Share Posted February 23, 2014 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. Link to comment
Moderators IIYAMA Posted February 28, 2014 Moderators Share Posted February 28, 2014 You set the cod2mod properties? (and spawnpoints) After you set them, the map editor can't read it any more. Link to comment
harsh1994 Posted March 1, 2014 Author Share Posted March 1, 2014 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. Link to comment
Moderators IIYAMA Posted March 1, 2014 Moderators Share Posted March 1, 2014 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) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now