News:

If you are a developer, please build MegaGlest on your own and get in touch to contribute (or post your patches on the forums).

Main Menu

New feature faction links ( in svn )

Started by titi, 17 January 2012, 01:40:43

titi

Now Modders can link factions from other techtrees ( if compatible with their own techtree )

Here is an example how to link the megapack indians in your techtree. Just unpack and put this as a "faction" into your techtree:
http://www.titusgames.de/indian_link.zip

<?xml version="1.0"?>
<link>
     <techtree name="megapack"/>
</link>


( warning: multiplayer might still have some problem with this! At least downloads will be tricky so everyone has to have all needed techtrees! )



Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

Nice! Especially this not exactly lengthy XML. :)
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

#2
Very nice, added it to the wiki (which should state what revision this is available in, rather than just "latest SVN".

I'd really like to see this expanded. I'd like to see the ability to create a link to a faction in the same techtree (impossible because you can't have two factions of the same name in the same techtree), and to make that useful, the ability to edit the rest of the faction XML and overwrite the link. So for example, Annex (I think) has a few different versions of the same faction, with the only difference being the starting units (one might have an extra worker and be geared towards expansion while one might have an extra warrior and be geared towards combat, etc). Doing such a thing requires copying the entire faction and tweaking every link to the original resources. This new link element could make a simple starting unit change considerably easier, if expanded.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

Yes I also thought about links to units, but we first should get some experience with this one. Crc calculation(data checking in general) and download in multiplayer maybe still make trouble.



Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios