Author Topic: New feature faction links ( in svn )  (Read 2646 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
New feature faction links ( in svn )
« on: 17 January 2012, 01:40:43 »
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

Code: [Select]
<?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! )
« Last Edit: 11 April 2012, 13:09:01 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: New feature faction links ( in svn )
« Reply #1 on: 17 January 2012, 01:58:44 »
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

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: New feature faction links ( in svn )
« Reply #2 on: 17 January 2012, 06:26:30 »
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.
« Last Edit: 18 June 2016, 14:49:58 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: New feature faction links ( in svn )
« Reply #3 on: 17 January 2012, 09:12:53 »
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