And I thought my protox problems were bad! What I have here is completely insane-no idea why it wont work. Acually, i mean the above literally. I don't want the tech to activate, but it always does! The prereq says it will only research if the unit test is alive, but at the start of the game the tech is researched infinite amounts of times. Why? If anyone can help, please do. Below is the tech:
(tech name="FavorTech" type="Normal")
(dbid)840(dbid)
(displaynameid)x(displaynameid)
(researchpoints)0.0000(researchpoints)
(status)Persistent(status)
(icon)tech t favor(icon)
(rollovertextid)x(rollovertextid)
(buttonpos column="0" row="0")(buttonpos)
(delay)0.0000(delay)
(flag)Volatile(flag)
(prereqs)
(typecount count="1.00" operator="gte" state="noneState aliveState " unit="test")(typecount)
(prereqs)
(effects)
(effect type="Sound")favorget.wav(effect)
(effect type="TextOutput")11503(effect)
(effect amount="8.00" relativity="Absolute" resource="Favor" subtype="Resource" type="Data")
(target type="Player")(target)
(effect)
(effect amount="-1200.00" relativity="Absolute" subtype="Hitpoints" type="Data")
(target type="ProtoUnit")test(target)
(effect)
(effects)
(tech)
Check out all of the mods I made here
(tech name="FavorTech" type="Normal")
(dbid)840(dbid)
(displaynameid)x(displaynameid)
(researchpoints)0.0000(researchpoints)
(status)Persistent(status)
(icon)tech t favor(icon)
(rollovertextid)x(rollovertextid)
(buttonpos column="0" row="0")(buttonpos)
(delay)0.0000(delay)
(flag)Volatile(flag)
(prereqs)
(typecount count="1.00" operator="gte" state="noneState aliveState " unit="test")(typecount)
(prereqs)
(effects)
(effect type="Sound")favorget.wav(effect)
(effect type="TextOutput")11503(effect)
(effect amount="8.00" relativity="Absolute" resource="Favor" subtype="Resource" type="Data")
(target type="Player")(target)
(effect)
(effect amount="-1200.00" relativity="Absolute" subtype="Hitpoints" type="Data")
(target type="ProtoUnit")test(target)
(effect)
(effects)
(tech)
Check out all of the mods I made here
[This message has been edited by MythicRuler (edited 07-26-2007 @ 11:52 PM).]