Difference between revisions of "Scripted Event"

From BotF2-Wiki
Jump to: navigation, search
(merge of random and scripted events)
(Intro)
Line 13: Line 13:
  
 
http://www.botf2.com/Shared%20Documents/Random%20Events/BOTF2%20Random%20Events.txt
 
http://www.botf2.com/Shared%20Documents/Random%20Events/BOTF2%20Random%20Events.txt
 
  
 
= Events =
 
= Events =

Revision as of 11:53, 3 May 2014

Intro

In the folder \Images\ScriptedEvents some pictures are located, and in \SoundFX\ScriptedEvents the sound files.

DB-List

Threads


http://www.botf2.com/Shared%20Documents/Random%20Events/BOTF2%20Random%20Events.txt

Events

ReligiousHoliday

ReligiousHoliday.png


ScriptedEvents.xaml

File Structure

  • <EventDefinition EventID="RELIGIOUS_HOLIDAY"
    • Description="Religious Holiday"
    • EventType="coreEvents:ReligiousHolidayEvent">
    • <EventDefinition.Options>
      • <x:Int32 x:Key="CivilizationRecurrencePeriod">75</x:Int32>
      • <x:Int32 x:Key="UnitRecurrencePeriod">150</x:Int32>
      • <x:Int32 x:Key="OccurrenceChance">100</x:Int32>
    • </EventDefinition.Options>
  • </EventDefinition>