|
From: <red...@pr...> - 2003-12-19 14:50:59
|
Hi I am back from near death (not really), and ready to spice up this discussion (not really :P ). First, Cpt. try to avoid using underscores in tags like this: research_topics use researchtopics or just research. Another thing is that, when we originally think about the XML file with ShadowHawk (not ShadowHawk00) the idea of the obsolete was to just flag some items (only) to be grayed out - or put in an special place all toghether to easy up the interface only. Just as a hint (it is obsolete) if you really want to manufacture it, go find it in the obsoletes list. However I left you argue on it because you found a very intriguing way to use the obsolete clause, and I wanted to see where you will take that concept. So now that the discussion is over the original meaning was that, but dont worry, that was only for clarification. Greetings Red Knight Quoting "Cpt. Boxershorts" <cpt...@te...>: > Glad we could get it worked out, Mamutas...I got worried we were talking in > circles. I end up that way with my boss all time, and it drives me nuts. > :P > > Okay, so here's the current tech tree layout, as per all the discussions > over the past few weeks. If everybody likes it, I'll start working on a > more complete, online version so people can step through it. I did have dtd > for this, but it seems to have wandered off. > > -The Captain > > <research_topics> > > <!--Plasma Weapons --> > <topic name="Plasma Weapons" researchtime="200" > <!--general topic > element. > idname = name of topic > researchtime = scientist hours required to research this topic --> > > <prerequisite> <!--items and/or topics required to research this topic --> > <topic/> <!--Required topic to have researched --> > <item/> <!--required item (must have in inventory). > This can be any item: equipment, aliens (dead or alive), components, > etc. --> > > <or><!--or-items allow for needing any one of several items as a > prerequiste --> > <item name="Plasma Pistol"/> > <item name="Plasma Rifle"/> > <item name="Heavy Plasma"/> > </or> > </prerequisite> > > <!--If certain optional topics have been researched, a percentage > reduction in research hours may be available > required prerequisites SHOULD NOT grant bonuses > this allows better control of the research tree --> > <researchbonus/> > > <grants> idtopics and items made available by researching this topic. > Better name? > Note: anything in here must satisfy its own list of prerequistes. > This topic should be a prerequisite of any item in this list--> > <topic name="Plasma Pistol"/> <!--topics that can now be > searched. --> > <topic name="Plasma Pistol Clip"/> > <topic name="Plasma Rifle"/> > <topic name="Plasma Rifle Clip"/> > <topic name="Heavy Plasma"/> > <topic name="Heavy Plasma Clip"/> > > <item/> <!--Items that can now be manufactured and/or used (equipment, > weapons, base facilities, etc.) --> > > <xor> <!-- topics that may become available, depending on prior research, > and in-game factors. > Only one of these topics will become available for any given research > instance --> > <topic/> > </xor> > </grants> > > <obsoletes> <!-- Topics only. Once the parent is researched, any topics > listed here cannot be researched. --> > <topic name="Plasma Weapons"/> <!-- For Xenocide v1, this will only > contain a reference to the parent topic --> > </obsoletes> > > </topic> > </research_topics> |