Jump to content

errsousa

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by errsousa

  1. 2nd song is in another script. Is it possible to put both in the same script? song 1 starts with map and fades out when song 2 comes in (can be by a cp, a marker, wtv) - song 2 fades out and song 1 comes back again.
  2. Hi, So i'm making a map that has a custom song (music.mp3) and at one point in the map i play a custom sound (music2.mp3 - 3seconds). Unfortunately the second sound is not loud enough because of the bg music. So, can someone please provide me a simple script to fade out music.mp3 when music2.mp3 plays and then fade in music.mp3 again? I'm using this script for the custom sound (music2.mp3 -3 seconds). --speedboosts-- function start() SpeedBoost = { createMarker ( -1906.3000488281, -5613.7001953125, 117.30000305176, "corona", 0, 0, 0, 0, 255), } end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), start ) Multiplier = 1 function SpeedBoost (player) if player ~= getLocalPlayer() then return end if getElementType(player) == "player" then if isPedInVehicle ( player ) then local car = getPedOccupiedVehicle(player) if getVehicleController(car) == player then speedx, speedy, speedz = getElementVelocity ( car ) speedcnx = (speedx*Multiplier) speedcny = (speedy*Multiplier) speedcnz = (speedz*Multiplier) setElementVelocity ( car, speedcnx, speedcny,speedcnz ) sound = playSound("files/liberty.mp3") setSoundVolume(sound, 1) end end end end addEventHandler ( "onClientMarkerHit", getResourceRootElement(getThisResource()), SpeedBoost )
  3. I just figured it out. Now i have another problem...the textures get squeezed
  4. Hm, the problem is mta/gta object limit size. The maximum i can use per object will give me a small circuit... Can i divide an object in half, therefore making it object 1 and 2? Like that...
  5. Hi, So i downloaded one super mario kart circuit model for 3ds max and tried to put it into a map but got some problems. 1st - I think the model was too big so MTA crashed when i started the race. 2nd - Someone told me that the maximum size of an object had to be 512 512 512 and i resized the entire circuit (im using the entire circuit as one single object) to less than 512 512 512. Ok nice, now i see it but it is too small ( a kart cant even fit there.) So i went on and tried scalling...yea it looks perfect. Wait...collisions are not working. So...is there anyway, with a script or anything, to make collisions scale as well? The 3d model had 109 objects...replacing 109 objects and building the track is not a option (99% sure). thanks in advance
  6. Now i'm also having "blank texture" models ingame. The object simply shows up all white...no texture.
  7. Thanks. I dont think i have the xmen's paint plugin but i do have 2 options on max script. First pic is how i wanted it to look like (ofc i may want to add some shadows or clarity during day) Second pic is how it looks in the game and also in 3ds when i click on the day/night buttons. What should i do? thx in advance
  8. Hey, So i'm trying to import a custom liberty statue to a map and i'm having a texture issue. The "body" of the statue looks too bright and appears to be almost transparent. I know i can try editing the photo in PS but i believe this is an issue with the brightness of the model.
×
×
  • Create New...