Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you are using Shops by Noir then the formate is as follows:
CarWanna contains all of the vanilla vehicles already, If you need a list you can copy them out of in raw format look in the mod root folder for "PinkSlipList.txt", which contains the full item name along with the vehicle English name and the vehicle in game vehicle id.
If you need help generating the configs to buy vehicles in mass you can try the following power shell script i created: https://github.com/xyberviri/CarWanna/blob/main/Tools/CSV2Recipe/_make_recipeshop_config.ps1
This will output a file in the format of the first example, this is expecting a comma seperated listed with no header row like so
For the second question here is where CarWanna really shines, bare minimum you just need to send the vehicle id with the sendClientCommand to the CW module, which is what you are getting. Everything not sent is handled on the back end to be a little closer to vanilla.
so bare bones spawn is this:
and spawning with all available options.
Most of the values are self explanatory,
".gastank" is for Vehicles fuel amounts,
".fueltank" is for fuel trailers or in the rare case a vehicle that has two places to store fuel.
.fueltank can also fill water tanks if you add the appropriate part name to the global table CW_fueltankPartNames, It already has "1000FuelTank","500FuelTank" for Ki5's trailers.
".upgrade" will repair all the parts on a vehicle to 100%,
BUT it is called BEFORE ".condition" so if you set it to true and then the condition to anything it will lower the overall vehicle condition. This is useful for AutoTsars and Ki5 vehicles that come with optional parts.
when ".upgrade" is false i attempt to only set the condition on parts that have at least 1 hit point which is usually true for vehicles with no upgrades. it's not 100% but it seems to work for the most part with the occasional upgrade slipping though.
".battery" is the charge of the battery. ".clear" will remove all the random items that spawn along with the vehicle.
At this time Skins are still random when a vehicle has more than one texture, along with tire pressure.
Its also worth mentioning you can nil out of a value off a pinkslip's moddata() if you want to sell for example a pinkslip to a broken car.
can i get your discord?
i want to show you my script pls
Glytch3r#2892
Hey there, you just need to create a item that uses the following template, these are all of the options for pinkslips:
The only lines you need to change are:
item ItemNameWhatever
DisplayName = PinkSlip: NameOfVehicle,
VehicleID = VehicleIDofVehicle,
isBlacklisted = true,
If you want pinkslips to be found in world then the module the item is created in must be "module PinkSlip" and you need to remove the line that reads "isBlacklisted = true,"
the only line that absolutely matters is the VehicleID which should be the full vehicle id with module like "Base.Car"
If you want the skin on the car to be randomized then remove the line that reads "Skin = 0,"