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

Login with username, password and session length
207390 Posts in 10531 Topics by 2074 Members
Latest Member: cpmoneymakertutorials
   Home   Help Search Calendar Login Register  
Cafe Tropico  |  Tropico  |  Scenario Editor / User Scenarios / Competitions (Moderator: CafeDave)  |  Topic: Random Events
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Random Events  (Read 696 times)
0 Members and 1 Guest are viewing this topic.
Servant Corps
Tourist
*
Offline Offline

Posts: 46


« on: 04/28/09 at 10:29 AM »

Is there a file where all the random events of Tropico is held? I want to know if a modder can create brand new Random Events that can occur during gameplay. If not though, it's okay. I just want to make sure.  Undecided
Report to moderator   Logged
Servant Corps
Tourist
*
Offline Offline

Posts: 46


« Reply #1 on: 05/01/09 at 11:50 PM »

From CafeDave:

I have found that you can run events directly from your files without loading them into a map!  All you need to do is create a directory under your main Tropico directory called 'events'.  Then put your events in that directory or in subdirectories under it.  You can even load a whole scenario's events there.  Then open a saved game or start a new random game and voila!, your events will run just like in a scenario.

I discovered this quite by accident today after saving some random events sent to me by Burt, the author of El Feo Returns, in a new directory.  After looking at them, I went back to play the El Feo scenario, which I had started yesterday.  Suddenly one of the random events popped up with an error and I thought, that's strange, he must have left them in the scenario by mistake.  But I checked the events and none called up those events.  So I went back to the game and a random rebel event popped up!  Then the rebels proceeded to destroy my palace!  So I looked at the events again and realized the game was running them right from my directory!  I did a test on a brand new random map too and they ran in it too.

My guess is that it's an undocumented feature that PopTop used for event troubleshooting and left in the game.  This will make it very easy to troubleshoot and tweak new events without having to save to a scenario.  It also opens up new cheat possibilties!  Want to add 100,000 pesos every year, just add an event.  Want a free airport in every game, just script it!  You can even play a whole scenario on different maps.


Huh. Thanks CaveDave.
Report to moderator   Logged
Coconut Kid
Tempus Fugit
Deus Ex Machina
********
Offline Offline

Gender: Male
Posts: 7084

¡ay caramba! ~~ ¡paredón!


WWW
« Reply #2 on: 05/02/09 at 08:22 AM »

Is there a file where all the random events of Tropico is held?

I'm sorry I can't definitively answer that. I speculate that there is not; that they are integrated with the game engine.

I want to know if a modder can create brand new Random Events that can occur during gameplay. ...

It appears you have answered your own question with the discovery of CafeDave's "Events Directory". You don't need to have modded random events associated with the regular random events.

What did you mean by "Huh."?
« Last Edit: 05/16/13 at 12:57 PM by Coconut Kid » Report to moderator   Logged

Servant Corps
Tourist
*
Offline Offline

Posts: 46


« Reply #3 on: 05/02/09 at 08:42 AM »

"Huh" just means I was surprised to have found this while randomly browsing this site. It means nothing.
Report to moderator   Logged
Coconut Kid
Tempus Fugit
Deus Ex Machina
********
Offline Offline

Gender: Male
Posts: 7084

¡ay caramba! ~~ ¡paredón!


WWW
« Reply #4 on: 05/04/09 at 09:55 AM »

Hola fellow Tropicans,

El Presidente Ricardo has a high respect for hurricanes and other such tropical storms (being that he lives in the middle of Hurricane Alley, experienced Hurricane Andrew in 1992 firsthand, as well as having quite the stressful hurricane season last year in here in South Florida), so he decided to throw together this totally useless piece of information... all of the names of the hurricanes that can possibly hit Republica de Tropico <LOL>!

Man, I wish that Break Away would have added scripts to trigger the hurricanes, would have been quite interesting to experiment with.


---cut here---

Abby
Able
Agnes
Alberto
Alex
Alice
Alicia
Allen
Allison
Alma
Amelia
Amy
Ana
Andrew
Anita
Anna
Arlene
* Arlene
Arthur
Audrey
Babe
Baker
Barbara
Barry
Becky
Belle
Bertha
Beryl
Bess
Beth
Betsy
Betty
Beulah
Bill
Blanche
Bob
Bonnie
Brenda
Bret
Camille
Candice
Candy
Carla
Carmen
Carol
Caroline
Carrie
Celia
Cesar
Chantal
Charley
Charlie
Chloe
Chris
Christine
Cindy
* Cindy
Clara
Claudette
Cleo
Connie
Cora
Daisy
Danielle
Danny
David
Dawn
Dean
Debbie
Debby
Debra
Delia
Dennis
Diana
Diane
Dog
Dolly
Donna
Dora
Doria
Doris
Dorothy
Dottie
Earl
Easy
Edith
Edna
Edouard
Elaine
Elena
Ella
Ellen
Eloise
Emily
Emmy
Erika
Erin
Ernesto
Esther
Ethel
Eve
Evelyn
Fabian
Faith
Faye
Felice
Felix
Fern
Fifi
Flora
Florence
Flossie
Flossy
Floyd
Fox
Fran
Francelia
Frances
* Frances
Frederic
Frieda
Gabrielle
Gail
George
Georges
Gerda
Gert
Gertrude
Gilbert
Gilda
Ginger
Ginny
Gladys
Gloria
Gordon
Grace
Gracie
Greta
Gustav
Hallie
Hannah
Harvey
Hattie
Hazel
Heidi
Helena
Helene
Henri
Hermine
Hilda
Holly
Hope
Hortense
How
Hugo
Humberto
Ilsa
Inez
Inga
Ione
Irene
* Irene
Iris
Irma
Isaac
Isabel
Isbell
Isidore
Item
Ivan
Janet
Janice
Jeanne
Jenny
Jerry
Jig
Joan
Jose
Josephine
Juan
Judith
Juliet
Kara
Karen
Karl
Kate
Katie
Katrina
Keith
Kendra
King
Klaus
Kristy
Kyle
Laura
Laurie
Lenny
Lili
Lisa
Lois
Love
Luis
Marco
Marilyn
Martha
Mitch

---cut here---

Note that these are directly from the Tropico.exe game file, and that the "*" indicates duplicate names that are also contained in the file. Also note that the names stop at the letter "M"... strange indeed.

A few non-Tropican links of "interest" <VBG>:

http://www.cmoo.com/~snor/weeds/hurricanes/weeds_saffir_simpson_hurricane_intensity_chart.htm

(http://www.cmoo.com/~snor/weeds/hurricanes/hurricane.wav )

http://www.cmoo.com/~snor/weeds/hurricanes

P.S. Break Away should have used the embeded storm sound effect contained in the first of the two links, verses the lame sounding one that they used for the hurricanes in the game <BG>!

There is an interesting word from the man who knows about "The Code" !

 Grin Shocked Cool
« Last Edit: 05/16/13 at 01:02 PM by Coconut Kid » Report to moderator   Logged

Coconut Kid
Tempus Fugit
Deus Ex Machina
********
Offline Offline

Gender: Male
Posts: 7084

¡ay caramba! ~~ ¡paredón!


WWW
« Reply #5 on: 08/29/12 at 02:18 PM »

Is there a file where all the random events of Tropico is held? I want to know if a modder can create brand new Random Events that can occur during gameplay. ...

I'll repeat that I doubt that the "Random Events" as added by the PI expansion are contained in a separate file, but rather I expect they are parts of the basic engine.

However, one does NOT have to be a "modder" to add brand new Random Events. It is possible to use the scripting language with the generalized effect of the "Events File" to introduce new Randon Events. However, such events are limited by the constraints of the scripting language.
Report to moderator   Logged

Pages: [1]   Go Up
  Send this topic  |  Print  
Cafe Tropico  |  Tropico  |  Scenario Editor / User Scenarios / Competitions (Moderator: CafeDave)  |  Topic: Random Events
 
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!