Search found 3 matches

by ExileLord
Mon Mar 12, 2018 8:16 pm
Forum: Won't implement
Topic: Set backer_name for other entities
Replies: 4
Views: 1715

Re: Set backer_name for other entities

The idea is I have some code the randomly generates names that would be assigned to turrets. The turret list looks like this where each piece of text in braces is a reference to a random entry of another list. #Gun Turret Name GunTurretName { "{GloryAdjective} {AlienNoun} {KillerNoun}", &q...
by ExileLord
Mon Mar 12, 2018 4:56 pm
Forum: Won't implement
Topic: Set backer_name for other entities
Replies: 4
Views: 1715

Re: Set backer_name for other entities

Yes but a null pointer is still just eight bytes. It's also possible to implement this with a static hash table or other table structure which sidesteps the memory problem but that has other costs associated with it if it ever has a name for a nonstandard entity. Is there any plan to allow manipulat...
by ExileLord
Mon Mar 12, 2018 3:07 am
Forum: Won't implement
Topic: Set backer_name for other entities
Replies: 4
Views: 1715

Set backer_name for other entities

It appears to be impossible to set a backer name for any entity other than a roboport, radar, lab, locomotive, or train stop. The base entity class that these inherit from has methods for setting/reading the backer names but these only throw away the strings passed to it. The classes that do support...

Go to advanced search