1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Player Achievements

Discussion in 'Civ4Col - Creation & Customization' started by Dale, Oct 27, 2008.

  1. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    I'm working on adding Player Achievements to the game.

    These achievements will encompass the old "You have discovered land!", "You have discovered the Pacific!" achievements from Col1. :)

    Achievements will have no effect, they will just add a little to your score and also allow bragging rights (I'll setup an "Achievements Screen" like a throne room to display all the achievements you've gotten for that game).

    What achievements would YOU like to see? Make your list now, to see them in the game. :)

    I'll start it off:
    - Discovered land
    - Discovered the Pacific
    - Met a native tribe
    - Met a European nation
    - Founded X colonies
    - Destroyed a native tribe
     
  2. Bisonte

    Bisonte Chieftain

    Joined:
    Nov 5, 2005
    Messages:
    31
    Found the first(?) treasue ...
     
  3. Daniel Shays

    Daniel Shays Chieftain

    Joined:
    Mar 18, 2006
    Messages:
    24
    Location:
    Germany
    Nice idea.

    How about built the first Cathedral or University?
     
  4. davbenbak

    davbenbak Lackey

    Joined:
    Jun 9, 2003
    Messages:
    710
    Location:
    Texas
    I think some kind of recognition for founding 13 colonies would be a good thing. Having 13 all with over 50% rebel sentiment should be a victory condition!
     
  5. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    No, that's a pretty specific thing. Plus, 13 colonies on a huge map is nothing, whereas 13 colonies on a tiny map is impossible.
     
  6. Zuul

    Zuul Mod lister!

    Joined:
    Nov 13, 2005
    Messages:
    1,117
    Location:
    Sweden
    "You have discovered land!"
    Will you ceck if it's a small island or not? :p

    You have discovered that the new land was not that big!
    You have discovered that the new land was just a tiny island! :p


    -You have reached "some" amount of exp on one unit!
    -You have mapped out half of the new world!
    -You found/refined your first "silver" (or whatever)!
    -You lost your first unit!
    -You have found your 10th treasure.
    -You have reached 5000gold.
    -You have found over 5000gold.
    -You have sold goods for over 5000gold.
     
  7. Dom Pedro II

    Dom Pedro II Modder For Life

    Joined:
    Apr 3, 2002
    Messages:
    6,811
    Location:
    Exit 16, New Jersey
    Hey... if you've just been floating in the ocean for six weeks, it could be large sea turtle with a palm tree on its back and I guarantee you'd be glad to see it. ;)
     
  8. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    Hell yeah! :D
     
  9. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    BTW, I'm proud to show the first screenshot of player achievements.

    You see from the message box that I just found the New World. :D

    The concept is completely XML driven. I've created a new XML file which will be similar to the events XML file in that all achievements will be set in there. This gives massive flexibility in the control of them.

    Next I will create the Popup notification and then the Achievements Screen. :)
     
  10. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    Here is an example of an achivement (early days, will change over time as more tags are added):

    Code:
    	<AchieveInfo>
    		<Type>ACHIEVE_LANDFALL</Type>
    		<DescriptionKey>TXT_KEY_ACHIEVE_LANDFALL</DescriptionKey>
    		<bActive>1</bActive>
    		<bAfterMove>1</bAfterMove>
    		<iLowTurnNumber>0</iLowTurnNumber>
    		<iHighTurnNumber>0</iHighTurnNumber>
    		<bLandDiscovered>1</bLandDiscovered>
    	</AchieveInfo>
    
    Achievements are checked after moving and at the start of every player's turn. The bAfterMove specifies when it will trigger. This one is movement triggered obviously, as it will popup as soon as land shows on screen due to moving your ship. The LowTurnNumber and HighTurnNumber are there to help limit achievements to certain turn numbers. So you could have a low turn of 0 and high turn of 100 for an Early Revolution achivement.

    But there will be plenty more tags appearing as more achivements get added. :)
     
  11. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    Here's the popups now working. Everything is still XML controlled. :)

    I want to put a picture on these popups too.
     
  12. Zuul

    Zuul Mod lister!

    Joined:
    Nov 13, 2005
    Messages:
    1,117
    Location:
    Sweden
    Look very cool. :)
     
  13. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    And now, the full achievement with a pretty picture! :)

    All controlled via XML still. :D
     
  14. senturus

    senturus Warlord

    Joined:
    Sep 7, 2004
    Messages:
    106
    Great work.
     
  15. holymouth

    holymouth Chieftain

    Joined:
    Oct 26, 2008
    Messages:
    6
    Would be better if the turtle had 4 elephants on his back
    carieing a disk like island :)
     
  16. Jabie

    Jabie Wanted in Monte Carlo...

    Joined:
    Dec 16, 2003
    Messages:
    1,024
    Location:
    Southampton, UK
    You have reached 100% Rebel Passion.
    You have fully explored the sea.
    You have fully explored the land.
     
  17. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    Here's an old favourite. :)
     
  18. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    I've been working on the Achievements Advisor screen tonight. :)

    Got the pics working, now to add all the text elements.
     
  19. Dom Pedro II

    Dom Pedro II Modder For Life

    Joined:
    Apr 3, 2002
    Messages:
    6,811
    Location:
    Exit 16, New Jersey
    Taking a long time to find the Pacific isn't ironic... but I might say: "If America hadn't been in between Europe and Asia, Columbus and his crew would've been dead men..."
     
  20. Dale

    Dale Deity

    Joined:
    Mar 14, 2002
    Messages:
    7,033
    Text is completely open to be re-written later. I'm just throwing something in there so I've got screens big enough to work with. :)
     

Share This Page