Pinda Posted May 14, 2010 Share Posted May 14, 2010 Meta <meta> <info gamemodes="race" type="map" name="Assassin's Bum Life" author="Assassin natuurlijk" version="1.0.0" /> <map src="Assassin-BumLife.map" dimension="0" /> <script src="client.lua" type="client" /> <settings> <setting name="#skins" value='[ "cj" ]' /> <setting name="#maxplayers" value="[ 128 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> <setting name="#ghostmode" value='[ "false" ]' /> <setting name="#time" value="12:0" /> <setting name="#vehicleweapons" value='[ "false" ]' /> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#weather" value="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#waveheight" value="[ 0 ]" /> <setting name="#respawntime" value="[ 5 ]" /> <setting name="#locked_time" value="[ false ]" /> <setting name="#duration" value="[ 1800 ]" /> <setting name="#respawn" value='[ "timelimit" ]' /> settings> meta> and client.lua red,green,blue,alpha=0,255,0,0 addEventHandler("onClientResourceStart",getResourceRootElement(),function() setWaterColor(red,green,blue,alpha) end) what i did wrong ? Link to comment
Pinda Posted May 14, 2010 Author Share Posted May 14, 2010 I want to open it in map editor 1.0.0 but it wont work Link to comment
robhol Posted May 14, 2010 Share Posted May 14, 2010 Any chance you could be any less specific? The excess of detail smothers me. Link to comment
dzek (varez) Posted May 14, 2010 Share Posted May 14, 2010 i think after he open map in editor the water color isnt changing (as script isn't fired up, just map loaded, am i right?) OR he want to have possibility of chaning water color in map editor. i bet on 1 option anyway Link to comment
Pinda Posted May 14, 2010 Author Share Posted May 14, 2010 i think after he open map in editor the water color isnt changing (as script isn't fired up, just map loaded, am i right?)OR he want to have possibility of chaning water color in map editor. i bet on 1 option anyway im not stupid so option 2 can go away ok, for the detail. i create a map, and because 1.0.0 editor has so many bugs, it crashes a lot of times. so i already edited the meta and added a client, (mods\deathmatch\resources). when i open the editor again, i open the map. no change of water color. and when i try to test it. it wouldnt load. Edit is it even possible to load a client.lua in the map editor ? Link to comment
dzek (varez) Posted May 15, 2010 Share Posted May 15, 2010 f8 login your_login your_pass start your_resource Link to comment
Pinda Posted May 15, 2010 Author Share Posted May 15, 2010 the resource is the zip file with the .map meta and .lua ? Link to comment
dzek (varez) Posted May 15, 2010 Share Posted May 15, 2010 omg you are creating maps, scripts etc etc, and you dont know what resource is??!!??!! https://wiki.multitheftauto.com/ https://wiki.multitheftauto.com/wiki/Resources Link to comment
Pinda Posted May 15, 2010 Author Share Posted May 15, 2010 ofc i know what a resource is but why doenst it load ? Link to comment
Xierra Posted May 15, 2010 Share Posted May 15, 2010 Geez, have you refreshed the list? Just write refresh on console. If not, check the resource again. And look for messages during the refresh. Link to comment
Pinda Posted May 16, 2010 Author Share Posted May 16, 2010 yes i refreshed, like 50 times Link to comment
madis Posted May 16, 2010 Share Posted May 16, 2010 You could give import command a shot in map editor. import resourceName 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