I would like to flesh the games with events. Aside from the EventText file which has only the events descriptions, where are the others files needed to do that?
Look like scripted pascal to me, very readable though for now I would just like to tweaks the parameters of already existing events, the output message and before all the event frequency. I don't see a 'global event frequency' somewhere, must look harder! Back to top
Uhh... was this about SE5? Its in the SE4 section.
In SE5, you have to edit the event script source file (which you already found), compile it, and place it into your mod. Best to edit a copy, naturally.
The event setting chance values are embedded into the script (poor design):
Code:
case event_freq
EVENT_FREQUENCY_NONE:
set event_happened := FALSE
EVENT_FREQUENCY_LOW:
if (chance <= 5) then
set event_happened := TRUE
endif
EVENT_FREQUENCY_MEDIUM:
if (chance <= 10) then
set event_happened := TRUE
endif
EVENT_FREQUENCY_HIGH:
if (chance <= 25) then
set event_happened := TRUE
endif
endcase
Personally, I don't find the SE5 scripts very "readable." Excessively verbose and difficult to follow, more like. Sigh, for want of something clean and elegant as python... Smarter than your average Texrak. Back to top
[quote
Personally, I don't find the SE5 scripts very "readable." Excessively verbose and difficult to follow, more like. Sigh, for want of something clean and elegant as python...[/quote]
I thought it was just me getting frustrated with the scripts!! So its not just me, big relief. I thought my programming skills were rusty, but I didn't think that rusty Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All logos and trademarks used on this site, all comments and stories posted for reading, all files hosted for download, and all art work hosted for viewing are property of their respective owners; all the rest copyright 2003-2010 Nolan Kelly.
Syndicate news: - Syndicate forums:
Page Generation: 0.22 Seconds