technology question
-
I think you need this :
<option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
instead of this:
<option name="unitAttachmentName" value="unitAttachment"/>
here's an example
<attachment name="triggerAttachmentTransportCost8Changer" attachTo="Changer" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
<option name="trigger" value="conditionAttachmentTransportCost8Changer"/>
<option name="unitType" value="transport"/>
<option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
<option name="unitProperty" value="attack" count="0"/>
<option name="unitProperty" value="defense" count="1"/>
<option name="unitProperty" value="isCombatTransport" count="true"/>
<option name="when" value="after:changerCombatMove"/>
<option name="uses" value="1"/>
</attachment> -
After fiddling with it, does it even need that line?
-
@ff03k64 idk never tried it without it
-
The value needs to have a capital 'U' value="UnitAttachment". It is the same value as in the javaClass = value.
Cheers... (With a capital 'C')
-
edit: nevermind, figured it out. needed xcomTechActivation, not playerTechActivation
<attachment name="conditionAttachmentMedicPromotion" attachTo="XCOM" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="techs" value="medic_promotion" count="1"/> </attachment> <attachment name="triggerAttachmentMedicPromotion" attachTo="XCOM" javaClass="TriggerAttachment" type="player"> <option name="trigger" value="conditionAttachmentMedicPromotion"/> <option name="unitType" value="medic"/> <option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/> <option name="unitProperty" value="createsUnitsList" count="-reset-2:bandage"/> <option name="when" value="after:playerTechActivation"/> </attachment>No longer throwing errors. So far as I can tell it isn't doing anything though.
-
@wc_sumpton said in technology question:
Check out 'Age of Tribes' by @Frostion. All the Tech/Upgrades are purchasable in this great map!!
Cheers...
After perusing this for a bit, it looks like he does the tech purchasing by buying a unit, and then if you have that unit, you are allowed to build the associated tech? So it isn't really using the games tech system? Does that sound right?
-
<option name="unitAttachmentName" value="UnitAttachment"/> <!-- No count value --> <option name="when" value="after:XCOMTechActivation"?> <!-- Needs the name of the Owning Player's (XCOM) Tech Activation sequence --> <option name ="uses" value ="1"/> <!-- added to prevent the trigger from firing over and over again.The 'when' option determines during what sequence the trigger will fire. Also add a "uses=1" option to prevent the trigger from firing over and over.
Cheers...
-
-
@wc_sumpton said in technology question:
That is how 'Age of Tribes' handles purchasing of tech. Yes
Cheers...
That's unfortunate, I guess if i do some of my techs that way, i probably want to do all my techs that way then?
Does that make sense?
-
No. You can purchase, and you can develop with the Tech Roll. You can do different Techs, or you can do the same Tech. Just use trigger to remove developed Technologies from the purchase window. And activate a purchase Tech, so the game can remove it from the development roll.
Cheers...
-
@wc_sumpton Well, I probably don't want the random tech rolls anyway. I guess that would be the big thing anyway.
-
@ff03k64 You could also take a look at the Star Trek map, play and test out the tech system. It is a tech roll system where you pay for rolls with PUs (I would like to call the rescues “Science”, not PUs, but the engine does not allow it as I remember).
If you play go after the blue dots on planets (PUs/science) and you will soon be able to roll/buy tech. Or you can cheat buy edit and give you nation PUs
-
@Frostion I actually tested that a little. I edited myself 99 planets! I find myself liking the tech model from age of tribes better. My biggest question about techs now has become do I want to display the researched techs like your backpack in your Warcraft map.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login