.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 > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks


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 01:37 AM.


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