Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/11/19 in Posts

  1. With a lot of people with very potential projects presented a lot of quality mapping, I'm a bit late to introducing this but in this tutorial, I'll basically be showing off how to get your mapping into your server through means of it being client-sided. (Which I'd consider as far as displaying mapping goes instead of getting them through .jsons ala server-sided.) What you'll need. 1. First you're gonna need to gather all the tools needed to bring a mapping over to your RageMP server. I made a special folder for this tutorial. 2. Okay so here's the two .xml maps both exported from Map Editor. (But you can export it from Menyoo too) 3. So what we're gonna do next is open up ME2YM (Ymap converter) and try to convert it over. 4. When you got it opened up, goto File > Open. Then navigate your mapping, I will be bringing in my examples I got from GTA 5 Mods. (There's two of them, but I RECOMMEND you importing ONE at a time and converting them ONE AT A TIME.) 5. After getting your mapping in ME2YM, goto File > Export. And export your mapping anywhere you like. I'll be exporting mine in the same folder for the sake of the tutorial. (Again, LOOK back at number 4. ONLY import and export ONE mapping at a time.) 6. Since there's two mappings, I'll basically be doing steps 4 and 5 again for the other one. Simple. 7. After you've gotten those converted over, you're done with ME2YM! Open up OpenIV and navigate to your mapping dlcpack base by going to File > Open folder. (In this case, if you downloaded my base, find "mapname") 8. You should see the dlc archive itself when opening up the dlcpack. Open it up and go all the way to the "custom_maps" .rpf archive. 9. Import the .ymap mappings through openFormats. 10. Extract the custom_maps.rpf anywhere after importing your .ymap mappings, then DELETE the .rpf archive inside OpenIV after extracting it. 11. Next we're gonna be affixing that .rpf archive. Locate ArchiveFix and where you placed your custom_maps.rpf then drag the .rpf archive onto the ArchiveFix icon. ...and you should get this. Don't panic. It means you did something right... 12. Re-add/Import that archive back into OpenIV in the same place where you deleted it from. 13. Exit OpenIV, then locate your mapping base dlc archive. (If you're using mapname, it'll be in mapname..) 14. Drag that .rpf archive into ArchiveFix like custom_maps. 15. Then finally, go into your server's files and into client_resources. Then drop your mapping dlcpack base (or mapname) into dlcpack. (Make a dlcpack folder inside client_resources if you haven't made one.) 16. Either copy it to your client_resources as well or be lazy and just hop in game to let the server download it for you. (If you let the server download it, restart your game and client after downloading it from the server.) 17. Your mapping should be in the server for you and anyone else who joins! (Granted they download the resources too from the server..)
    1 point
  2. Hello Someone asks me, how to create a car at right side next to player. So i just wrote this little tutorial about. I hope you enjoy this little thing, which was did in two hours, and explained with a horrible english ;D Spend time: 2 hours testing the spawn of vehicles and coding + doc 3 hours making this tutorial with translation 0.5 hours thinking about, why i am doing this ... (i didn't found an answer -.-) First we have to know some things: How is the World working How is the Position working How is the Rotation working How can i spawn a car (Code snippet) How is the World working? => It is a north axis oriented map. If you open the full map ingame, top is north, bottom is south. It is every time a constant and will not change How is the Position working? => It is a Vector based information. It has three types. X => left - | + right Y => top - | + bottom Z => down - | + up The "+" and "-" are the operators here in our coordination system, which we have to use later. How is the Rotation working? => It is a Vector based information. Same here we have three types, but the number is always positive. So we can just use the Z variable. X => back | front (Not tested) Y => left | right (Not tested) Z => ground Then we will get four options: N => 0° E => 270° S => 180° W => 90° We have to use the radius to know how the player is rotated away from north. Just think about your shool days. back then you had geometry and raius was a topic of it. Ok, we got our information. Let us code that stuff Small version Doc version
    1 point
  3. Moin liebe Community, wir suchen Unterstützung für unser Projekt. Was, schon wieder ein neuer Server? Wer sind die eigentlich ? Und wen suchen die überhaupt ? Wir sind GTA Reallife (gtaRL.de). Eigentlich sind wir “nicht schon wieder” ein neuer Server, denn uns gibt es schon seit 2009. Der Server startete ursprünglich mit GTA San Andreas und der Multiplayermodifikation SA-MP und stieg 2017 auf GTA V und GT-MP um. In der Zwischenzeit ist einiges passiert - sowohl bei uns als auch bei GT-MP. Wir haben uns nach einiger Zeit dazu entschlossen, aus verschiedenen Gründen auf RAGE umzusteigen. Mit deiner Unterstützung möchten wir gerne unser Team stärken und die solide Basis unseres Scripts nutzen, um den Spielern ein noch besseres Spielerlebnis zu bieten. Warum gtaRL? Unserer Meinung nach war unsere Community das Besondere an gtaRL. Bei uns stehen die Spieler an allererster Stelle. Logisch, denn ohne Spieler auf dem Server könnte man auch alleine im Singleplayer spielen. Wir versuchen diesen Grundgedanken so gut wie möglich zu leben. Die Spieler dürfen bei uns gerne Verbesserungsvorschläge machen. Das heißt zwar nicht unbedingt, dass jeder einzelne Vorschlag eines Spielers sofort angenommen wird. Das bedeutet eher, dass wir gemeinsam mit den Spielern neue Möglichkeiten finden möchten, um den Server und das Spielerlebnis zu verbessern. Wir selbst treten dabei aber auch in den Vordergrund und führen hin und wieder Umfragen durch, um uns die Meinung der Spieler zu holen. Außerdem bedeutet das, dass die Teammitglieder nichts "besseres sind" als die anderen Spieler. Wir spielen genauso mit, wie jeder andere Spieler auch. Es gibt keine bevorzugungen wie etwa eine “Teamvilla” oder ähnliches. Außerdem "verbarrikadieren" wir uns nicht dauerhaft in irgendwelchen internen Channel, sondern sind auch gerne mal im Public-Channel um mit den Spielern zu quatschen. Wer sind die Teammitglieder von gtaRL ? Momentan besteht das Team aus jeweils zwei Supportern, Grafikern, Entwicklern und Administratoren. Was bietet gtaRL? - dedizierter Server (für Gameserver, Datenbank und Website / Forum) - unabhängiger zweiter Server (zum störungsfreien Testen von neuen Funktionen / Scripts) - verschiedene Kommunikationsmöglichkeiten (Discord, Teamspeak, Telegram) Es existiert ein selbst geschriebenes Script für GT-MP mit diversen Funktionen wie z.B. einem Wirtschaftssystem, Tankstellensystem, Geschäften & Drive-Ins (für Essen / Trinken), Fahrzeugshopsystem, Custom Character Editor, Bekleidungsgeschäfte, Berufe, Rennsystem (Rennen und Zeitfahren), Inventarverwaltung, Levelsystem (inkl. Lootboxen) uvm. Hier ein paar Beispiele: Da dieses Script aber in den Grundzügen noch sehr stark an unser altes SA-MP Script angelehnt ist, streben wir für RAGE eine komplette Neuentwicklung des Scripts an. Wir möchten jedes einzelne Detail aus verschiedenen Perspektiven betrachten um das Spielerlebnis stark zu verbessern. Wen suchen wir und welche Voraussetzungen gibt es? Voraussetzungen - Teamfähigkeit (wir suchen keine Einzelgänger) - Langzeitmotivation und Engagement - selbstständiges Arbeiten (Eigeninitiative ist gern gesehen) GameServer-Entwickler - gute Kenntnisse in C# und Javascript - Erfahrung mit dem Umgang von MySQL-Datenbanken - (optional) Kenntnisse mit der Versionsverwaltungssoftware Git Webentwickler (für die visuelle Gestaltung Ingame (z.B. Menüs) und/oder im Forum) - gute Kenntnisse in HTML, CSS und JavaScript - (optional) PHP und MySQL-Kenntnisse Wenn wir dein Interesse geweckt haben sollten bitten wir dich, deine Bewerbung per PN an mich zu senden. Bitte hänge auch eine Referenz an, damit wir uns von deinem Können ein erstes Bild machen dürfen. Du möchtest dich nicht für eine der oben genannten Stellen bewerben ? Dann darfst du trotzdem gerne eine Initiativbewerbung an mich senden. Bei weiteren Fragen darfst du mir natürlich auch gerne eine PN senden. Unter Discord bin ich ebenfalls zu erreichen (Scabu#9367). Wir danken dir für deine Aufmerksamkeit. Liebe Grüße, Scabu im Namen von gtaRL.de
    1 point
  4. Hallo Rage Community! Wir sind nach wir vor auf der Suche nach weiteren Teammitgliedern. Mithilfe eines zweiten Scripters konnten wir jedoch in den letzten Wochen schon erste Fortschritte erzielen: Die Grundfunktionen wie zum Beispiel einloggen mit individuellem Passwort, neue Fahrzeuge spawnen, Fahrzeuge auf- und zuschließen und Fahrzeuge auf andere User überschreiben funktionieren bereits. Desweiteren wird jedes Fahrzeug eine spezifische Kofferraumgröße (zum Einlagern von Gegenständen oder Waffen), einen individuellen Spritverbrauch, eine eigene Tankgröße und eine speziell auf das Fahrzeug zugeschnittenes Fahrverhalten erhalten. Die nächste Hürde die es zu bewältigen gibt ist das Waffensystem. Es soll legale und illegale Waffen geben. Außerdem sollen sich die User Waffenskins kaufen können. Falls du Interesse hast mitzumachen, so schreibe mir doch bitte eine PN. PS: Einen kleinen Teaser zum individuellen Fahrverhalten findest du am Ende des Beitrags (achtet auf den Wheelie des Muscle-Cars). Gruß, Scabu
    1 point
  5. Update 1: Added missing clothing and prop names. There are still NO_LABEL entries but most of them are NO_LABEL because Rockstar obviously didn't name them. You can use the GXT property with https://wiki.rage.mp/index.php?title=Ui::getLabelText to get clothing names in your game language (for clientside), I won't provide a German version.
    1 point
  6. Sorry to say that: but you are completely wrong. First of all to explain differences: player.position ist only a PROPERTY a property is a value in storage. You DO NOT CALCULATE IT. So only calculation on my solution you have is vector calculation. Colshape solution: You create an entire ENTITY so an Object in world and compare it to the position and delete it. - so as it sounds it IS more calculations (don't want to go in details as I do not know hjow rage.mp / gta V implemented it) Before you do not believe me, I did some performance tests and have let run both solutions 1 mio times. Just to show difference: I think the times, explains why you should use in this case only Vector calculation based on properties. In Fact you want to have events and so on, yes then colshapes should be your solution, but I think more because of it has more confort in such things // edit: I improved a bit the performance and created the colshape upfront and destroy it after all loops - in case for example in the script you want to check multiple times same position. Same for Vector solution. -> In this solution you should consider that you have all the time an entity spawned which takes also storage and performance as it is used for all colshape events. But here the numbers says still the same: //edit2: ofcause you could also write a var on entering and existing a colshape - result will be still the same, but I can not write a performance test out of that, simply because you get only the end of the process as time in your script - but still see the first edit - the time will be like that because most of the time is creating colshape and checking position - which happens also before triggering the event //edit3: What I also do not understand: why are we talking about that, also regarding of complexity for just a position check, my solution is the simplest (I know that is now a subjective opinion - but I can not see that it should be easier to handle a whole colshape instead of simply check two positions against each other)
    1 point
  7. I know you have already you answer but Why are you creating a colshape for that function when you use a command. It is more simple to use directly const armyPosition = new mp.Vector3(-2126.56128, 3285.96265, 37.7325134); if (player.position.substract(armyPosition).length <= 5) I mean maybe I am wrong but this should be more efficient, isn't it?
    1 point
  8. Ja es ist schwer Coder zu finden, mir geht es gerade auch so
    0 points
  9. Hallo, hiermit biete ich meine Kenntnisse als Frontend Webentwickler an und möchte mich in Zukunft einem Projekt anschließen. Mal ein paar Informationen zu meiner Person, ich bin der Tim, 18 Jahre jung und derzeit auf der Suche nach einem Projekt. Folgende Erfahrungen bringe ich mit: - HTML - CSS - JavaScript - React - UX Design Bin auch offen für andere Frameworks wie vue.js oder angular zu lernen dabei. Wenn man mehr erfahren möchte oder den Kontakt sucht, per PN oder im Discord Creed#8445
    0 points
×
×
  • Create New...