Jump to content

Adding new cars, weapons and theirs new IDs


KryngeerPL

Recommended Posts

Hi all. I was searching the Internet and i found a way to add new cars, weapons etc. but not replacing it, like we have 2 hydras, one replace on F-16 and the second on Su-27. But it works on single, this is the link http://gtaforums.com/topic/399977-tut-a ... to-gta-sa/. I know CLEO mods can be used on MTA servers, but i don't know how it works, and i don't use this way for adding new IDs. I want to do this, because i want to make a war USA versus Russia etc. And then i must have 2 Rhinos (one for M1 Abrams and second on T-90). Can you help me with this? Or maybe you know other way for this. I heard, on DayZ servers they made it, but i don't knoiw which way they do that. Thanks for helping!

Link to comment
It doesn't add new cars simple change other one

Listen, i know it (ModLoader etc.) but if you read it, you saw a new line like

BMW 1390.0 3614.4 1.6 0.0 0.0 -0.15 75 0.80 0.79 0.51 5 265.0 18.7  23.0 F P 5.5 0.6 1 30.0 1.0 0.11 0.0 0.27 -0.08 0.5 0.50 0.2 0.02 15000 0 700003 0 1 0 

It's changed Uranus vehicles.ide line, so it's about adding (not replacing) new car. Any new ideas? I think, we must write a script in LUA. This script will add new IDs (like 612, 613 etc.) and it will load for this IDs models and textures, maybe banshee or everything other. But this script must change the limit of cars, like SAAdjustLimiter in CLEO libray. After that we will add name in freeroam panel (if we will play on freeroam) and we set the ID for this name (612 and higher). If we want to replace the model, we must change values in ModLoader resource. In data.lua we will add new line like:

t-90 = 612 

I check it, but it showed me an error in xmlSaveFile and xmlDeleteFile. So it my suggeestion, but i can't a LUA language, so i leave it you guys!

Link to comment

I have a new idea! If we read this topic (http://gtaforums.com/topic/399977-tut-a ... to-gta-sa/), we can understand we must edit only 5 files from game: handling.cfg, vehicles.ide, carcols.dat, cargrp.dat and carmods.dat. Another files are from scripts, we can't use them. So we need a simply script, but I won't write this because I don't understand LUA language and MTA functions. This script will load this files from server, so it will create this files with original content. When we'll do it, then we can copy any line from other car (car what looks like our and has smiliar handling). Then we can edit it to our needs. Then we edit a modloader config and freeroam config (we're adding new ID and its name). Maybe then we willl have a spawned car!!!

Or we can do it simply. In script we must write, to ID for example 612 must load all config for e.g. Banshee, but it must change its name e.g. BMW and its ID on 612. Then in ModLoader config we will add new name and ID like

BMW = 612[\code] and at freeroam config (fr.server) we're changing [code]if vehID < 400 or vehID > 611 then  

"611" on "612" and in vehicles config of freeroam we're adding new vehicle (ID 612 = BMW). This is my concept.

Link to comment
  • 2 weeks later...

Not sure if trolling or legit. Cleo mods cannot be used within MTA servers, and nor will any of the links that you have posted here help you in this idea. There is one method I can think of which will help you accomplish this, both of the Hydra's would need to use the same DFF file though, and you could use a shader to apply them on different teams.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...