Here's a few:
Sounds like you want your own version of the messages that pop up at the beginning of the WW2 scenario:for example, off the bat i want 3 messages to pop up, all three linked together with next-> and <-back buttons. the last one, i would like a scenario rules button that links to my great library CONCEPT_SCENARIO.
Code://--------------------------------- // Stuff to do when the game starts //----------------------------------- int_t NUM_PLAYERS; HandleEvent(BeginTurn) 'dw0914_Start' pre { if(IsHumanPlayer(player[0])) { Message (1, 'dw0914StartMessage'); } NUM_PLAYERS=preference("NumPlayers"); } //---------------------// // Start game messages // //---------------------// messagebox 'dw0914_Start' { Show(); Title(ID__dw0914_START_TITLE); Text(ID_dw0914_START_A); Button(ID_BUTTON_NEXT) { Kill(); Message(1, 'dw0914_Start_1'); } } messagebox 'dw0914_Start_1' { Show(); Text(ID_dw0914_Start_B); Button(ID_BUTTON_RULES) { Kill(); LibraryConcept(72); } Button(ID_BUTTON_BACK) { Kill(); Message(1, 'dw0914_Start'); } }
"enemy" means "at war with"? I'm not sure this is a good idea, you might get a lot of messages.when you are near an enemy city
Code:HandleEvent(MoveUnits) 'dw0914_ApproachEnemyCity' pre { int_t i; int_t j; army_t tmpArmy; location_t tmpLoc; city_t tmpCity; tmpArmy = army[0]; player[0] = tmpArmy.owner; if (player[0] == 1) { tmpLoc = location[1]; for(i=0;i when one of your cities is taken overYou'll need to put the necessary strings in your scen_str.txt. It's really rather late here; I'll knock off a few more tomorrow (if Wombat doesn't beat me to it).Code:HandleEvent(CaptureCity) 'dw0914_CapturedMyCity' pre { if(city[0].owner==1){ message(1,'dw0914_CapturedMyCityMessage'); } } messagebox 'dw0914_CapturedMyCityMessage' { show(); Text (ID_M_dw0914_CapturedMyCityMessage') ; }
But you don't get off that easy. Tell us about these scenarios!
Edit: Something's not working here. I'll try again tomorrow.


it is appreciated...also...


(wierd mental image now...). So I couldn't get to any computer 

history but I certainly won't give up CtP2 for it... My schoolwork however is a much more real threat to my CtP time though, that's taking up 90% of my time these days (the little that I had left and that wasn't spent on school and civ3 was spent on medmod work) 
Bookmarks