User Tag List

  • Crazy
  • Cool
  • Awesome
  • Angry
  • Happy
  • Hungry
  • Sad
  • Shy
  • Tired
  • Page 2 of 2 FirstFirst 12
    Results 11 to 14 of 14

    Thread: How to make Aldrin sectors spawning ATF ships instead of Argon

    1. #11
      TXU New Member dertien's Avatar
      Credits
      67.43
      Points
      92
      Total Contributions For

      dertien      £ 0.00
      Main Info Status and Things Points and Credits Other
      This user has no status.
       
      I am:
      ----
       
      Join Date
      21-08-2011
      Posts
      4

      Default

      Quote Originally Posted by stemardue View Post
      My wild guess - not being a proper hardcore modder - is: either the ship spawn routine is a core routine - and then the type of spawned ships depend on the sector definitions, in which case i guess the sector race need to be changed at map file level - or there is a custom spawn script that take care of the sector ships (and there might be more than one involved, since some scripts may be called to add ships in response to game events), and in this case all those scripts should be tweaked to pick the ships to spawn.

      In any case it's not a simple 'switch an option' thing, but some task that require manipulating one or more files.
      I am not a hardcore modder either, just trying to figure stuff out to the best of my abilities here.

      Well, that was my guess too and looking at X3_universe_2.0.xml (the X-tended galaxy file) you can see that the race (r=17) is set to Aldrian in the Aldrin sector (x="13" y="10").

      <o f="4" t="1" x="13" y="10" r="17" size="27500000" m="4501" p="-1" qtrade="100" qfight="100" qbuild="100" qthink="100">
      <o t="2" s="62" neb="0" stars="0"/>
      <o t="18" s="2" x="-30984098" y="0" z="1403509" gid="2" gx="11" gy="10" gtid="3" a="16384" b="0" g="0"/>
      <o t="18" s="6" x="-701754" y="0" z="-26491228" gid="1" gx="13" gy="11" gtid="0" a="32768" b="0" g="0"/>
      <o t="18" s="8" x="22631578" y="0" z="350877" gid="3" gx="14" gy="10" gtid="2" a="49152" b="0" g="0"/>
      <o f="1" t="3" s="17" x="-134313488" y="-6631643" z="-783914054" color="6578000"/>
      <o f="1" t="3" s="27" x="-131783895" y="-6506746" z="-769150210" color="16774625"/>
      <o f="1" t="4" s="67" x="-56290274" y="-26571361" z="326826756" color="4276570" fn="0"/>
      <o f="1" t="4" s="73" x="492806277" y="-268790841" z="9072262" color="0" fn="0"/>
      </o>

      Since the sector's race is not triggering it, I am going to use the elimination method to try find out what script(s) are actually spawning these patrols based on their nameology in the scripts folder. Getting deeper and deeper into the guts of this thing. Interesting.

      Well , guess I got one step further still:

      the file that loads the patrols is ...plugin.XTC.Job.Patrol.xml, now wasn't that bloody obivous. , now ... lets have a look at the script editor and what can be altered there.

      If I delete this file no additional XTC patrols get spawned, but that is not what I am after. Looked at the file in the script editor, but doesn't seem to have any lines in there relating to ships, so gotto keep searching for the file that loads this.

      Voila,

      Looks like I found it.

      What I did was open the file plugin.XTC.Lib.GetFactionShiptypes.xml with the script editor ingame.

      Navigate to line 47 and change the value "maker race=Argon to Aldrin. (I must add to this that the Tships File I use also reflects this as all ships with Norse Names are Aldrian in that file also.)

      To have only Terran ships spawn in Pandoras Gate, it is necessary to amend the ATF section in plugin.XTC.Lib.GetFactionShiptypes.xml with Terran ships via the script editor.

      I tested it with different gamestarts and it works like a charm. I have Cadius ships now in there, showing up correctly and the Aldrians have their correct fleet assets spawned by the X-tended script.

      Hooray.

      Anyway, thank you guys for your support, and I hope this will help anyone else trying to figure it out how patrols are spawned and how to change them to your liking.

      Bye for now.

      Steve

      Last edited by stemardue; 09-08-2012 at 10:19 AM. Reason: merged multiple posts

    2. #12
      TXU Legend Eliah's Avatar
      Credits
      6,618.74
      Points
      11,495
      Total Contributions For

      Eliah      £ 0.00
      Main Info Status and Things Points and Credits Other
      This user has no status.
       
      I am:
      Shy
       
      Join Date
      14-02-2007
      Location
      Sweden
      Posts
      3,095

      Default

      I'll just mention that (imo) it's really great to see people take up the initiative and seek solutions such as these for themselves. Great work.

      Likes thedada86, knudaholic, D!S7RUG@7OR, Mangar liked this post

    3. #13
      TXU New Member Snuggydoodle's Avatar
      Credits
      1.65
      Points
      98
      Total Contributions For

      Snuggydoodle      £ 0.00
      Main Info Status and Things Points and Credits Other
      This user has no status.
       
      I am:
      ----
       
      Join Date
      02-01-2011
      Posts
      4

      Default

      Hi there,
      that sounds really great for me thet the Aldrin will have their own fleet with ATF Ships. So i tryed it out as "dertien" wrote but the only thing happened is that only SPITFIRES chacing around in Aldrin Space now. So i think i did something wrong because i use XTended 2.0
      Any solutions for me?
      Thx


    4. #14
      TXU Sr. Member Dillpickle's Avatar
      Credits
      183.58
      Points
      1,752
      Total Contributions For

      Dillpickle      £ 0.00
      Main Info Status and Things Points and Credits Other
      This user has no status.
       
      I am:
      ----
       
      Join Date
      21-12-2010
      Posts
      450

      Default

      I should think that any 1.2 solution is unlikely to work with 2.0 - it took a bit of jiggery pokery to get the Aldrin sectors working due to the (dis)functionality of the spare race slots.

      In any case the Aldrians only have two race specific ships, the Spitfyre and the Springblosssom, for everything else they use Argon ships - they are still owned by Aldrin, there ship id's will start with 'R' instead of'A' etc...


    Page 2 of 2 FirstFirst 12

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •