Car & Road Flags
Moderators: Plugin Moderators, Scenario Moderators
Re: Cars & Roads: Flags
Yup, I was waiting for it as well haha
- Lobby
- Developer
- Posts: 3719
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Cars & Roads: Flags
Exactly, fire trucks etc. are designed to be able to drive on pkw, lkw, bus, tractor, military, pedestrian, tram or airport roads. You'd have to define a road that has none of these flags set in order to hinder fire trucks etc. from using it.
- Lobby
- Developer
- Posts: 3719
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Re: Cars & Roads: Flags
Added a listing to all flags included in the game to the first post; Please favor them over own ones if reasonable to share behavior between different plugins.
The trains in the game use
The trains in the game use
Code: Select all
"flag train":true
- KINGTUT10101
- 1,000,000 inhabitants
- Posts: 2228
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car & Road Flags
Is there a flag for emergency vehicles?
- KINGTUT10101
- 1,000,000 inhabitants
- Posts: 2228
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car & Road Flags
Any news on this?
- CommanderABab
- AB
- Posts: 11269
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Cars & Roads: Flags
What?
- KINGTUT10101
- 1,000,000 inhabitants
- Posts: 2228
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Car & Road Flags
Has a flag for service vehicles been added yet?
Re: Car & Road Flags
I tried creating my own flag but still cars aren't spawning
Edit: I will just use tractor, I don't think that will be a much problem tractors running on rally roads hehe
Code: Select all Reset
[{"frames": [{"bmp": "subaru_impreza.png","count": 4,"h": 9,"w": 12}],"id": "subaru_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,"speed": 1.7},{"frames": [{"bmp": "mg_metro.png","count": 4,"h": 8,"w": 11}],"id": "metro_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,
JSON checker
Edit: I will just use tractor, I don't think that will be a much problem tractors running on rally roads hehe
- Imran M
- Inhabitant of a Country
- Posts: 844
- Joined: 24 Oct 2018, 13:41
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Car & Road Flags
You need to actually spawn the cars through a building. This can be done by:yusuf8a684 wrote: ↑02 Mar 2021, 13:14I tried creating my own flag but still cars aren't spawning
Code: Select all
[{"frames": [{"bmp": "subaru_impreza.png","count": 4,"h": 9,"w": 12}],"id": "subaru_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,"speed": 1.7},{"frames": [{"bmp": "mg_metro.png","count": 4,"h": 8,"w": 11}],"id": "metro_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,JSON checker within a quote
Code: Select all Reset
"car spawner":[{"cars":["metro_offroad_racecar","subaru_offroad_racecar"], //Put in the ids of the cars of cars"radius":10, //Put in the area you want them to spawn in"count":3 //Put in how many you want to spawn}]
JSON checker
I'm pretty sure that there's something called "target" where the cars go to a specific building, but I'm not sure about that part. You could check in the documentation for cars in this part of the forum.
Re: Car & Road Flags
Thank you for your help but they actually have spawners. Didn't put their codes hereImran M wrote: ↑02 Mar 2021, 16:23You need to actually spawn the cars through a building. This can be done by:yusuf8a684 wrote: ↑02 Mar 2021, 13:14I tried creating my own flag but still cars aren't spawning
Code: Select all
[{"frames": [{"bmp": "subaru_impreza.png","count": 4,"h": 9,"w": 12}],"id": "subaru_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,"speed": 1.7},{"frames": [{"bmp": "mg_metro.png","count": 4,"h": 8,"w": 11}],"id": "metro_offroad_racecar","allocate flag": "rallycars","type": "car","v2": true,"flag rallycars": true,"flag normal": false,JSON checker within a quoteAdd this code to a regular building and not the car, and I think it should workCode: Select all
"car spawner":[{"cars":["metro_offroad_racecar","subaru_offroad_racecar"], //Put in the ids of the cars of cars"radius":10, //Put in the area you want them to spawn in"count":3 //Put in how many you want to spawn}]JSON checker within a quote
I'm pretty sure that there's something called "target" where the cars go to a specific building, but I'm not sure about that part. You could check in the documentation for cars in this part of the forum.
- THEMAX
- Inhabitant of a Universe
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Car & Road Flags
I was wondering something @Lobby @JustAnyone .
Could we get new flags for vehicles ? I am currently working on my railroad expansion plugin and aiming to add new vehicles types but refraining to do so as I’d prefer to get custom flags to prevent uncompatibility issues with others plugins.
- "bicycles" (for bicycle lanes)
- "Sports" (for ski slopes, running stadium, etc...)
- "trolleybus"
- "light rail" (as an intermediary solution between tramway & trains)
- "funiculary" (to climb slopes, could be even more interesting with support for slopes frames)
- "cable car"
- "vaccum" (for transports like hyperloop)
Could we get new flags for vehicles ? I am currently working on my railroad expansion plugin and aiming to add new vehicles types but refraining to do so as I’d prefer to get custom flags to prevent uncompatibility issues with others plugins.
- "bicycles" (for bicycle lanes)
- "Sports" (for ski slopes, running stadium, etc...)
- "trolleybus"
- "light rail" (as an intermediary solution between tramway & trains)
- "funiculary" (to climb slopes, could be even more interesting with support for slopes frames)
- "cable car"
- "vaccum" (for transports like hyperloop)
Last edited by THEMAX on 26 Oct 2021, 22:14, edited 1 time in total.
- THEMAX
- Inhabitant of a Universe
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Car & Road Flags
By the way, could we have some type of flags have support for slopped vehicles textures ? (mainly for cable car and funiculary)