AOE3 Forums


  advanced
in


Last post 10-14-2009, 4:31 PM by kjn. 14 replies.
Sort Posts:
  •  10-14-2009, 1:24 PM 848855
    kelvSYC kelvSYC is online. Last active: 11-24-2009, 2:47 PM
    Member
    Not Ranked
    Total Posts: 2
    Last Post: 11-24-2009
    Member Since: 10-14-2009
    Subject: Question on techtreey.xml

    I'm wondering what the following effect subtypes do in techtreey.xml, if someone more experienced with tinkering the file can help:

    For the Indian Call to Arms card, it uses the SetOnBuildingDeathTech.  I can see that it sets both ypSpawnIrregulars (ships one irregular) and ypSpawnPeasants (ships one sentry), but I have no idea what the amounts mean.  I'm thinking that it would ship one sentry and up to 100 irregulars, but I cold be wrong.  Anyone with an idea on what this does?

    For reference, here's the XML code: 

    <Effect type="SetOnBuildingDeathTech" amount="0.00" amount2="100.00">ypSpawnIrregulars</Effect>

    <Effect type="SetOnBuildingDeathTech" amount="1.00" amount2="0.00">ypSpawnPeasants</Effect>

  •  10-14-2009, 3:57 PM 848874 in reply to 848855
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    kelvSYC,

    As I don't play TAD..My apologies for not being able to offer better assistance..

    I'm not real familiar with the techs or the codes that involve this game version..All I can suggest is..Play a single player skirmish and use this tech and that should help you out with how this tech performs and maybe make it more understandable to what is coded in your techtree as you've posted above..

    Regarding the code in your post..Is that the entire entry?.That is..As it shows In your techtree.

    Regards

  •  10-14-2009, 4:31 PM 848888 in reply to 848874
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    I have a copy of the typtest for TAD..

    The following is your complete code for the tech you've mentioned.

    </Tech>
     <Tech name ='YPHCCalltoArms1' type ='Normal'>
      <DBID>4351</DBID>
      <DisplayNameID>63249</DisplayNameID>
      <Cost resourcetype ='Ships'>1.0000</Cost>
      <ResearchPoints>40.0000</ResearchPoints>
      <Status>UNOBTAINABLE</Status>
      <Icon>ui\home_city\HC_call_to_arms_icon_64</Icon>
      <RolloverTextID>63248</RolloverTextID>
      <Flag>YPIgnorePopCostBuildLimitFreeHCUnitIfTechObtainable</Flag>
      <Flag>HomeCity</Flag>
      <Effects>
       <Effect type ='TextOutput'>63251</Effect>
       <Effect tech ='ypFreeIndianVillager' type ='Data' amount ='1.00' subtype ='FreeHomeCityUnitIfTechObtainable' unittype ='ypSettlerIndian' relativity ='Absolute'>
        <Target type ='Player'></Target></Effect>
       <Effect type ='SetOnBuildingDeathTech' amount ='0.00' amount2 ='100.00'>ypSpawnIrregulars</Effect>
       <Effect tech ='ypFreeIndianSepoy' type ='Data' amount ='2.00' subtype ='FreeHomeCityUnitIfTechObtainable' unittype ='ypSepoy' relativity ='Absolute'>
        <Target type ='Player'></Target></Effect>
       <Effect type ='SetOnBuildingDeathTech' amount ='1.00' amount2 ='0.00'>ypSpawnPeasants</Effect>
      </Effects>
     </Tech>

    As I'm reading this.. I notice.."free units"..and references to a limited lifespan?.Or..Limit to what is free?

  •  10-14-2009, 4:34 PM 848890 in reply to 848874
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    I posted you another post..It is being moderated..Hopefully it will be posted soon?????

    Regards

  •  10-14-2009, 6:01 PM 848902 in reply to 848890
    Im_not_1x1 Im_not_1x1 is not online. Last active: 24 Nov 2009, 1:03 PM
    Member
    Top 500 Contributor
    Total Posts: 382
    Last Post: 11-24-2009
    Member Since: 06-26-2009
    Subject: Re: Question on techtreey.xml
    im sure that card gives you a small army of both irrgulars and setries at your TC, like CM but for the asian civs.
  •  10-14-2009, 7:32 PM 848927 in reply to 848855
    max2h max2h is not online. Last active: 11-24-2009, 2:18 PM
    Member
    around the bend, eating a ricola.
    Top 500 Contributor
    Total Posts: 637
    Last Post: 11-24-2009
    Member Since: 11-16-2008
    Subject: Re: Question on techtreey.xml
    kelvSYC:

    I'm wondering what the following effect subtypes do in techtreey.xml, if someone more experienced with tinkering the file can help:

    For the Indian Call to Arms card, it uses the SetOnBuildingDeathTech.  I can see that it sets both ypSpawnIrregulars (ships one irregular) and ypSpawnPeasants (ships one sentry), but I have no idea what the amounts mean.  I'm thinking that it would ship one sentry and up to 100 irregulars, but I cold be wrong.  Anyone with an idea on what this does?

    For reference, here's the XML code: 

    <Effect type="SetOnBuildingDeathTech" amount="0.00" amount2="100.00">ypSpawnIrregulars</Effect>

    <Effect type="SetOnBuildingDeathTech" amount="1.00" amount2="0.00">ypSpawnPeasants</Effect>

    Excuse me if i interpreted the question wrong, but if you are asking how to change the amounts, you must find the actual tech found deeper in the techtreey file.

    What you are moderating, is just setting the tech for that civ on or off

    m2h

  •  10-14-2009, 8:45 PM 848937 in reply to 848927
    kelvSYC kelvSYC is online. Last active: 11-24-2009, 2:47 PM
    Member
    Not Ranked
    Total Posts: 2
    Last Post: 11-24-2009
    Member Since: 10-14-2009
    Subject: Re: Question on techtreey.xml

    I'm wondering what amount and amount2 mean.  I am aware that to actually change the shipping of irregulars and sentries would mean that I would have to change the two techs themselves.

    I highly doubt it's just a boolean switch, though.

  •  10-15-2009, 2:49 PM 849093 in reply to 848937
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    I don't think those amounts refer to what you're thinking..(Not sure )..They could be referring to something else..I posted you last night the entire code for this tech and illustrated some hints and hunches..Unfortunatly it's under moderation..Probably because of all the code in my post..

    It's a pity..That it takes so damn long to get a post moderated and approved around here!

    Regards

  •  10-15-2009, 7:23 PM 849149 in reply to 849093
    max2h max2h is not online. Last active: 11-24-2009, 2:18 PM
    Member
    around the bend, eating a ricola.
    Top 500 Contributor
    Total Posts: 637
    Last Post: 11-24-2009
    Member Since: 11-16-2008
    Subject: Re: Question on techtreey.xml
    kjn:

    I don't think those amounts refer to what you're thinking..(Not sure )..They could be referring to something else..I posted you last night the entire code for this tech and illustrated some hints and hunches..Unfortunatly it's under moderation..Probably because of all the code in my post..

    It's a pity..That it takes so damn long to get a post moderated and approved around here!

    Regards

    I have to agree with you about the amount sit. 

    Lol they never approve moderation posts (at least mine here), 

  •  10-15-2009, 7:35 PM 849154 in reply to 849149
    DragonShooter DragonShooter is not online. Last active: 11-23-2009, 10:04 PM
    Member
    Not Ranked
    Total Posts: 171
    Last Post: 11-23-2009
    Member Since: 09-01-2009
    Subject: Re: Question on techtreey.xml
    Same here

    Im a Homo http://www.youtube.com/watch?v=uznJbimiJ30&NR=1
    Night At Roxbury (what is love)
    http://www.youtube.com/watch?v=6zlViU5PBPY
    A-ha Take on Me
    http://www.youtube.com/watch?v=lnjYrP5J6rE




  •  10-17-2009, 8:56 AM 849376 in reply to 849154
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    To whom ever cares around here..

    What's up with my post thats under moderation?

    By the time this poor guy gets to see it..

    He'll be old with kids and a beer gut and bitter towards life!

  •  10-17-2009, 10:13 AM 849395 in reply to 849376
    max2h max2h is not online. Last active: 11-24-2009, 2:18 PM
    Member
    around the bend, eating a ricola.
    Top 500 Contributor
    Total Posts: 637
    Last Post: 11-24-2009
    Member Since: 11-16-2008
    Subject: Re: Question on techtreey.xml

    u put a non-img picture in it?

    Whenever I do that, it has the "moderation approval required" thing or  whatever.

    Also, instead of making a rrrreeeeeaaaaalllllllllyyy long post, make 2 posts. I think theres a word limit.

     

    Here's my opinion. All the moderation approvals, go into the

  •  10-17-2009, 6:05 PM 849433 in reply to 849395
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    Thanks max2h,

    All I posted was the complete code of the tech for the guy in the techtreey.xml..I added a few hints and explainations..Nothing huge..The last post I had moderated..It took three weeks..That was a long time ago too..This really sucks big time!

  •  10-18-2009, 12:37 AM 849491 in reply to 849433
    max2h max2h is not online. Last active: 11-24-2009, 2:18 PM
    Member
    around the bend, eating a ricola.
    Top 500 Contributor
    Total Posts: 637
    Last Post: 11-24-2009
    Member Since: 11-16-2008
    Subject: Re: Question on techtreey.xml
    Yea sometimes I get some moderation approval required notices at random too. It is kinda sad.
  •  10-18-2009, 8:05 AM 849562 in reply to 849491
    kjn kjn is not online. Last active: 11/23/2009, 7:18 PM
    Member
    Top 10 Contributor
    Total Posts: 4,249
    Last Post: 11-23-2009
    Member Since: 12-24-2005
    Subject: Re: Question on techtreey.xml

    max2h:
    Yea sometimes I get some moderation approval required notices at random too. It is kinda sad.

    It's pathetic..Your given no explaination as to why or how long it will take..It makes it very hard to help people when you give them Good answers and the post doesn't appear for weeks..By that time..The poor guy that is expecting help has given up or has gone someplace else..That's one of the reasons why we cannot hold new designers around here..They get fed up and leave..Now that's great support!

    Maybe I should just start posting +1, WTF and fail messages????

View as RSS news feed in XML