# j3sus86

Members

25

0 Neutral

• Rank

• Gang
DRuG
1. ## [REL] SA-Wide Vehicle Map!

yet you all complain that they come here to use mta's map editor. should think of it as an opportunity for them to see mta's potential.
2. ## math + velocity = help me please

thank you it works! I've had this script for ages that only half worked. I actually have a few other scripts that i have similar problems with hopefully i can figure it out based on this. I really appreciate both of your efforts and time. function setVelocityRelativeToVehicle(vehicle, direction, increaseFactor) local M = getElementMatrix( vehicle ) local velx,vely,velz = getElementVelocity(vehicle) local X,Y,Z = 0,0,0 if direction == "front" then Y = increaseFactor elseif direction == "rear" then Y = -increaseFactor elseif direction == "left" then X = -increaseFactor elseif direction =
3. ## math + velocity = help me please

correct, and it works if the vehicle is right side up, using only on the z rotation. But x and y rotations need to be taken into account and I'm not sure of the math to do so.
4. ## math + velocity = help me please

need help with some math if anyone is good at it. The solution is probably simple, but I'm not good at it. -- need to check rotX and rotY to see if the vehicle is upside down to get the correct velocity to move the vehicle front, rear, left, right.. -- when the vehicle is upside down /tilted, the wrong velocities are returned function getVelocityRelativeToVehicle(vehicle, direction, increaseFactor) local velocityX,velocityY,velocityZ = getElementVelocity(vehicle) local rotX,rotY,rotZ = getVehicleRotation(vehicle) if direction == "front" then rotZ = rotZ elseif direction == "rear" then
5. ## having some trouble

that doesn't really help much, i need help with the math to calculate the offset to use with attachElementToElement(). thx for trying though.
6. ## having some trouble

that doesn't really help much, i need help with the math to calculate the offset to use with attachElementToElement(). thx for trying though.
7. ## having some trouble

I'm trying to make paintballs, that attach to a vehicle or player at the point where the bullet hit. I'm not so good at math, but i tried to base it off the glue resource, using his method of attaching at the correct offsets. I don't understand the math involved and it not working correctly. All the paintballs seem to stick to the center area of the vehicle. Any help would be much appreciated. http://mta.pastebin.com/d2f62213c
8. ## having some trouble

I'm trying to make paintballs, that attach to a vehicle or player at the point where the bullet hit. I'm not so good at math, but i tried to base it off the glue resource, using his method of attaching at the correct offsets. I don't understand the math involved and it not working correctly. All the paintballs seem to stick to the center area of the vehicle. Any help would be much appreciated. http://mta.pastebin.com/d2f62213c
9. ## [SNIPPET] Player and Vehicle Name AutoComplete

Auto-Complete player name and Vehicle Name from a sub string Well I'm new to lua but i made these and i figured they might be useful to someone.. Sorry in advance if its coded poorly but i tried. -- Completes Player Name From A Sub String -- returns for the last match found: player, theName, and number of matches found function complete_PlayerName ( sub ) local players = getElementsByType ( "player" ) sub = string.lower(sub) local success, target local numfound = 0 for theKey, theFind in ipairs(players) do success = string.find(string.lower(getCl
10. ## Multipile Object Selection

i agree!! been mentioned and i think aeron is workin on it : ) so hopefully we'll see it soon.
11. ## Respawn question on spawnpoints & pickups/icons

aight thx for the response
12. ## Respawn question on spawnpoints & pickups/icons

hmm well i was workin on a cops and robber map and was wondering if there is anyway to specify which spawnpoints will respawn first? for example making it where spawnpoints for a robber would respawn first to make sure there is always a robber instead of running into the problem of all cops. Is it decided by which spawn points come first in the .map file? closest spawn point to where a player dies? any info would be much appreciated. sry if it has already been mentioned, i searched with no sucess. *edit* (only saw some info about initial spawn points not respawning) thx another question

14. ## M!C PipeDream Video

cool map cool video
15. ## Editor suggestions.

being able to group objects in map maker would be good also, dunno if it has been mentioned, sry if it has.
×

• #### MTA Network

×
• Create New...