Jump to content

Giovanni

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Giovanni

  1. Ye ye I know there are many topics about this but I can't really get this working. I checked the MTA Wiki for help but well that kind of failed. I tried following 2 ways of creating/scripting water for MTA: 1. createWater function thaResourceStarting( ) createWater(4730,-1802.9077148438,224.25262451172,4730,-1790,224.25262451172,4705.8959960938,-1802.9077148438,224.25262451172,4705.8959960938,-1790,224.25262451172) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), thaResourceStarting) That script is placed server side. I wrote the coordinates in the right way I guess, so South-East after..... you know what I mean. Just like it is listed in the Wiki. Well nothing worked. 2. (?) Somewhere I read about those tags. I really don't know how to use them. Also the Wiki didn't help me with this question. I just tried my luck and did this: <water 4730,-1802.9077148438,224.25262451172,4730,-1790,224.25262451172,4705.8959960938,-1802.9077148438,224.25262451172,4705.8959960938,-1790,224.25262451172 /> I placed it in the meta.xml file, after that the map didn't work anymore, what I expected. So if you please could tell me how to use the tag. Thanks.
  2. Giovanni

    SKC Customs

    OMFG that maps look AWESOME! I think I'll also join your server, just to play those maps Nice way of Advertising btw
  3. Thank you for your support guys! Here is a link to download my DFF, COL and .max files(in case of you want to edit or w/e): http://solidfiles.com/d/c746/ || That's a new object but I changed my script to fit for this one. A little update: I was able to insert the model now. Realy thank you. But I´ve another problem. There is like an area around my model which is solid, not the model itself. I replaced Object ID 4000 now. I decided to turn around the object in the editor. From the other side the object isn't solid at all, that means you can drive through it: Uploaded with ImageShack.us I probably made a mistake at saving/exporting the object but you'll see. But again, thank you all. I came forward very much now with this work.
  4. So when it says the resource can't be found it means it´s already running Nvm lol, is there a way i can load a separate file as well? And about the 3D object, I did it like in the tutorial for 3D moddeling on the MTA YouTube channel.
  5. Thank you. But still it doesn't work. I created a txd file now. I also made a new 3D object and worked over the script now so it looks like that: client.lua addEventHandler('onClientResourceStart', resourceRoot, function() local col = engineLoadCOL('smile.col') engineReplaceCOL(col, 1234) local dff = engineLoadDFF('smile.dff', 0) engineReplaceModel(dff, 1234) local txd = engineLoadTXD('smile.txd') engineImportTXD(txd, 1234) end ) When i test the map, the object was replaced, but it is invisible and not solid. When I use /start client it tells me that the resource could not be found. So if you could please help me again, Thank you
  6. Hey there, I took a look at a tutorial for creating custom objects and got this: meta: <meta> [b]<file src="map/ramp.col" />[/b] [b]<file src="map/ramp.dff" />[/b] <script src="test2.lua" type="client" /> <info gamemodes="race" type="map" version="1.0.0" /> <map src="race-Testmap.map" dimension="0" /> <settings> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#maxplayers" value="[ 128 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#weather" value="[ 0 ]" /> <setting name="#time" value="1:0" /> <setting name="#locked_time" value="[ false ]" /> <setting name="#waveheight" value="[ 0 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> </settings> </meta> test2.lua local modelNames = { "map/Quader001", } function reloadModels( ) for i, modelName in ipairs( modelNames ) do local temp = engineLoadDFF( modelName .. "ramp.dff", 0 ); engineReplaceModel( temp, (i-1) + 4000 ); temp = engineLoadCOL( modelName .. "ramp.col" ); engineReplaceCOL( temp, (i-1) + 4000 ); end end addEventHandler( "onClientResourceStart", getResourceRootElement(), reloadModels ); addCommandHandler( "reload", reloadModels ); --------------------------------------------------------------------------------------------- Well that's the code. My objects are inside the folder "map" as you can see. I've there following objcets: ramp.dff ramp.col I don't have a txd file since I wasn't able to figure out how to create it. Anyway the problem is, that 1. The script isn't able to be loaded, also if I use /start test2 2. I doubt that it'll work, also if the script will be loaded. So if you could help me. Thank you.
  7. Nvm it works now. If Admins could please lock this topic. Thank you.
  8. Hello, lately i had little problems with my editor and stuff but i didn´t worrie about that much. Now i started up my client and wanted to connect to a server but I can´t. I get following crash information: Version = 1.0.4-release-2106.0.000 Time = Tue Dec 14 19:56:27 2010 Module = *:\Windows\SYSTEM32\ntdll.dll Code = 0xC0000005 Offset = 0x00046BF0 EAX=00000024 EBX=00B71848 ECX=008E2C30 EDX=00B71848 ESI=00000024 EDI=00000020 EBP=0022FD2C ESP=0022FD18 EIP=77756BF0 FLG=00010202 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 I realy don´t know what to do. I re-installed MTA 3 times already. Thank you anyway Edit: I looked at this post: https://forum.multitheftauto.com/viewtopic.php?f=104&t=30559 I have no mods and i downloaded the older version of MTA. But now i must download 1.0.4 to play on that server again so that doesn´t help me. Btw, my GTA works in singleplayer perfectly. oh looks like my GTA isn´t working anymore Going to re-install it...
×
×
  • Create New...