Go to Cafe Tropico Cafe Tropico
Go to the Blue Parrot Inn
Search:     Advanced search
05/24/13 at 09:45 AM
Welcome, Guest. Please login or register.

Login with username, password and session length
207388 Posts in 10531 Topics by 2074 Members
Latest Member: cpmoneymakertutorials
   Home   Help Search Calendar Login Register  
Cafe Tropico  |  Tropico 2: Pirate Cove  |  Pirate Cove Editor/Scripting Help (Moderator: CafeDave)  |  Topic: Pirate Happiness #s Question
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Pirate Happiness #s Question  (Read 1057 times)
0 Members and 1 Guest are viewing this topic.
TJ
Rebel
***
Offline Offline

Gender: Male
Posts: 240

Yes, I am addicted to Tropico 2. Ok, I was...


« on: 04/20/03 at 04:30 AM »

I have noticed in the scripts that scenarios that guage pirate happiness are looking for a number in the hundreds.

Based on "The Happy Pirate" where the goal is 75%, the scripy is checking for happiness of at least 192. A little math tells me that 192 happens to be 75% of 256 which makes sense.

However Episode 12 of the Campaign (Jolly Roger) is supposed to be looking for happiness to be above 2/3 (66.6%). The script is checking for a value of at least 160, but 160 is only 62.5% of 256. What gives?

(BTW, Yes I know I am being a pain about these math things. That is what happens when a Comp Sci and Math major who is also a perfectionist loves your game)
Report to moderator   Logged
FieryDove
Peasant
**
Offline Offline

Gender: Female
Posts: 59


Frequent Flyer


WWW
« Reply #1 on: 04/20/03 at 10:34 AM »

I would also like to know what the value 255 means in game terms. Is 255 - 100% of a given trait or ?

Cheers,
FD
Report to moderator   Logged
Charlemagne
General
****
Offline Offline

Posts: 354



« Reply #2 on: 04/20/03 at 05:16 PM »

For the happiness values max is 255. min is 0.
Report to moderator   Logged

Bill Spieth
Frog City
Pages: [1]   Go Up
  Send this topic  |  Print  
Cafe Tropico  |  Tropico 2: Pirate Cove  |  Pirate Cove Editor/Scripting Help (Moderator: CafeDave)  |  Topic: Pirate Happiness #s Question
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!