[MD] All Plots Complete - Terran Conflict

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

deca.death
Posts: 2939
Joined: Mon, 28. Feb 11, 19:50
x3tc

Post by deca.death »

.

OK, a question

I'm playing XRM, there is XRM version of this mod

So it asked me on start if I wanted plots complete, and I saw that I would get too many spoils and money and ships - it would ruin my "poor penniless sod" tough start, so I choose "no".

Now I'm getting rich and have many ships and money /universe explored. Now would be a perfect timing to introduce "all plots compete" spoils, sectors and goodies.

How to restart script? I believe it's already installed. Remember, it's an XRM version.
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

If you chose no, then you have chosen to play the plots... The solution is start building chip complexes.... :wink:

It is possible to reset it, but not knowing what Paul changed for the XRM version it's difficult to say whether it would work, or what other effects it may have.
deca.death
Posts: 2939
Joined: Mon, 28. Feb 11, 19:50
x3tc

Post by deca.death »

dillpickle wrote: It is possible to reset it, but not knowing what Paul changed for the XRM version it's difficult to say whether it would work, or what other effects it may have.
Since it can be triggered at will at any time in the game, supposedly, then if you chosen "no" just means that actually nothing happen. What's the difference in choosing "no" on start and activate later or just install later? But again "common" logic and game engine logic are not always same thing : )
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

deca.death wrote:Since it can be triggered at will at any time in the game, supposedly, then if you chosen "no" just means that actually nothing happen. What's the difference in choosing "no" on start and activate later or just install later? But again "common" logic and game engine logic are not always same thing : )
It can't be triggered at will. MD relies on conditions, which on being met the prescribed action will take place.
Once the condition is met and the action run, that specific cue is marked as complete, and won't run again unless it is reset, which in this case there is no need.

Choosing 'No' means the cue is cancelled, complete, finished. It is there for those that maybe have two or more games going on some with plots, some not, without the need to continually remove and add the file as needed.

You can try saving:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet href="director.xsl" type="text/xsl" ?>
<director name="template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="director.xsd">
  <cues>
    <cue name="DPPC01 Reset">
      <condition>
        <check_age value="{player.age}" min="20s"/>
      </condition>
      <action>
        <reset_cue cue="DPPC01"/>
      </action>
    </cue>
  </cues>
</director>
as something.xml in the director folder, should work.
kajanov
Posts: 25
Joined: Sat, 13. Jan 07, 14:34
x4

Post by kajanov »

The OP says:

This only works with new games.

and later in the same post:

I have now rewritten it, so there is only one version which can be used at any stage, it will take into account of plots you have completed - so no duplicate rewards.. But will complete any that are part way through or not started, cleaning up and removing all plot objects, mission briefings and guidance.

So does this mean, that it will run even when installed (put "All Plots Complete.xml" into director folder) even if you load up a save or do you have to start a new game regardless? (without adding the code above to a new xml file in the director folder) Could you edit the OP to reflect the information, that applies current version? The 2 seem mutually exclusive right now (the bit about running whenever is under the red header "Information:")

I had a look into the "All Plots Complete.xml" and boy it looks like a lot of work. Great job. and a big thank you. (I am also running XRM like deca.death)
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

kajanov wrote:The OP says:

This only works with new games.

and later in the same post:

I have now rewritten it, so there is only one version which can be used at any stage, it will take into account of plots you have completed - so no duplicate rewards.. But will complete any that are part way through or not started, cleaning up and removing all plot objects, mission briefings and guidance.

So does this mean, that it will run even when installed (put "All Plots Complete.xml" into director folder) even if you load up a save or do you have to start a new game regardless? (without adding the code above to a new xml file in the director folder) Could you edit the OP to reflect the information, that applies current version? The 2 seem mutually exclusive right now (the bit about running whenever is under the red header "Information:")

I had a look into the "All Plots Complete.xml" and boy it looks like a lot of work. Great job. and a big thank you. (I am also running XRM like deca.death)
This is because some fool forgot to edit that part when it was updated... :P Best get on that....

You now no longer need to start a new game for it to work. the first time you load a save game or start a new game, you will get a message asking if you want to complete the plots or not, completing will mark all (except Balance of Power) as complete and generate the rewards, Balance of Power will get it's own message a little while after.

You don't need the code above, unless like deca.death you choose to play the plots then change your mind.... :roll:

Once the plots are complete, that's it, resetting it won't make the plots playable again.

If you're using XRM, make sure you download the version in the OP in that thread, as Paul altered bits to fit XRM.
deca.death
Posts: 2939
Joined: Mon, 28. Feb 11, 19:50
x3tc

Post by deca.death »

dillpickle wrote: as something.xml in the director folder, should work.
And indeed it does, seamlessly, like some magic wand everything is right as it should be. This game is just not the same without my TUS 3 Terran ship hunting grounds : ) Thank you very much, it's maybe a little thing but it seems very big to me now. :thumb_up: :D


btw. should I remove extra code or it doesn't matter?
kajanov
Posts: 25
Joined: Sat, 13. Jan 07, 14:34
x4

Post by kajanov »

Okies, Thanks for the quick reply (and OP edit to reflect the so you don'w tet the se questions any more)

I see it's also been discussed on page 8 of this thread.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Just to let Dillpickle and anyone interested know...

I've reworked this MD for AP use.

The differences are ...

All plot ship rewards now appear in Argon Prime.
The Final Fury payout has been increased.

Since the Terran sectors are basically no go areas in AP, having the ships appear in them seemed a bit pointless, since getting them was practically impossible.

Its available for download in my X3AP download area on my HQ site.

It should be usable in TC as well, but isnt tested yet.
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

apricotslice wrote:Just to let Dillpickle and anyone interested know...

I've reworked this MD for AP use.

The differences are ...

All plot ship rewards now appear in Argon Prime.
The Final Fury payout has been increased.

Since the Terran sectors are basically no go areas in AP, having the ships appear in them seemed a bit pointless, since getting them was practically impossible.

Its available for download in my X3AP download area on my HQ site.

It should be usable in TC as well, but isnt tested yet.
I can see this making a right mess of AP, and not working correctly:
  • For starters there is no Terran Plot, Aldrin Expansion, New Home, Treasure Hunt, Goner Plot, Final Fury or Balance of Power in AP, so therefore you shouldn't be able to complete them.
  • The Hub and PHQ Plots have different cues and actor names, uses different sectors, stations etc.. So they won't get marked as complete or clear up any of the actors etc...
  • The New Home Plot will load a map file with planets, background and asteroids on top of an existing sector as well as creating duplicates to already existing gates.
  • Aldrin Plot will rearrange stations, as well as duplicating all the gates and Terran Shipyard in the Aldrin Sectors ad Neptune.
  • Goner Plot will create a Goner Temple in Elysium of Light, when one already exists.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

dillpickle wrote:I can see this making a right mess of AP, and not working correctly:
  • For starters there is no Terran Plot, Aldrin Expansion, New Home, Treasure Hunt, Goner Plot, Final Fury or Balance of Power in AP, so therefore you shouldn't be able to complete them.
  • The Hub and PHQ Plots have different cues and actor names, uses different sectors, stations etc.. So they won't get marked as complete or clear up any of the actors etc...
  • The New Home Plot will load a map file with planets, background and asteroids on top of an existing sector as well as creating duplicates to already existing gates.
  • Aldrin Plot will rearrange stations, as well as duplicating all the gates and Terran Shipyard in the Aldrin Sectors ad Neptune.
  • Goner Plot will create a Goner Temple in Elysium of Light, when one already exists.
Ok, fair comments.

I wasnt aware they added in all the TC plot sector stuff. I got the impression that nothing from the plots was put into AP. Obviously I got the wrong impression.

So in theory, I could chop out pretty well everything except the Hub sector stuff. Hmmm, I'll have another look at it.
EternalSpace
Posts: 184
Joined: Wed, 6. Apr 11, 07:29

Post by EternalSpace »

So this will complete all plots then after a while Balance of Power will get completed? How long does that take, do I have to run the script until it happens? Can I turn the script off and remove it after All Plots are completed, before or after Balance of Power?
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

You will get a message asking you if you want balance of power to be completed as well. If you choose yes, then its complete and gone. If you say no, it remains for you to do. You only get asked once.

This is not a script, its a Mission Director file. Once its run, its best not to remove it, until you have been to every sector where a ship is located, since its coded to give you the ship only when you are in that sector. Once you have been to all the sectors the ships are in, you could remove it, but by then there would be no point.
EternalSpace
Posts: 184
Joined: Wed, 6. Apr 11, 07:29

Post by EternalSpace »

Are there any bugs I should know about? Should I be in a sector where nothing is rewarded before I load the game with this. Does this reveal all sectors or do I need to find them myself/already have them discovered.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

No bugs I know of.

No special place to be either. Even being in the same sector as a reward ship is fine.

It doesnt reveal any sectors, you need to discover them yourself.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

apricotslice wrote:
dillpickle wrote:I can see this making a right mess of AP, and not working correctly:
  • For starters there is no Terran Plot, Aldrin Expansion, New Home, Treasure Hunt, Goner Plot, Final Fury or Balance of Power in AP, so therefore you shouldn't be able to complete them.
  • The Hub and PHQ Plots have different cues and actor names, uses different sectors, stations etc.. So they won't get marked as complete or clear up any of the actors etc...
  • The New Home Plot will load a map file with planets, background and asteroids on top of an existing sector as well as creating duplicates to already existing gates.
  • Aldrin Plot will rearrange stations, as well as duplicating all the gates and Terran Shipyard in the Aldrin Sectors ad Neptune.
  • Goner Plot will create a Goner Temple in Elysium of Light, when one already exists.
Ok, fair comments.

I wasnt aware they added in all the TC plot sector stuff. I got the impression that nothing from the plots was put into AP. Obviously I got the wrong impression.

So in theory, I could chop out pretty well everything except the Hub sector stuff. Hmmm, I'll have another look at it.
*apricot weilds a mean axe*

I think I solved all your concerns. Just a matter now of if I took out necessary structure or not. I cant test it just now as my game computer is being checked out after being hacked yesterday while AP was running.
TestingTesting
Posts: 46
Joined: Sun, 8. Aug 04, 03:05

Post by TestingTesting »

so is this ready to go for AP?

or is there more things to be done to it

reason I ask is there is no BETA TAG suggesting it's at release stage for AP.
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

The original All plots complete,for TC was great.

But if you loaded a game where you had already opened new sectors,then you would get the duplicate gate problem.

So was always best to start a fresh game.

As for the AP version,this looks interesting.

In might be an answer for those of us who would like to continue AP from where TC left off.

Yes it just needs the conflict issues with the Hub and ANH sectors sorted.

Apricotslice has proved to be good in the past,so hopefully he will finish this project to his usual standard :)

The All Plots Financial for TC is also good for those who want to pay credits for the plots instead of doing them or having them done without effort.

May we can have an AP version of this ? :D
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

TestingTesting wrote:so is this ready to go for AP?

or is there more things to be done to it

reason I ask is there is no BETA TAG suggesting it's at release stage for AP.
This version is NOT compatible with AP and all though you'd get all the TC rewards it would make a mess of your universe.

Apricotslice has hacked it about for AP - which could still mess up your universe any problems encountered using his version please direct to him as I am not responsible for the changes he's made to my original coding.
TTD wrote:May we can have an AP version of this ?
Of which? The standard or the financial?

Now that 20 with the extra plots is out, I may look into doing one for it, but it would probaly only cover the AP Plots / Rewards.
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

dillpickle wrote:
TTD wrote:May we can have an AP version of this ?
Of which? The standard or the financial?

Now that 20 with the extra plots is out, I may look into doing one for it, but it would probaly only cover the AP Plots / Rewards.
Hiya dillpickle ,

Yes I was referring to your excellent versions for TC,and was wondering if you would do an AP Financial ? .

Complete is ok if you just want everything and search for it,but Financial is more my taste,as I have to then earn the credits to get it done.
The more urgently I want it done,the more I have to work to get the credits.

My only gripe with AP missions is that they are much easier to do than the TC ones , so All Plots Complete for AP ,at least to me,seems a waste of programming time, if it only covers the AP Plots,since I can wizz through them easily with Cycrow's Cheat Package,if I choose.

But All Plots Financial for AP would give an alternative way to complete the missions,and add some extra trade-work into the bargain.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”