Page MenuHomeFeedback Tracker

"Author Unknown" Island selection does not respect Author inheritence.
Closed, ResolvedPublic

Description

Note that the MAIN game display DOES respect inheritance, map loading does not.

During loading of a selected custom island, the editor does not look at inheritance to discover Author= . It only looks at the raw class and nothing further. Thus we get "by unknown community author".

Thus it is not possible to use an inherited class that supplies generic constants to a series of islands being made. (fog, weather, author, etc)

This is contrary to every expectation of inheritance (why bother?). As a side comment it is also present on array[]+= syntax where only the directly inherited class is examined and nothing deeper.

Details

Legacy ID
546272593
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Config
Steps To Reproduce

working code:

class cfgWorlds
{

class CaWorld;
class MyGreatIsland:CaWorld
{
     Author=I am famous;
     ...
};

};
non working code
class cfgWorlds
{

class CaWorld;
class teamBaseWorld: CaWorld
{
   author=A brilliant mod team;
};
class MyGreatIsland:teamBaseWorld
{

// inherited author

       ...
  };

};

Event Timeline

mikero edited Steps To Reproduce. (Show Details)Oct 31 2014, 9:32 AM
mikero edited Additional Information. (Show Details)
mikero set Category to Config.
mikero set Reproducibility to Always.
mikero set Severity to None.
mikero set Resolution to No Bug.
mikero set Legacy ID to 546272593.May 7 2016, 7:43 PM

Inheritance works fine, but "author" property ignores it deliberately. If it wouldn't work this way, all objects, weapons or terrains which are inheriting from the official content, but has no "author" defined, would be marked as "by Bohemia Interactive".

mikero added a subscriber: mikero.May 7 2016, 7:43 PM
mikero added a comment.Nov 2 2014, 7:54 PM

for reasons unknown then, the main island selection display does drill down, and does not show 'bohemia interactive'