Thread: Wishlist Modding shortlist
View Single Post
  #11  
Old February 10th, 2009, 12:07 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Modding shortlist

Extended Random Events.

The current random events are limited to 4. Rather than change the code, I'd like to extend it, and I'd like to make it user moddable.

The idea I envision is that these extended luck events are an additional luck event that would only occur after they become turn eligible, and only if provinces have been denied luck events due to the 4 cap.

(Actually, I'd prefer to change the whole mechanism, but this might be easier or a good first step).


I'd like random events to draw from a list (preferably text) like mercenaries do.

Something like the following format:

ScaleMask: ABCDEF Where each ABC... are numbers corresponding to scales.

Terrain Mask: Bit Map corresponding to required terrains.

CommanderSummon1: Commander Summoned.
CommanderSummon2: Ditto.
UnitSummon1: Unit number summoned.
UnitNumbers: How many to summon.
UnitSummon2:
UnitSummon3:

SpellCast: Spell number
SpellParam1:
SpellParam2:

ChangeScale: Mask to change scales. So for example 100000
would increase Turmoil 1.


CapitolEligible: Can this event occur on the capitol province.

TurnStart: What turn the event can occur on.
TurnEnd: What turn the event can no longer occur on.
EventMsg: Text to be displayed on players screen

TempleLabFort: 3 bit mask. 1 turns on, 0 turns off.

AddSite: Site Number.
Reply With Quote