Announcement

Collapse
No announcement yet.

Pirating and Pillaging

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • stankarp
    replied
    Thanks Pedrun,

    Could you post that file again please for pillaging.

    I would like to include it in my mod pls.

    Leave a comment:


  • Pedrunn
    replied
    1)do you get a gold or public works bonus when you pirate a trade route or pillage a tile improvement? If so, how much.
    Yes. I have tested and the money from pirate is added in the next turn after the order. I did not achieve to get a value. It seems to have a random variable or a very complex system. But i did not tried very hard to discover i admit.
    As for Pillage, you dont get nothing but if you want some months ago i did a slic code that gives 20% PW cost of the improvement to the pillager.

    2) Which files control these functions in the game?
    Other than the orders.txt that has very little effect in the gameplay there is the const.txt which has a lot of entries for piracy:
    Code:
    GOLD_FROM_PIRACY 30
    NO_PIRACY_EXPIRES	5
    PIRACY_KILLS_TRADER_CHANCE 80
    PIRACY_WASTE_COEFFICIENT 0.8
    But i believe these values are left-overs. Dont have effect in the game
    Other than that I could find nothing if not the SLIC function:
    Code:
    PillageOrder(army_t)
    PillageUnit(unit_t)
    PirateOrder(army_t)
    KillTradeRoute(GEA_TradeRoute, int_t)
    CutImprovements(location_t)
    Although i couldnt make some of these work in my testings.

    Leave a comment:


  • stankarp
    started a topic Pirating and Pillaging

    Pirating and Pillaging

    My question is -

    1)do you get a gold or public works bonus when you pirate a trade route or pillage a tile improvement? If so, how much.

    2) Which files control these functions in the game?

    Thanks in advance.
Working...
X