FirsttMn Posted August 7, 2015 Posted August 7, 2015 Hello, i have one question, im not found it here.. Can i anything change all objects, markers, vehicles, etc. dimension in map ? But only in one .map file , i have more maps (.map files, resources) and here i don't want change dimension, only in one. I want do it without changing dimension in every object in map editor .. Im finding function like setElementDimension(getAllElementsFromMapFile(), dimension) Ex.: Map1 - dimension 0, (map is resource, with meta.xml and map file) Map2 - dimension 1.
anumaz Posted August 7, 2015 Posted August 7, 2015 Pretty sure there's an argument in your .map file, you could add: dimension="2" if you want it in dim 2.. etc.
FirsttMn Posted August 8, 2015 Author Posted August 8, 2015 "editor_main" [Here?]dimension="2"[Here?]> "object (ballyring01_lvs) (1)" breakable="true" interior="0" collisions="false" alpha="255" model="3438" doublesided="false" scale="1" dimension="0" posX="0" posY="0" posZ="0" rotX="0" rotY="0" rotZ="0"> "object (shbbyhswall13_lvs) (1)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="-2.2" posY="0.1" posZ="0.1" rotX="0" rotY="0" rotZ="0"> "object (shbbyhswall13_lvs) (2)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="2.2" posY="0.1" posZ="0.1" rotX="0" rotY="0" rotZ="0"> "object (shbbyhswall13_lvs) (3)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="0" posY="0.1" posZ="2.2" rotX="90" rotY="90" rotZ="0"> "object (shbbyhswall13_lvs) (4)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="0" posY="0.1" posZ="-2.2" rotX="90" rotY="90" rotZ="0"> "object (shbbyhswall13_lvs) (5)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="-1.6" posY="0.1" posZ="-1.5" rotX="0" rotY="221.25" rotZ="180"> "object (shbbyhswall13_lvs) (6)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="-1.6" posY="0.1" posZ="1.5" rotX="0" rotY="139" rotZ="180"> "object (shbbyhswall13_lvs) (7)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="1.6" posY="0.1" posZ="-1.5" rotX="0" rotY="139" rotZ="180"> "object (shbbyhswall13_lvs) (8)" breakable="true" interior="0" alpha="255" model="9131" doublesided="false" scale="1" dimension="0" posX="1.6" posY="0.1" posZ="1.6" rotX="0" rotY="221.25" rotZ="180"> Or you mean dimension="0" at every object ? It is not good, beacause i have maps where are very much objects
Callum Posted August 9, 2015 Posted August 9, 2015 Notepad++ is a great program which allows you to update the dimension of every object in 1 instruction. If you open the file with Notepad++, and then press Ctrl+H (or Search -> Replace), do the following: Find what: dimension="0" Replace with: dimension="1" Then click 'Replace All'.
MisterQuestions Posted August 12, 2015 Posted August 12, 2015 Wont be Easier to add the dimension in meta.xm?
GTX Posted August 13, 2015 Posted August 13, 2015 https://wiki.multitheftauto.com/index.php?title=Meta.xml The map for a gamemode, possible parameters are: src: .map file name (can be path too eg. "maps/filename.map") dimension: Dimension in which the map will be loaded (optional)
FirsttMn Posted August 13, 2015 Author Posted August 13, 2015 Thanks it helped me all i didnt know in meta.xml have dimension paremeter. The Callum's "trick" is too good, i didnt know notepad++ can do these good things
MisterQuestions Posted August 14, 2015 Posted August 14, 2015 https://wiki.multitheftauto.com/index.php?title=Meta.xml The map for a gamemode, possible parameters are: src: .map file name (can be path too eg. "maps/filename.map") dimension: Dimension in which the map will be loaded (optional) Wow... idk what failed. I awnsered the same.. but i have tried it.. and dind't worked
FirsttMn Posted August 14, 2015 Author Posted August 14, 2015 I don't tryied it now, im doing other things .. I mean things and values in Client-side script are for one player (localPlayer) ? I have actions (like dialling, port, etc.) with StarGate in Client-side, and when dialling, connect, etc. these all things do only in one player, if on server will two players and one start dial, the seconds see stargate inactive.. If i "convert" it to server-side it will be "visible" for all players ? I mean true or bad ?
GTX Posted August 15, 2015 Posted August 15, 2015 https://wiki.multitheftauto.com/index.php?title=Meta.xml The map for a gamemode, possible parameters are: src: .map file name (can be path too eg. "maps/filename.map") dimension: Dimension in which the map will be loaded (optional) Wow... idk what failed. I awnsered the same.. but i have tried it.. and dind't worked My post is more detailed. I tried and it works.
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