Flag to hide car "triangle" on the map for custom prototypes
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Flag to hide car "triangle" on the map for custom prototypes
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Flag to hide car "triangle" on the map for custom prototypes
You could just set the force of the other car to 'neutral', that way it won't show on the map
Re: Flag to hide car "triangle" on the map for custom prototypes
Why not just easy_entity_with_rotation and easy_entity_with_direction?
Not on the map, needs no action, script only.
Not on the map, needs no action, script only.
Re: Flag to hide car "triangle" on the map for custom prototypes
In 0.16 simple entity has a graphics variation you can get/set through the API so it would be able to do what you're trying to do here.
If you want to get ahold of me I'm almost always on Discord.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Flag to hide car "triangle" on the map for custom prototypes
For the graphical variation this might be a working solution (though i kinda doubt the guy who made Helicopters is going to migrate to a different entity). For my personal modding "needs" i'm more interested in the inventory of the car prototype along with it's unique property to be movable. I'm not sure about @Klonan's solution either as i don't know how i.e. inserters interact with entities that belong to a different force - intuitively i'd guess they don't interact at all...Rseding91 wrote:In 0.16 simple entity has a graphics variation you can get/set through the API so it would be able to do what you're trying to do here.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Flag to hide car "triangle" on the map for custom prototypes
Can we rely on this to be supported in future versions?Rseding91 wrote:In 0.16 simple entity has a graphics variation you can get/set through the API so it would be able to do what you're trying to do here.