.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old October 22nd, 2006, 01:33 PM

Hemperor Hemperor is offline
Private
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hemperor is on a distinguished road
Default Events Mod

I would like to add more events to SE V. Aside from the events text file, does anyone know what other file it is acociated with? Im havin a hard time finding the script that causes the effects to happen/
Reply With Quote
  #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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.