Thread: Events Mod
View Single Post
  #2  
Old October 22nd, 2006, 01:48 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Events Mod

Event scripting is in \Data\script_main_externalevents.csf. You'll need to work with the source file though, in \Utilities\ScriptParser\SE5MainScripts\Script_Main _ExternalEvents.txt, and compile that into the csf file.

The function Select_Event appears to be the function that determines which event occurs. You'll need to assign an ID at the top of the file, and add it to this function. Next, you need to create a function for the event in the style of the others. Finally, add it to the case structure in the function Execute_Event.

I think that is all, but there might be something I missed.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote