Jump to content

Xierra

Members
  • Posts

    767
  • Joined

  • Last visited

Everything posted by Xierra

  1. hmm impressive! Why not making maps for BaseMode also?
  2. Ah, I see, maybe I forgot to put the table at the spawn[1]. Now I understood about the tables, but I need to learn more about multi-array table. That's all. Thanks Dak & xbost! The topic is over!
  3. Thanks Dak! It's working now. Anyway why was my previous script doesn't work?
  4. Hello guys. I wanted to make more than one spawn areas at once. I have edited the broph.lua like this: addEventHandler("onResourceStart", resourceRoot, function() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) local spawns = { } spawns[1].x = -2030.1610107422 spawns[1].y = 172.25221252441 spawns[1].z = 28.8359375 spawns[1].rot = 90.0 spawns[2].x = 423.2495 spawns[2].y = 453.2564 spawns[2].z = 564.6321 spawns[2].rot = 120.6928 local rnd = math.random( #spawns ) spawnPlayer( player, spawns[rnd].x, spawns[rnd].y, spawns[rnd].z, spawns[rnd].rot ) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 3000, 1, source) end ) But at the game it says (with debugscript 3) ERROR: MTA SA deathmatch/server/mods/resources/play/broph.lua:12: attempt to index field '?' (a nil value) aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa A little edit: To anyone who wanted the fixed version, just copy the lines! addEventHandler("onResourceStart", resourceRoot,. function() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) local spawns = { } spawns[1] = { } spawns[1].x = -2030.1610107422 spawns[1].y = 172.25221252441 spawns[1].z = 28.8359375 spawns[1].rot = 90.0 spawns[2] = { } spawns[2].x = 423.2495 spawns[2].y = 453.2564 spawns[2].z = 564.6321 spawns[2].rot = 120.6928 local rnd = math.random( #spawns ) spawnPlayer( player, spawns[rnd].x, spawns[rnd].y, spawns[rnd].z, spawns[rnd].rot ) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 3000, 1, source) end )
  5. Great! I'll be waiting soon... That's all my questions for now.
  6. Hmm, it's only for some lights. If you take an object with a light on it, should light up! For interiors, you can take an interior object. It is looking nice, but empty. You can do anything you want inside. But, interiors have no doors, so you have to make a teleport (marker or command) to go there. You can also map inside an interior too! Good luck mate. Do your best. I also liked your burnrubber map.
  7. Maybe you can place the spawn a bit higher? It takes 500 miliseconds or more to just load objects, so if you place objects right above the floor, you may fall But, if you place every of the objects, vehicles a bit higher, you won't gonna fall down off the map. OR Make all vehicles and peoples' spawn frozen for 500 or more miliseconds. Then make them unfroze. I don't really know how to make the second ones But Try it!
  8. The flag is actually Central Marker. It is used as a base in which you will need to capture it. On base, It will be used as a flag and the starting camera. On arena, It will be used as the starting camera only. You can put it anywhere you want, it's hidden while in the game. @rhbk I want a little suggestion On map vote, put one which is Don't change. And one thing, block things like this: /vote arena 20 20 It means you will force by choosing arena_20. , Second, add a cfg for team spectate restrictions. Also add a setting of map time (on each map or server?) and a free camera mode. Third, change words: SPAWN into Select That's all! And, will it support custom objects like Nippon?
  9. I'm a mapper, not so advanced but, I can make some for you. Sign me up! PM me if you accept and I'll tell you everything + 1 DM map for your clan. I can make DD maps also, but first you need to tell me the type you want to make. Active days: Friday, Saturday, Sunday. (I need to go to school!)
  10. Can somebody try to update this mod to V1.0 or newer?
  11. Post updated! I added one map. (Base_13) Sorry for not in Community cause when I'm uploading I get errors everytime. (using Google Chrome) The map screenshots: (Some of the objects are not shown because of distance) (The white spot inside the house is the base.) And the slideshow: http://img17.imageshack.us/slideshow/we ... 055521.jpg Edit! I'll edit this map and put it as base_100. It's a bit imaginary base though.
  12. All right, I wanted to start a new resource, called "Kill Chain" First, I want to make something like this: if player kill someone 2 times I don't know how to make that. Can you tell me an example a script like this: 1. Player kills someone < I don't have any idea how to do this 2. Player gets 1 score 3. Player kills someone the second time without dying. 4. Player gets 2 score and given a message (using xpeffects) and a sound (from utsounds): "Double kill!" and also in the chatbox: "Playername: Double Kill!" 5. Player was killed by someone < I know, onplayerwasted 6. Remove the streak and go back to zero kills < Don't know how 7. If player suicides, reduce score by one. < This one too After I did all of these I make more complex: 1. Player kills someone 2. Player gets 1 score 3. Player kills someone the second time without dying 4. Player gets 2 score and given a message (using xpeffects) and a sound (from utsounds): "Double kill!" and also in the chatbox: "Playername: Double Kill!" 5. Player shot someone at his head. 6. Player gets 2 score and given a message (using xpeffects) and a sound: "head shot!" 7. Player shot someone at his head the second time without dying (if player killed someone other than head, remove the heashot streak) 8. Player gets 3 score and given a message (using xpeffects) and a sound: "Double Head Shot!" and also in the chatbox: "playername: Double Head Shot!" Any help is appreciated and the resource will be publicly uploaded after I finished the resource. Maybe someone can answer how to do number 1-4 at the simpler ones?
  13. Glad to see you man! I like it! (I`m the one who PM'ed you before)
  14. Hi guys once again. This is the topic where you could post the new BaseMode maps, in which the gamemode was made by Rhbk here At first, I`ll tell you the requirements: 1. All maps should have a base_xx or arena_xx names. (xx are your map number, >100 is ok) 2. Post the maps on the community only. I will add the arena/base maps here. 3. You have to post at least 2 screenshots if you wanted to make attention to others. Tips on making a map 1. To place where the camera is rolled when the map starts, just make a marker in the BaseMode definition. These markers appear only as a flag if you name it base_xx. if not, it will be used as a camera roll at start, example is on arena_xx maps, this is a must do if you're making a new map. Put one of these on every map! (On base maps, it will snap at the flag (central marker) as the camera roll at start.) 2. If you place the map on the middle of an open field, you have to make anti rush elements or any barrier object around the map to prevent them to go out of the map. (arena only) The maps: Base Maps: Base_101 by XX3 Arena Maps: Arena_68 edited by XX3, Arena_69 edited by XX3 The base/arena names that are not allowed/used for public release. (used ones has brackets): Base: 1-99, (101) Arena: 1-67, (68) (69) If you play this gamemode, please give credit to rhbk for his hardwork. #1 DM gamemode!
  15. rhbk, I have a little suggestion 1: Can you change some of the non-english words? Mostly found on map voting. 2: Put a cfg to change the vehicle list that I can use in Base. 3: Put another cfg to change usable weapons that I can use. 4: Put another cfg for skins that I can choose from. 5: Include a dmg resource. That's all from me! Thanks buddy, I had a lot of fun there. @MadSilent: You can use a dmg script in my opinion What do you mean not open source?
  16. You don't need to download the nightly build, just download the release, MTA SA 1.0.3 And here's the resource: The Resources! And download latest version. Good luck! @WallMart: Yes you can. Find your most suitable objects. @Clash: For me, I just stop editor and rcg, then start the editor again and the rcg. Try it. It happens to me too sometimes.
  17. Sorry for long answer, but you can use RCG, it's the only way if you wanted to make a helix and a loop. Yeah, some of the generators you will find is for MTA Race. And here's the link for the RCG: Roller Coaster Generator. Good luck.
  18. Hmm... Where could I find CountingPeriod-Camera? (I'm making base_100)
  19. Hmm... Where could I find CountingPeriod-Camera? (I'm making base_100)
  20. Well, I guess you can use the SpawnPlayer function if the password is correct. (Tips: use [lua][/lua] if you want to put codes)
  21. Well, I guess you can use the SpawnPlayer function if the password is correct. (Tips: use [lua][/lua] if you want to put codes)
  22. Ok, I`ll be waiting for the next release. Anything else was cool! Now for the EDF question what's the use of Marker and Anti Rush Element? And what's the difference between Base & Arena?
  23. Ok, I`ll be waiting for the next release. Anything else was cool! Now for the EDF question what's the use of Marker and Anti Rush Element? And what's the difference between Base & Arena?
  24. Hey RHBK, I found a bug. Sometimes on the lobby, I didn't see the map loads. (I have to use votemap to do this) And after the resource loads, you can actually do punch and kick and disabled after the first round ends. And I have new to develop: 1. Make an EDF so we can make our own basemode maps. (just spawnpoint edf is enough) 2. Make more characters to choose from one team (for each gangs [team], you know there are 3 skins right? Make it) 3. Add new spectating mode and the ingame view, maybe first person view? If you can make these, this will be an awesome gamemode.
  25. Hey RHBK, I found a bug. Sometimes on the lobby, I didn't see the map loads. (I have to use votemap to do this) And after the resource loads, you can actually do punch and kick and disabled after the first round ends. And I have new to develop: 1. Make an EDF so we can make our own basemode maps. (just spawnpoint edf is enough) 2. Make more characters to choose from one team (for each gangs [team], you know there are 3 skins right? Make it) 3. Add new spectating mode and the ingame view, maybe first person view? If you can make these, this will be an awesome gamemode.
×
×
  • Create New...