Jump to content

HighFlyer

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by HighFlyer

  1. I'll try my shot at it, cheers. The only thing left that buggers me a lot is when the map after saving becomes an ultimate mess. I found out that all objects beyond a certain line return to the point at which they can be streamed. And this messes up the entire map, throwing all objects into a single place. I think there's kind of this limit, that you can't build beyond a point, out in the sea, but how to avoid such a thing? Any tips?
  2. Yeah, I'm somewhat familiar with that. In such circumstance, therefore I would need to move the island in the X and Y offset, Z seems unnecessary. The only question is what approx. is the scale of GTA? What would be a good measurement to move the island a good distance out from where it already is? Thanks.
  3. http://mta.dzek.eu/mmove/ Thanks, I think I found it, Is that it? And any idea how I use it? I mean the offsets part, never actually went in depth with such stuff.
  4. Hello there, I am currently mapping an island however I would like to move it somewhere else. I have already mapped it, and it would be pointless to map it all over again in a different location. Is there any quick efficient way of moving the entire island without having to go through each object and changing it's coords 1 by 1, or even starting it from scratch? That would be a serious time waste, which I want to avoid. And while I'm on the map editor topic, everytime my map has over 500-ish objects and is long, for example a Highway, when saving, the entire map fails and a selection of objects is turned around, messed up, it's like there's some kind of a save issue, or a limit... Or is it just me missing some kind of a step or something? Thank you and regards HighFlyer
  5. HighFlyer

    Vegetation

    Hello there, I really did not know where to post this question, so I've posted it here. Basically, SA-MP has no vegetation. Is it possible to disable it in MTA? I have made certain maps such as mainland airports on areas that are overgrown with bushes and vegetation, it will be an issue for my maps most likely. If there is no way of disabling it, do you have any suggestions of how to tackle such a problem? Thanks and regards HighFlyer
  6. Damn, looks pretty tidy, sorry for not seeing that, I've only started my personal "scripting adventure" if you like with Lua. I might use that, thanks a lot. Any idea about the first option though? It would certainly be useful for overhead signs that I'm planning to texturize.
  7. Hello there, I am converting my project from SA-MP into MTA as MTA offers obviously much more functionality than SA-MP I do however have a slight dilemma on how to overcome a certain part of this "project". I have got custom mapped motorways, but the trouble is with signs. In SA-MP, there's the function Create3DTextLabel which just puts the text on a sign. Now, in MTA, there's two ways to do it from my point of view, and since it's functionality is wide, I'd prefer the first way. The first option is to replace sign textures. But if I am not mistaken, each sign has only a single texture (i.e cxrf_desertsig is a green sign, containing a single TXD file for the sign, rest TXD's is for different layers i.e posts that the sign stands on and so on). However, the sign can't be obviously just a one sign, I have to have at least 20/30 different signs. So here's my question as it stands, would it be possible to add more textures into the TXD file of the sign and replace the model with the replacement functions? For example, there would be single DFF/model, but different textures attached to it. Is it possible? Or is there anyway to duplicate the signs? Adding new models into gta3.img? Won't that crash the game or MTA? Perhaps copying the cxrf_desertsig and calling it desertsig2.txd and .dff or something? The other way is of course to add dxDrawText over the model and display it, but I suppose it's kind of useless, when MTA can do much more than that. I'd appreciate any suggestions/help from you. Regards, HighFlyer
  8. Sorry for a late reply, and I did yes, thanks a lot. It was my folder structure by the looks... The script didn't like vehicles/data/filename.txd(and/or dff) inside meta.xml. vehicles/filename.extension suits it better. Thank you
  9. May I just ask, why resourceRoot instead of getResourceRootElement(getThisResource())? Doesn't work sadly. I have however noticed that MTA downloads the textures, but does not replace them, any ideas?
  10. Hello there, I am kinda new to MTA scripting, and I have to criticize the amount of help on the forums that is available. I've been trying to research this issue, and could not find a lot. Wiki is however very well explained, and certainly it's a good thing. Anyhow, before you take me as some jerk that just moans about the fact he can't script, you're probably right, as I'm new to LUA . I would require your help if possible please, as this thing puts me in a spot a little bit, I can't see the problem why it does not work. It's in regards to object replacement function i.e engineImportTXD and DFF. Here's my code... function replaceModel() txd1 = engineLoadTXD("data/tahoma.txd", 566 ) engineImportTXD(txd1, 566) dff1 = engineLoadDFF("data/tahoma.dff", 566 ) engineReplaceModel(dff1, 566) txd2 = engineLoadTXD("data/linerun.txd", 403 ) engineImportTXD(txd2, 403) dff2 = engineLoadDFF("data/linerun.dff", 403 ) engineReplaceModel(dff2, 403) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceCar) My folder structure is following mygm = in folder mygm located is the file meta.xml --> vehicles in vehicles settings.lua and folder /data --> data contains txd and dff files which are defined in the meta.xml like this... "HighFlyer" type="gamemode" name="HighFlyer's Test Script" description="Test GM" /> Trouble is, both of them don't work I'm not sure why, because I think I did all of the steps required, I fiddled around to see if the folder structure is correct, and it seems like it, any help would be appreciated. Thanks, HighFlyer
  11. When I run the race, I get this... [21:50:31] Starting race-lossantos_chase [21:50:31] ERROR: Bad/missing 'posX' attribute in <vehicle> (line ...) [21:50:31] ERROR: Bad/missing 'posX' attribute in <object> (line ...) And I get those errors recurring in the log about 30 or 40 times on different lines. Any ideas why?
  12. Still, nothing. I even tried re-making the race Is the number of spawnpoints not a problem? I am making races in MTA Race 1.1.1 and 32 seems to be max, but one race works with 14 spawnpoints, and I have made two with around 26-28 which dont Might that be a problem? Or any other suggestions? I need it please! =(
  13. Any ideas what could be the problem then? Objects are placed correctly, 30 spawnpoints, IDK Please heeeeelp!
  14. Hello, I have a problem. I have included meta.xml file and a .map file, zipped the files, and a race runs, but it says ''Travelling to San Fierro Hotroute'' but it counts down and does not run for anyone, there is just black screen, timer and no one can race I have made 2 laps in the race, and checkpoints overlay each other on the map. Is that one of the reasons maybe for not working? Everything else is fine
  15. info: Resource was not found. I wonder why. I have meta.xml, .map, .lua and mp3 file. The file is called race-raceway. Please help =( I still get ERROR: Could not find music-blabla.lua file for resource race-raceway.
  16. Erm, in the console it says ''Couldn't find music-somethinggood.lua...'' or something. It's in the same folder tho, zipped called race-raceway.
  17. Hey guys, I have a problem, I have scripted a race on MTA Race, but wanted to make custom music. I added this into meta.xml <meta> <info author="Puzi" description="FastSpeed Raceway" version="1.2" type="map" /> <map src="raceway.map" /> <script src="music-somethinggood.lua" type="client"/> <file src="somethinggood.mp3" /> </meta> My song is in a MP3 file. This is the music-somethinggood.lua file: function startMusic() setRadioChannel(0) song = playSound("somethinggood.mp3",true) outputChatBox("Toggle music on/off using M") end function makeRadioStayOff() setRadioChannel(0) cancelEvent() end function toggleSong() if not songOff then setSoundVolume(song,0) songOff = true removeEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) else setSoundVolume(song,1) songOff = false setRadioChannel(0) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),startMusic) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) addEventHandler("onClientPlayerVehicleEnter",getRootElement(),makeRadioStayOff) addCommandHandler("musicsomethinggood",toggleSong) bindKey("m","down","musicsomethinggood") The problem although is that the script doesnt want to open, it failes to load on the console. Any ideas? Thanks, Puzi
  18. I can't run it at all on Vista Please Help! I get the following error: Windows System - Application Error Unknown Software exception (0xc0000005) under address 0x04e18c0f. Please help, I need the editor!
×
×
  • Create New...