Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Scenario League / Civ2-Creation > Event Problem
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD
CivGroups
Scenario League / Civ2-Creation (66): Not a Member - Join

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:23
  Old Post 28-05-2005 08:40 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Event Problem Support Apolyton or Terrorists Win

I've finally got around to testing my actual beta of 'Empire of the Rising Sun,' and, lo and behold, I already have an event problem in the first events.txt (which covers Dec '41 to Dec '42). I took AGRICOLA's advice and decided not to make the tech that gives Chindits (which is given via event to the British/Indians) in the Guerilla Warfare slot, and thus avoid them cropping up each and every time a Brit city is captured. Instead, I set events so that when Kuala Lumpur is captured by the Japanese (the event that also gives the tech to the British), there should be generated a number of Chindits in the area. But they're not there! And the Japanese (or anyone else for that matter) don't occupy those spaces. What could be amiss?

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:23
Post  Old Post 28-05-2005 09:28
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

Post the event.

Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:23
  Old Post 28-05-2005 11:13 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

Here's the whole event set.

Attachment: text.zip
This has been downloaded 0 time(s).

Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:23
  Old Post 31-05-2005 08:54 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Full PM-box? Change here!

Obviously, posting the text file in zip form wasn't too popular. Sorry. Here's the straight text of the events I'm having trouble with.

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indians
@THEN
TEXT
^The battle for Malaya goes better than expected for the Imperial Army. Malay troops
^prove to be completely ineffective. However, the Japanese intelligence indicates that
^a Chindit guerrilla movement and similar native militias are being formed to resist
^further Japanese expansion into British territory. Many consider England's decadent
^Raj preferable to Japan's harsh militarist rule.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
technology=90
receiver=British/Indians
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
45,165
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
45,165
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
43,165
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
43,165
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
45,167
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian
unit=Chindits
veteran=yes
homecity=none
locations
45,163
endlocations
JUSTONCE
@ENDIF

If anyone needs anymore information to help me, just ask.

Harry Tuttle is offline Harry Tuttle

Prince
of the Hoople Heads
Mar 2003
time: 00:23
  Old Post 31-05-2005 09:19
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Browse Apolyton AD-FREE

Hmmm, well, let's go down the list:

Are the Civ names correct?

Are the locations actual map coordinates? (sometimes a mix up in the numbers can create units in a "phantom zone")

Leonidas is offline Leonidas
King

May 2000
time: 05:23
  Old Post 31-05-2005 10:43
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Help yourself to an AD-FREE life

Patine:

Try switching the places for "unit" and "owner"

From this:

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
owner=British/Indian <====
unit=Chindits <====
veteran=yes
homecity=none
locations
45,167
endlocations
JUSTONCE
@ENDIF


To this:

@IF
CITYTAKEN
city=Kuala Lumpur
attacker=Japanese
defender=British/Indian
@THEN
CREATEUNIT
unit=Chindits <====
owner=British/Indian <====
veteran=yes
homecity=none
locations
45,167
endlocations
JUSTONCE
@ENDIF

Leonidas is offline Leonidas
King

May 2000
time: 05:23
  Old Post 31-05-2005 10:50
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Get a bigger avatar today!

I also spot another problem.

The "s" is missing for the defenders in some places:

In some places you call the defender "British/Indian" and in others you call it "British/Indians".

Check in "RULES.TXT" for the actual name you use and use it consistently in Events.

AGRICOLA is offline AGRICOLA
Prince
Canadian bush & Florida
Feb 2003
time: 00:23
  Old Post 31-05-2005 13:09
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Increase the size of your Attachments

In TOT can't you use Count=n to have one event do what you are using n separate events for?

The following examples are taken from techumseh's Market Garden scenario. He did a brilliant job with events to create an amazingly complex scen.

@THEN
CREATEUNIT
unit=Airborne(1)
Count=6
owner=Allies
veteran=yes
homecity=none
randomize
locations
16,16
14,14
14,16
13,17
endlocations
JUSTONCE
@ENDIF


@THEN
JUSTONCE
CREATEUNIT
unit=Airborne(1)
Count=6
owner=Allies
veteran=yes
homecity=none
randomize
locations
13,17
13,17
;13,21
endlocations
@ENDIF

Leonidas is offline Leonidas
King

May 2000
time: 05:23
  Old Post 31-05-2005 20:08
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Avatar Enlargement: We've got the solution

AGRICOLA:

Can a person use the "randomize locations" in MGE events as well?

AGRICOLA is offline AGRICOLA
Prince
Canadian bush & Florida
Feb 2003
time: 00:23
  Old Post 31-05-2005 21:33
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Sorry, but I'm just a dummy who likes to look at EVENTS after playing a scen, just to see how and why I royally screwed up.

I was so full of admiration for techumseh's nasty tricks that I haven't forgotten some of the more interesting techniques that he used. I have never seen either count or randomize in a MGE EVENTS file (even Red Front) but please don't take that as gospel.

I'm sure that one of the ace designers can give you a definitive answer.

Leonidas is offline Leonidas
King

May 2000
time: 05:23
  Old Post 31-05-2005 22:13
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Suffering from ads?

That's OK

Thanks for the answer.

I also like to look through event files.

It is amazing the number and types of events that can be created.

Civ2 truly has the most veratile event system I have seen.

Pity the event size in notepad is so limited (for MGE).

Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:23
  Old Post 31-05-2005 23:05 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Thanks for the help, people! I'll give these things a try and get back to you.

Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:23
  Old Post 01-06-2005 08:05 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Avatar Enlargement: We've got the solution

It seems Leonidas had the answer. I pluralized the British/Indians in all cases and the Chindits appeared right where they should have. Thanks!

kobayashi is offline kobayashi
Prince
Singapore
Dec 2000
time: 13:23
  Old Post 01-06-2005 14:40
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Help yourself to an AD-FREE life

BTW chindits were not guerillas, they were commandoes
and they never operated in Malaysia
nor did they not exist until much later after the fall of KL.

Maybe you can drop the word 'chindit' to make it more accurate

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:23.
Apolyton Time is 00:23.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0436 seconds (89.26% PHP - 10.74% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net