Awarding Blueprint Ships for Conquering a Planet

Hey everyone,

I've been trying to find a way to make it so that 2 Fury Blueprints are granted after a successful invasion, but I've haven't meet with any success in the matter myself. I'm not sure what I'm missing, and I've tried a lot of variations on the code, but it doesn't seem to be working. Any help is much welcomed, and if anyone got a suggestion besides tying the ships to conquest (trying to redo Superdominator with a bit of reimaging), I'd like to hear it.

26,472 views 7 replies
Reply #1 Top

There's a planetconquer trigger in the abilities, and an awardship action in a few different ideology traits. Mash those two things together for your only potential solution.

Reply #2 Top

Tried and failed so far. Experimented with applying targets and whatnot, but it just won't click yet. My next idea is to make an event for conquering, and then trigger the spawning on that event as opposed to the direct conquer trigger (though I'm not confident this will work).

btw, thanks for the quick response. 

+1 Loading…
Reply #3 Top

Just experimented a little and I can't get any blueprint to spawn except those used already in the xml. I tried using 5 other blueprints with a trigger that worked but it would not spawn those. Here is a list of the ones they use as a stringparameter and will result in a ship

 

AwardScoutBlueprint
AwardSurveyBlueprint
AwardCutterBlueprint
AwardDefenderBlueprint
AwardGunboatBlueprint
AwardColonyBlueprint
AwardConstructorBlueprint
AwardFreighterBlueprint
AwardFrigateBlueprint
AwardTransportBlueprint
AwardOverlordBlueprint

 

Reply #4 Top

I've noticed that it seems like the only ships which are 'awarded'  are those which are labelled as such in the shipstyle defs (I think ur list covers them all). Problematically though I tried spawning colony ships upon conquest, and that didn't seem to work. I'm not sure why, possibly I just mistyped or made some other sort of human error, but it seems like the planetconquer trigger isn't happy with being used for awarding ships. I'll definitely be doing some more tests on this though, and haven't given it up.

thanks mate and hope you have a good one

Reply #5 Top

Oh, while I remember to ask, which trigger worked?

Reply #6 Top

<Triggers>
  <OnEvent>OnConquerPlanet</OnEvent>
    <Scope>Global</Scope>
      <PerformAction>
        <Action>AwardShipOfClass</Action>
        <StringParam>AwardCutterBlueprint</StringParam>
      </PerformAction>
      <PerformAction>
        <Action>AwardShipOfClass</Action>
        <StringParam>AwardCutterBlueprint</StringParam>
      </PerformAction>
</Triggers>

Reply #7 Top

Thanks, I'll be sure to give this, and the other listed blueprints some testing.