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.
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.
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.
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
AwardScoutBlueprintAwardSurveyBlueprintAwardCutterBlueprintAwardDefenderBlueprintAwardGunboatBlueprintAwardColonyBlueprintAwardConstructorBlueprintAwardFreighterBlueprintAwardFrigateBlueprintAwardTransportBlueprintAwardOverlordBlueprint
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
Oh, while I remember to ask, which trigger worked?
<Triggers> <OnEvent>OnConquerPlanet</OnEvent> <Scope>Global</Scope> <PerformAction> <Action>AwardShipOfClass</Action> <StringParam>AwardCutterBlueprint</StringParam> </PerformAction> <PerformAction> <Action>AwardShipOfClass</Action> <StringParam>AwardCutterBlueprint</StringParam> </PerformAction></Triggers>
Thanks, I'll be sure to give this, and the other listed blueprints some testing.
There are many great features available to you once you register, including:
Sign in or Create Account