Jump to content

Puma

Members
  • Posts

    240
  • Joined

  • Last visited

Everything posted by Puma

  1. https://community.multitheftauto.com/index.php?p= ... ls&id=1306 Read description. ----------------------------------------- https://community.multitheftauto.com/index.php?p= ... ls&id=1305 Read description.
  2. Friggin' yay, managed to get an original Mario Kart: Wii model from the game ! Just gotta get the textures fixed (probably just some setting) and then they'll be ready to go ingame ! SketchUp screenies:
  3. Want something unique? Here's a list of just themes that I haven't seen yet on servers (just a few examples): Halo; World war (2?); Garry's mod; Lemmings; Donald Duck; Space How hard is it to think of something original? Most people talk about it as if everything is done already. Lol, far from that. Just do something nobody would expect.
  4. https://wiki.multitheftauto.com/wiki/Get ... enPoints3D Get the Distance Between two Points in 3D?
  5. First thing that comes into my mind is combining the position of a player's bones with LineOfSight. Detailed: A gun is just an object that is attached to one of the bones of a player (the hand, in this case). If you know the position of the elbow of that arm ánd the hand, you can use those two positions to calculate a line as an extension of the line that the positions of the elbow and hand create, directed from the elbow to the hand. If you extend that line by, for example, 10 meters and use the position 10 meters "in front of the hand", you could process a line of sight to check if it hits something. If it does, move the marker to that position. If you repeat this calculation on onClientPreRender, this might work. Again, it's just an idea: this is how I would try it. [EEEEEEEEDIEET] Here's a nice drawing btw: Hope you get what I mean. Useful links: https://wiki.multitheftauto.com/wiki/GetPedBonePosition (to get the two positions) https://wiki.multitheftauto.com/wiki/ProcessLineOfSight (to get a hit position)
  6. Ohai Remi, tijdje niet gesproken .. ------------------------------------------------- You'll have to procces two "LineOfSight"s so you get two positions on the same wall. Using the coördinates of those two positions, you can calculate the angle between it. I did it for my shells-script for Mario Kart and I'm still not sure if I have the right calculation (since the rotations in GTA are a bit weird (when you rotate a car 90 degrees, it is pointed WEST while it should be pointed to the EAST, so the Z-rotation works non-clockwise). You'll need some mathematical knowledge for this... It's not simple.
  7. Hm, that's cool . Yes I was just planning to do a race (not a balloon battle map) to see how that would go. I pm'd you a message about this. Thanks in advance .
  8. Yeah well it'd be great if you could select multiple elements (markers, objects, vehicles, spawnpoints, pickups) while holding CTRL for example, like selecting files or icons in a folder using Windows Explorer or on your desktop. And then use CTRL+A to select all elements at once.
  9. I'm just waiting for someone who creates the ability to replace ped models (playerskins). That'd be madness .
  10. You haven't seen anything of me yet http://www.PumaStudios.nl, got almost 500k downloads at GTAInside.de and GTAGarage together :').
  11. Lol, last time I contacted my host he told me that I had around 200 visitors a day, but it's a mistery how I succeeded in that . I'll see about the meta.xml-thing, as I'm too lazy for it atm.
  12. Ohai, This is a ready-to-use, very clear script for the people that want to include custom models/txd's in their maps/resources, but don't know how to make a script that does so. Download is at the bottom of this post, the script itself can be seen by clicking this link: http://pastebin.com/syrDhns0 Just save the script (see attachments of this post) in the folder of a resource (map, for example), change the content a bit (info about how to do so, is writtin in the script) and add the script in the "meta.xml", located in the folder of that resource, by adding this line in "meta.xml": Don't forget to add the .dff-, .txd- and .col-files in "meta.xml", otherwise the script won't work (see script for more info). Download available from my site (lame mta download shizzle is offline): http://www.pumastudios.nl/replacemodels.rar !!NOTE: All files can be editted using NotePad. Hope it's useful , good luck with it. *maybe some moderator could make this topic a sticky one?*
  13. Thanks. I'll keep that in mind. The amount of servers isn't a problem for us: we've got a VPS and we can do everything we want with it. Adding a Mario Kart server won't cost us anything but time . About the dimensions part: It's a good idea, but it takes quite some time to do that right. I had the same idea earlier and put it somewhere at the bottom of the to-do list. Main focus at the moment is getting a list of maps and vehicles and getting the ?-blocks script (which includes the items) fixed as good as it gets.
  14. Haha, we'll see about that . We also got a community running and we don't want the community to split up because of multiple servers: we haven't got buckets full of members and splitting the community up into servers could cause the community to split up in small groups, which means that there is less player-to-player contact, which maybe will make players leave the community.
  15. Well, I began scripting this whole thing like 4 to 5 weeks ago. My way of scripting is not very proper and in many cases I could have scripted things a lot shorter and more clear. The slicing bread animation was done in two hours or so, maybe less. The script is quite simple actually: function resourceStart () local bread = getElementByID ( "bread" ) local bread2 = getElementByID ( "bread2" ) local knife = getElementByID ( "knife" ) setTimer ( cutBread, 5000, 1, knife, bread, bread2 ) end addEventHandler('onResourceStart', getResourceRootElement(), resourceStart ) function cutBread ( knife, bread, bread2 ) moveObject ( knife, 500, 770, -2600.25, 10 ) setTimer ( moveObject, 500, 1, knife, 500, 790, -2600.25, 8.5 ) setTimer ( moveObject, 1000, 1, knife, 500, 770, -2600.25, 7 ) setTimer ( moveObject, 1500, 1, knife, 500, 790, -2600.25, 5.5 ) setTimer ( moveObject, 2000, 1, knife, 500, 770, -2600.25, 4 ) setTimer ( moveObject, 2500, 1, knife, 500, 790, -2600.25, 4 ) setTimer ( moveObject, 3000, 1, knife, 500, 790, -2600.25, 13 ) moveObject ( bread, 2500, 790, -2599.8, 3, -6 ) setTimer ( moveObject, 2500, 1, bread, 500, 790, -2599, 2.7, -84 ) setTimer ( moveObject, 4500, 1, bread, 6000, 790, -2599, 15 ) setTimer ( moveObject, 13000, 1, bread, 4000, 790, -2599, 30 ) setTimer ( moveObject, 17000, 1, bread, 3000, 759.75, -2561, 30, 0, 0, 211.76147460938 ) setTimer ( lift2, 20000, 1 ) setTimer ( moveObject, 20000, 1, bread, 3000, 759.75, -2561, 15 ) setTimer ( moveObject, 27000, 1, bread, 4000, 759.75, -2561, 2.6 ) setTimer ( moveObject, 35000, 1, bread, 1000, 759.75, -2561, -10 ) setTimer ( destroyElement, 36000, 1, bread ) setTimer ( addSlice, 4000, 1, knife, bread, bread2 ) end function lift2 () local bread3 = createObject ( 10757, 759.75, -2561, 30, -90, 0, 211.76147460938 ) moveObject ( bread3, 3000, 825, -2570.5, 30, 0, 0, -31.76147460938 ) setTimer ( moveObject, 3000, 1, bread3, 3000, 825, -2570.5, 15 ) setTimer ( moveObject, 10000, 1, bread3, 4000, 825, -2570.5, 2.6 ) setTimer ( moveObject, 18000, 1, bread3, 1000, 825, -2570.5, -10 ) setTimer ( destroyElement, 19000, 1, bread3 ) end function addSlice ( knife, bread, bread2 ) local bread = createObject ( 10757, 790, -2601, 3 ) moveObject ( bread, 3000, 790, -2600, 3 ) setTimer ( cutBread, 3500, 1, knife, bread, bread2 ) end That's it . Just a lot of timers and moveObjects. The hardest part was the timing: I got the positions from mapping the objects in the map-editor. I am not going to release this resource . It's too valuable . Since I'm making exclusive maps and vehicles, this sort of new gamemode can not be combinated with the race resource: the maps are made for only 8 players. There will be an 8-slot server in the future. Maybe we'll do a beta or something like that, because I want the server to be complete in many more ways than only vehicles, ?-blocks and cool maps. In the race maps that will be made in the future, coins can be picked up. By picking up these coins and winning races you gain acces to more and better vehicles. It's just a lot of ideas and it takes a lot of time to work out these ideas so they have quality. Keep in touch, I'm going to post less updates, so I can do a big promotion thingie with maybe a BETA in a few weeks.
  16. Video of the latest version of the resource (+ much more), recorded today..
  17. Puma

    Clock resource?

    Gamesnert made the script and I did the images, kthnxbai. We didn't release it. It's stolen from our server (which has happened a few times already).
  18. Yeah well if the next MTA would support custom player skin models, that'd be even better...
  19. There will be at least óne 8-player public Mario Kart server when this is all done. Beware of more crap coming up.
  20. Puma

    MTA Admin Panel

    I DON"T KNOW AAAAAAAAAAAAHHHHH!!
  21. First car done (Streamliner):
  22. Nope, no col shadow, just the texture. Threw an 8-player testserver online with one map and tested it with a few people. Some screenshots: Fun.
×
×
  • Create New...