Sukritact's Events and Decisions

Discussion in 'Civ5 - Modpacks' started by sukritact, Jun 22, 2014.

  1. JFD

    JFD Kathigitarkh

    Joined:
    Oct 19, 2010
    Messages:
    9,129
    Location:
    The Kingdom of New Zealand
    You only really need to reference mods when you're updating the database (adding things with SQL or XML), but seeing as this mod is written entirely in Lua, it's not necessary.
     
  2. regalman

    regalman Reckless Dolphin

    Joined:
    Jul 31, 2013
    Messages:
    940
    Location:
    Toronto, Ontario, United States
    hmm, what about the xml text? and the sql file ?
     
  3. JFD

    JFD Kathigitarkh

    Joined:
    Oct 19, 2010
    Messages:
    9,129
    Location:
    The Kingdom of New Zealand
  4. regalman

    regalman Reckless Dolphin

    Joined:
    Jul 31, 2013
    Messages:
    940
    Location:
    Toronto, Ontario, United States
    ohhhh, I see lua in a different way now....
     
  5. NerCafel42

    NerCafel42 Chieftain

    Joined:
    Jul 20, 2014
    Messages:
    13
    Oh my god.. What a GREAT idea..
    When is it going to be released?:confused:
     
  6. sukritact

    sukritact Artist and Modder

    Joined:
    Sep 21, 2010
    Messages:
    2,903
    Location:
    Bangkok
    Soon I hope, I just got back from Spain. I'll try and finish up the remaining decisions soon.
     
  7. Gilgamesch

    Gilgamesch Ancient Alien

    Joined:
    Dec 15, 2010
    Messages:
    2,228
    Location:
    good old germany
    Just discovered your mod, and wow great idea, this is awesome.:goodjob:
     
  8. Lord Tirian

    Lord Tirian Erratic Poster

    Joined:
    Nov 30, 2007
    Messages:
    2,724
    Location:
    Liverpool, UK
    Also, watching the latest Civ:BE livestream and their quest events... makes me think there's a lot of interesting conceptual overlap (though I have no doubt they were a bit inspired by the Paradox games as well! ;) ). I'm more excited for random decisions than the ones you get through the panel!

    On another note, in case you have overlooked it, is there a way to make an icon header for the pop-ups? It'd look a lot slicker if the pop-ups had a Civ-style icon on top (similar to, for example, the city states or when a great person is born).

    It'd be nice if there was an icon so you'd immediately knew "oh, a random event".
     
  9. sukritact

    sukritact Artist and Modder

    Joined:
    Sep 21, 2010
    Messages:
    2,903
    Location:
    Bangkok
    I've released a beta so modders can start making their own Events and Decision. Please refer to the OP.
     
  10. Human Crouton

    Human Crouton Prince

    Joined:
    Jul 27, 2011
    Messages:
    427
    I know that the beta was meant for modding purposes, but I played a half-serious game with it. It's pretty fun. I had a situation where I was rapidly expanding, and needed just a little gold to buy a luxury tile before an opponent got it. I initiated a tax reform to buy it, and while it's more expensive to do this in the long run, it was a great pay-day loan. Good system. Really fun.

    I'm looking forward to implementing it in some of my personal mods that I've been working on.
     
  11. AW Arcaeca

    AW Arcaeca Deus Vult

    Joined:
    Mar 10, 2013
    Messages:
    2,975
    Gender:
    Male
    Location:
    Operation Padlock ground zero
    So, let me ask this - for Switzerland, I'm thinking of making a decision which will cancel all their DoFs and Defensive Pacts and permanently render Switzerland unable to make new ones or declare war (with some pretty good effects to balance it out) - basically, a decision with a permanent effect. Is that possible? I'm assuming it is...

    Secondly, are you aware of any functions that can cancel DPs and DoFs? And prevent them from being made? I know GameEvents.CanDeclareWar can be used to prevent declaring war...

    Thirdly, say I was really itching for a Defensive Pact and was willing to throw my empire into a rebellion for a few turns to Un-Declare Neutrality. Can you make a decision that can override another decision?

    And lastly, what would happen if a teammate declared war after you declaring Neutrality? Or promising someone that you'll declare war in 10 turns and then in those 10 turns of waiting you declare Neutrality? Would the AI be more hesitant to ask for help in war knowing that you cannot declare war?

    A lot of questions, I know, sorry, I'm just a bit stuck here. :blush:
     
  12. sukritact

    sukritact Artist and Modder

    Joined:
    Sep 21, 2010
    Messages:
    2,903
    Location:
    Bangkok
    No idea as to the non decision specific questions. the only one I can really answer is this:

    Yes, Egypt's "Empower the Pharaoh/Nomarchs" pair does exactly this; enacting one unenacts the other.
     
  13. ModMonger

    ModMonger Chieftain

    Joined:
    Jun 14, 2014
    Messages:
    33
    Location:
    Pennsylvania
    Why can't the beta just have the damn decisions!? <snip>

    Moderator Action: Removed inappropriate language. In the future, do not intentionally bypass the word filter - there's a reason it's in place.
    Please read the forum rules: http://forums.civfanatics.com/showthread.php?t=422889
     
  14. JFD

    JFD Kathigitarkh

    Joined:
    Oct 19, 2010
    Messages:
    9,129
    Location:
    The Kingdom of New Zealand
    Someone didn't read the new rules...

    Anyway, many of the civ-specific decisions still need balancing - both for the human and for the AI. This is a way to get modders prepared for a full release, so that no one is prevented from testing out the final mod with their favourite civs. I mean, probably :p
     
  15. COF

    COF Emperor

    Joined:
    Dec 30, 2013
    Messages:
    1,512
    Location:
    Bosnia and Herzegovina
    You aren't entitled to this, you know?
     
  16. einayim

    einayim Warlord

    Joined:
    Apr 3, 2013
    Messages:
    105
    Location:
    ???A M Y S T E R Y???
    I was testing the beta of the mod while playing as JFD's Norway while Cuba was enabled, and I was able to gain a revolutionary from the "Request the Services of a Great Person" Decision. Is this intentional or a bug?
     
  17. iloveciv5

    iloveciv5 bluesolid100

    Joined:
    Nov 25, 2011
    Messages:
    46
    Location:
    East of the Mississippi
    I also played JFD's Norway and Sukritact's Tuscany, the great person decision for both gave me a Merchant of Venice.
     
  18. Protroid

    Protroid Chieftain

    Joined:
    Apr 13, 2013
    Messages:
    57
    Location:
    United States
    I believe it is because the decision goes through all units of the great person unitclasses and selects one at random.
     
  19. sukritact

    sukritact Artist and Modder

    Joined:
    Sep 21, 2010
    Messages:
    2,903
    Location:
    Bangkok
    Yep, this is the case. You'll notice the decision specifically states "Class" rather than "Type".
     
  20. einayim

    einayim Warlord

    Joined:
    Apr 3, 2013
    Messages:
    105
    Location:
    ???A M Y S T E R Y???
    So, to confirm, this is supposed to happen?
     

Share This Page