.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Events Mod (http://forum.shrapnelgames.com/showthread.php?t=31228)

Hemperor October 22nd, 2006 01:33 PM

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/

Fyron October 22nd, 2006 01:48 PM

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.


All times are GMT -4. The time now is 11:06 PM.

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