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 > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > manual events
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Art of War is offline Art of War
Warlord

Jul 2003
time: 23:31
  Old Post 25-09-2003 21:53
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
manual events Full PM-box? Change here!

what do I need to write my events and then have them work in game without giving me the "there is a problem with the events.txt, read the manual to learn how to debug them"?

jasev is offline jasev
Moderator
of the SCS Forum
Feb 2001
time: 06:31
  Old Post 25-09-2003 22:31 Visit jasev's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase Your PM Length

The only way to debug manual-created events is to isolate the failure.

Take the first five events (for example) and create a new events.txt with only those events. Load the scenario. If you find problems, then review those events (once you have located an erroneous event, you can post it in this forum and we'll help you to correct it) until you find the mistake. If you don't find problems, add the next five events.

There are many forms of doing it, but the idea is simple: first isolate the problem, then solve it.

Somebody could do an auto debugger, it shouldn't be SO difficult

Last edited by jasev on 26-09-2003 at 02:53

Art of War is offline Art of War
Warlord

Jul 2003
time: 23:31
  Old Post 25-09-2003 23:34
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Put an end to popups!

well, the only reason i'm writing my events is because i want to use the barb civ...is there a way to write all my events except the barb events in the game then write the barb events?

Stefan Härtel is offline Stefan Härtel
King
Eddie's best friend
Jul 1999
time: 06:31
  Old Post 26-09-2003 00:17
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

The following should do the trick:


@BEGINEVENTS
@DEBUG
@IF
NOSCHISM

Include "@DEBUG" before your first event. It won't automatically be debugged, but the game will point out the error for you and will explain it for you to fix it. Quite simple, actually.

Field Marshal Klesh is offline Field Marshal Klesh
King
Klesh Marshal Field
Jan 2000
time: 00:31
  Old Post 26-09-2003 00:48 Visit Field Marshal Klesh's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

Debugging doesnt work with MGE

Stefan Härtel is offline Stefan Härtel
King
Eddie's best friend
Jul 1999
time: 06:31
  Old Post 26-09-2003 01:11
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Full PM-box? Change here!

Oh.

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:31
  Old Post 26-09-2003 01:27 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Put an end to popups!

God damn.

curtsibling is offline curtsibling
King
of the Kill!
May 2002
time: 05:31
  Old Post 26-09-2003 01:28 Visit curtsibling's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

The best method is to back up your events, make a fresh and empty events file (with only begin and end tabs)
then add your events in twos or threes, and run the scen.

You will soon find the culprit.

It's normally a missing command like 'ENDTEXT' or something.

jasev is offline jasev
Moderator
of the SCS Forum
Feb 2001
time: 06:31
  Old Post 26-09-2003 02:51 Visit jasev's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Enter the AD-FREE zone

quote:
well, the only reason i'm writing my events is because i want to use the barb civ...is there a way to write all my events except the barb events in the game then write the barb events?


Yes, of course. Use the advanced editor to create the normal events (I only use the editor for the events) and then take the "events.txt" that will be generated and add barb events manually. But it's a pity to lose a full "events.txt" for a programming mistake, you should try to debug the file the way Curtsibling (and myself) suggested.

Last edited by jasev on 26-09-2003 at 02:56

ottok is offline ottok
Prince
tampere,FINLAND
Oct 1999
time: 05:31
  Old Post 26-09-2003 12:34 Visit ottok's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

ugh.

curtsibling is offline curtsibling
King
of the Kill!
May 2002
time: 05:31
  Old Post 26-09-2003 12:46 Visit curtsibling's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Lose 30 kilos (of popups)

'ugh'

Not a big fan of events editing, then , Ottok?

Palaiologos is offline Palaiologos
King
Constantinople, Queen of Cities
Aug 2002
time: 05:31
  Old Post 26-09-2003 16:02 Visit Palaiologos's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by curtsibling
'ugh'

Not a big fan of events editing, then , Ottok?





I wager!



But dudes there is no reason to create barb events manually.Simply create events normally and then manually change the civ to "barbarians".

Sometimes just having "Trigger attacker" as civ works.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:31
  Old Post 26-09-2003 18:49 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Increase Your PM Length

What Palaiologos said. Simply make them with the civ2 editors but use some other civ first, and then rename them to barbarians later...

Then again... Why the hell are you using the civ2 editors in the first place!!?!? Read the manual and the macro.txt, have a look at some of the events in other scenarios and make your own. It's not like it's actually difficult.

jasev is offline jasev
Moderator
of the SCS Forum
Feb 2001
time: 06:31
  Old Post 26-09-2003 20:41 Visit jasev's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Then again... Why the hell are you using the civ2 editors in the first place!!?!? Read the manual and the macro.txt, have a look at some of the events in other scenarios and make your own. It's not like it's actually difficult.


I agree that Civ2 editor is quite unuseful, but doing the events in the editor is quite easier than just writing it, and (most important) the editor doesn't make programming mistakes. Even the best programmers will have any error the first time they compile a program, the same with events language.

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:31
  Old Post 26-09-2003 20:45
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton buy from Amazon

Well, while we're talking about "somebody should," how about a more versatile, fan-made events editor?

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:31
Post  Old Post 26-09-2003 22:57
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Regarding MGE . . . Help yourself to an AD-FREE life

In John Possidente's book and in my own experience, using both the editor and the manual method to create an events file won't work. It'll crash the game.

Now some assert that this isn't the case, but on my machine, and with my MGE, that IS the way it works. I can do it one way . . . or the other. But if I try to go back in and change something manually after I've created the file with the editor . . . it crashes.

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:31
  Old Post 27-09-2003 02:04
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton buy from Amazon

And it's not just an embedding problem?

Palaiologos is offline Palaiologos
King
Constantinople, Queen of Cities
Aug 2002
time: 05:31
  Old Post 27-09-2003 02:39 Visit Palaiologos's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Re: Regarding MGE . . . Inflate your Upload Space

quote:
Originally posted by Exile
In John Possidente's book.... .


For heaven's sake!

Someone has actually written a book for civ2?

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:31
Post  Old Post 27-09-2003 03:27
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Yep. Support Apolyton, buy Civilization 2

Title;

Civilization II, The Complete Guide to Scenario Building

by John Possidente

ISBN # 1-56893-904-3

Library of Congress card catalog # 98-84117

And I suppose that it could be an embedding problem. All I know is the how not the why.

Palaiologos is offline Palaiologos
King
Constantinople, Queen of Cities
Aug 2002
time: 05:31
  Old Post 27-09-2003 06:58 Visit Palaiologos's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Lose 30 kilos (of popups)

Wow!








Only in america.......

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:31
  Old Post 27-09-2003 07:10 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

I own that book!

ottok is offline ottok
Prince
tampere,FINLAND
Oct 1999
time: 05:31
  Old Post 02-10-2003 13:49 Visit ottok's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

hmm...

Ecthy is offline Ecthy
Emperor
Zhonghuà Rénmín Gònghéguó
Mar 2000
time: 06:31
  Old Post 02-10-2003 14:04
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

what is this?

Art of War is offline Art of War
Warlord

Jul 2003
time: 23:31
  Old Post 02-10-2003 23:32
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton, buy Call to Power 2

i heard you had to download something that would convert the events from the textpad to the events written in-game.

Ecthy is offline Ecthy
Emperor
Zhonghuà Rénmín Gònghéguó
Mar 2000
time: 06:31
  Old Post 04-10-2003 15:10
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton buy from Amazon

yeah, I was talking about ottok

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:31.
Apolyton Time is 00:31.
    top of page
Rate This Thread:
archivepost
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.0513 seconds (89.51% PHP - 10.49% MySQL) with 31 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