Car Question
Moderator: Plugin Moderators
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Car Question
Q1: How can I flag a car to in-game roads like the country and dirt roads?
Q2: Would it be possible to add a feature that lets us decide the speed of a car by ignoring the speed of the road it's on? For example, I want my NASCAR car to go (x) speed regardless of the road it's on.
Q2: Would it be possible to add a feature that lets us decide the speed of a car by ignoring the speed of the road it's on? For example, I want my NASCAR car to go (x) speed regardless of the road it's on.
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Car Question
A1 .
A2 real life NASCARs go slower on slower tracks than fast tracks.
Code: Select all
"flag normal":true
A2 real life NASCARs go slower on slower tracks than fast tracks.
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car Question
I want my vehicle to go on specific in-game roads, not all of them.
The NASCAR thing was just an example lol
The NASCAR thing was just an example lol
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Car Question
Then you use plugin road(s) with .
Set on the road(s) if you want to exclude in game cars.
Be sure to check the tutorial section for how to use "x flags" at crossings.
Then when defining your vehicle, use the same
Code: Select all
"flag user2":true //for example
Set
Code: Select all
"flag normal": false"
Be sure to check the tutorial section for how to use "x flags" at crossings.
Then when defining your vehicle, use the same
Code: Select all
"flag user2":true, //for example
"flag normal":false
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car Question
I don't want it to go on plug-in roads. Just dirt and country.
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Car Question
They are "flag normal":true by default. As are the highway, alley, and expressway.
I gave you a solution.
What you want, and need to do then, is ask Lobby to redo the whole existing road code to use an additional flag for each in-game road.
The better solution would be for you to override the dirt and countrý roads via plugin, steal the frames, add the additional flag, and have your NASCAR vehicles only use those roads with that flag set to true.
I gave you a solution.
What you want, and need to do then, is ask Lobby to redo the whole existing road code to use an additional flag for each in-game road.
The better solution would be for you to override the dirt and countrý roads via plugin, steal the frames, add the additional flag, and have your NASCAR vehicles only use those roads with that flag set to true.
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car Question
Sorry I just thought we had a miscommunication there. Lol
- CommanderABab
- AB
- Reactions:
- Posts: 11086
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform