Jump to content

DarkLink

Members
  • Posts

    610
  • Joined

  • Last visited

Everything posted by DarkLink

  1. I love the INSIDER idea!! But I need to think about how to make it interesting, I mean. Why will make insider do that? I mean I need to set another goal like, insider win if mexicans wins. if not, insider loses. Insider will be on cop team but need to help emigrants to win too. On end of round if emigrants win would say on screen: "Emigrants and "Insider_name_here" won this match!" What do u think? By the way, I didnt like much the mexicans idea bro I mean it will be alot unbalanced if there are tricks like that, no? And I dont want to get outside of reality much u understand? Thanks for ur suggestion!! I maybe improve and set insider idea!
  2. Thanks bro Ye I have time now, so I can easly make things more fast eheh Thanks for everything ! EDIT: I forgot to say that if you guys have any suggestion to this gamemode just give me! and I will think about it, could be great ideas! Thanks!!
  3. Thanks guys, by the way. I wanna tell u that I am focusing making things with both action and rpg stance, so all the players will be satisfied There will be in this gamemode, alot of action but rpg things too! Like money system, jail system, mine system, lights of car system, thats all about RPG. You can choice between has cars lights on or of.. You helped me in one of my problems, right on the beggining
  4. --------------Multi Theft Auto----------------- ...::::BorderPatrol GAMEMODE by DarkLink::::... 1. Gamemode Introduction 2. Interesting features 3. Pictures 4. Features Done 5. Features Being Done 6. Credits and Stuff 1. Gamemode Introduction As the name indicates, it is something like the border patrol. I tried to give some "plot" to this, to do so I made very similar things that happens in the United States, the illegal immigration of Mexicans. To try to simulate this, the map that would create as a sample of the gamemode is near Las Venturas. The boundary is precisely between the Desert and the city of Las Venturas. Physically the border will be a huge barrier, and along this barrier there will be only [3 to 5, need to think about this] spots to accomplish the passage. There will be two teams, the officers borderpatrol and emmigrants [i was thinking about mexicans, but I dont want to create any type of racialist problems, i have no problem against mexicans btw! By the way, I had vacation on cancun, is really nice people] There will be only a few vehicles distributed through the desert for Mexicans to move about. Since the police patrol will have a good fleet of vehicles available. [depending on their money, talk about this later on post] The emigrant team's goal is to reach the point of shelter (an house of illegal immigrants), this team will work as a team, so.. just a team member need to arrive at that house for this team win. [Need to think about this, if is just need one to reach the house, all the team.. or a few] [Was thinking about dynamic numbers, depending on the players that are logged, if there are too much, like 5 emigrants need to reach house to win.. if there are just a few players on server like 3 or 4, just one need to reach the house..] The aim of the team of officers is to defend the border as possible, holding emigrants outside. When the game ends (either one or another, not all): - An illegal immigrant comes to the house;[or the number of emmigrants stablised by the numbers of players on server] - When police arrest all immigrants; - When timer reach zero. (NOTE: the gamemode is being created so that any of you can make your map concerned for the gamemode, not having to change no script file or map. You will just need the map editor, and set the map gamemode as borderpatrol nice ahn? :b) 2. Gameplay Info/Interesting Features/Plot - This gamemode is always be played at night with lots of fog. - Each player has a blip associated with it, but is only seen by team members. - When an emigrant go into USA through border's passages , his blip will be seen by everyone, this mean that any police can see it on the map. >>> Emmigrants - Advise all emigrants who move in the vehicle, to not turn on the lights at less than 500m [value needs to be thought] of the cop's radar. If turn on, will appear as a red blip on the mini-map of the cops. - But well.. if you are on USA doesnt matter, because you will be seen. - Beware, the desert has many traps! one of them are mines that had been placed in the previous year by police of Las Venturas. So I suggest turning on the lights of your car, but beware of the police! - You can only see the mines if you have lights on! [Need to think about more traps ] - Do not get too close to the police, or they will arrest you, and its a loss for your team, you need many emigrants active, easier to win! - Not to shoot at a cop! he will be allowed by "government" to automatically defend himself, that is, to kill you! >>> Borderpatrol Officers - Be always focus at your mini-map, when radar detect any car with lights on a radius of 500m [value needs to be thought], it will appear as blip on your mini-map. - By mini-map I mean the circle radar of gta. - Do not shoot an emigrant with a firearm, unless it is in self-defense, otherwise the "government" arrest you! - Hit any emigrant with your nightstick so they will fall to the ground, and then you hold him on your prisoner's vehicle so you can go to prison and arrest him! but watch out for the rest! they are everywhere! - You need lots of organization police guys! be very focus to the possible entries! [3 to 5, need to think about it,maybe dynamic depending on players playing]! w well protected! >>>The Money System - BorderPatrol Officers: For each emigrant arrested this team gets X money. Then officers can buy upgrades for their team like helicopter upgrade [need to think in more upgrades] But look with heli will be more easier to chase emigrants!! - Emigrants: Need to think alot about this. I dont want upgrades for weapons, that would be a common thing.. So when I have news about money system for emigrants, I talk about it. 3. Pictures The Border! A passage point! Another passage point! The prison! 4. Features Done - Car Lights Sync [bind to l key] - Radar see cars (of emigrants) with lights on and puts a blip on them. - Choose Team System + Timer + AutoBalance [automatic, puts you on other team if the team u want have one more player than the other team] - Table of team vs team + player grid list - Teleports at the border [maybe 3 to 5, need to think about it] - The Border - Player bips - Send to prison system - HandsUP system of EMI team - Trap System [mines] - 03/07/2011 - Goals System. [drugs] -07/07/2011 - Fire System. 12/07/2011 5. Features Being Done - Goals System. - Trap System. - Fire System. - Death System. [btw there are no respawn at this gamemode] - Spectating System - Prison Rescue System - Money System Among many other things that might arise on my head 6. Credits and Stuff Okay 1º I want to thanks ALL MTA TEAM for doing this mother**ck**g mod for GTA! ITS AMAZING! 2º, I wanna say that I am doing this by myself at my free time, since now I dont have school 3º, there are many people here at forum helping me on my problems and bugs, I wanna thank all of them, so they are: Forth, I hope I can finish this gamemode till my school start, dreaming about this gamemode since 2008. 4º, SORRY about my bad english, its not my native. 5º and most important step, there are many people here at forum helping me on my problems and bugs, I wanna thank all of them, so they are: BIG THANKS TO: JR10 Chlorek Solidsnake14 Wojak CowTurbo SDK volk-rus BinSlayer1 qaisjp [DemoN] Gothem CrystalMV [DKR]Oz Benox.exe AcitanoX NinetyNine Buffalo Remi-X Forgot the 6º step Sorry about this BIG wall of TEXT!! Oh and look, I will add pictures later! Its 7 am here at portugal, my body need to rest ;x
  5. ahhh putting on interior should work !! NICE I will try the setVisibleTo and change interior, talk to u later guys saying if it worked. thanks
  6. Thanks for ur answer, and I guess yes, there is a reason, I found this on wiki: This function sets the alpha(transparency) value for the specified element. This can be a player or a vehicle. Its true? or .. changed? ty
  7. Okay guys, I went to setElementVisibleTo page and notice that there are some elements that cannot be invisible. because of sync.. But I want to do it client side, in some condition I want the object invisible to that client, and in another condition I want the object visible to client. Is there a possible suggestion? I though that I could do it, using move object. when I dont want client to see, I move object to sky, and when I want it to be seen I move it to the ground. But this is not a good solution for me, becouse the ground is not flat at that point.. Thanks guys in advance. EDIT: Personally I was thinking to myself here .. We can pick objects in the map file to put them on a table and when we dont want to view them we destroy them. When we want to view them we create them, in the same coordernadas they were created. Is it possible? or there are better solution? ty Thank you!
  8. Thanks guys, Found my problem LOL! I had on my map, 2 markers with same name, coords, colors, everything.. like a clone.. And when I was setting alpha 0 for that marker, the other marker was still there with alpha 255 Now I delete one from the map file, and its working. thanks
  9. Its not working jacob, I tryed this: setElementVisibleTo(xara,getRootElement(),false) but its not working , the marker is visible, i dont have any errors on console. Should I create marker with visible to nil? instead of creating with visible to the root and then change its visibility to false for everyone... Thanks! EDIT: I NOTICE this on wiki: https://wiki.multitheftauto.com/wiki/SetMarkerSize Setting negative value will "flip" the marker, do nothing or make it invisible: .. .. So if I put a size negative will make the marker invisible? ty
  10. Worked with one more verification, this one: if getElementModel(carro) == 599 then .. but the table should give only the vehicles of that model (599) but doesnt.. so the function getVehiclesOfType is bugged? I would like some answer from MTA Team, or from someone that really knows what is the exactly problem of this function. Thanks guys.
  11. The problem is that, the table is getting other vehicles that are near the player, but if this vehicles are not of model 599 it shouldn't warp the ped! And is warping with car models 599 all others.. kinda weird
  12. Thanks for ur help guys, but it should not be necessary of use that .. If the table will get only cars with model 599 why another if ? Thanks!
  13. Okay so, I have a problem here in my function. I am trying to fix this from about 2 hours ago and cant find the issue.. It was working before, not anymore. function prenderTipoNoCarro(keyPresser) local x,y,z = getElementPosition(keyPresser) local vehicles = getVehiclesOfType(599) for i, k in ipairs (getPlayersInTeam(team_immigrantsSP)) do local x1,y1,z1 = getElementPosition(k) if (getDistanceBetweenPoints3D ( x, y, z, x1, y1, z1 ) < 3 ) then if(isPedOnGround(keyPresser)) then if (getElementData ( k, "handsup", false) == true ) then for carValue, carro in ipairs(vehicles) do local q,w,e = getElementPosition(carro) if(getDistanceBetweenPoints3D ( x, y, z, q, w, e ) < 6) then local x = 1 while(x ~= 4) do if(getVehicleOccupant(carro,x) == false) then warpPedIntoVehicle ( k, carro, x) toggleControl ( k, "enter_exit", false) outputChatBox("You are arrested!", k, 30,144,255) return end x = x + 1 if (x == 4) then outputChatBox("The car is full, you cant put more Emigrants here, arrest this ones at prison", keyPresser, 30,144,255) end end end end --outputChatBox("Maybe you are too far from prisoner's truck..?", keyPresser, 30, 144, 255) else outputChatBox("He is not hands up yet!", keyPresser, 30,144,255) end else outputChatBox("You need to be out of the vehicle and in the ground!", keyPresser, 30,144,255) end else outputChatBox("You are to far from any Emigrant!", keyPresser, 30,144,255) end end end This function is binded to a key. Its working at any car, and its suppose to work only to the cars on table vehicles (that are near the police), because its the table with all police rangers on server. Can anyone give me a hand here? Thanks alot guys.
  14. weird I though I could use it, didnt even read all the wiki page My mistake, sorry guys. Thanks jacob
  15. Well I can also use that, but setElementAlpha should work local xara = getElementByID("xara") local x,y,z = getElementPosition(xara) function teleporte (deliver, hitElement) if(isElementWithinMarker(hitElement, entrada)) then removePedFromVehicle(deliver) setElementInterior( deliver, 6) setTimer(setElementPosition, 500, 1, deliver, x, y, z + 1) toggleControl( deliver, "enter_exit", true) setElementAlpha(xara,0) else outputChatBox("car not in marker") end end function is being called.. player is being teleporte to the marker, but marker is full opaque.. must be invisible if I put 0 on alpha argument thanks jacob
  16. Okay guys, hi there, I am with a little problem here. I want to make a marker invisible, this marker is inside a interior. I have this to get the marker from map file: local xara = getElementByID("xara") and then when player teleports to that checkpoint, I have this code: setElementAlpha(xara,0) All server side, and I dont have errors on console Weird
  17. Thanks alot bro, I understand it Cheers
  18. Okay thanks, so there is index 0 , didnt understand that on the lua archives I will start using a simple for, instead of ipairs in most of cases that I need index 0 Thanks.
  19. Okay thanks, I will start using normal FORs, starting from index 0 to the length of the table/array. It should fix always the problems, I guess Thanks again!
  20. player in not attached to a blip, blip is attached to player, so uou need to use getAttachedElements this function returns a table Thanks alot bro, that was my problem, didnt notice Really thanks , u always helping me too
  21. Another function giving me bad argument, why this happens so many times guys? And always seems thats everything okay .. look my code: function teleport(hitElement) if (getElementType(hitElement) == "player") then local blip = getElementAttachedTo( hitElement ) setTimer(verifica, 2000, 1, source, hitElement) if(getPlayerTeam(hitElement) == team_immigrantsSP) then setElementVisibleTo ( blip, getRootElement(), true ) end end okay so I already have a blip attached to this player (hitElement) and want to change is visibility when the player hits the marker. and want to set is visibility to all players, so I use > getRootElement() And I get this error on console: bad argument @ 'setElementVisibleTo' I would appreciate some help, I am getting these errors too frequently, and dont know how to fix them when everything seems okay Thanks!
  22. thanks for ur help castillo but I dont get it how can it be possible.. The first iteration of the for is seat = 0 , then will look for occupant[0].. but I read on lua tutorials that there isnt any 0 index for tables thats my doubt.. soo?
  23. Ok guys I readed something about tables at LUA, and its says that a table always start with index 1 not zero. But then I see this example: https://wiki.multitheftauto.com/wiki/GetVehicleOccupants And I cant understand it I mean, getVehicleOccupants, will always get players on seats 1, 2, and 3 right? because there is no index for seat 0 on a table.. And also it says : Returns Returns a table with contents... table[seat] = occupant And if a table cant have a index 0, it will only gives the passengers, right ? seat 1, seat 2, and seat 3 ? Can someone help me , need to understand this Thanks
  24. Thanks for ur help wojak, I will try that tonight. But I was hoping someone could tell where were my error Why bad arguments? thanks guys
  25. thanks for ur help bro. but why are u doing teleports setting player position clientside ? I use server side for all of my teleport markers. thanks!
×
×
  • Create New...