glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
58 stars 40 forks source link

link to units from external factions #85

Closed andy5995 closed 5 years ago

andy5995 commented 6 years ago

When making custom techtrees, right now, there's a way to use "faction" links so the data for that faction doesn't need to be included. It will use the data from an external tech tree.

For instance, in the egypt unit folder of a custom mod, there only needs to be a single file, egypt.xml, with this content:


<?xml version="1.0" standalone="no"?>

<link>
    <techtree name="megapack"/>
</link>```

@mathusummut suggested that a similar feature be implemented for individual units.

The idea of using symbolic links were mentioned.

I'm not sure yet if symlinks are the way to go; but definitely the feature to link to units should be implemented.

Can anyone anticipate a problem with using symlinks? And do GitHub repos support symlinks?
andy5995 commented 6 years ago

@mathusummut is working on this. I think @KeithSammut is too.

KeithSammut commented 6 years ago

oh, actually mathu is, I just need it.