Difference between revisions of "Scripted Event"
From BotF2-Wiki
(added Link to DB-List) |
|||
Line 14: | Line 14: | ||
|} | |} | ||
− | [[Category:Images]] [[Category:Audio]] | + | |
+ | |||
+ | = 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> | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:Images]] [[Category:Audio]] [[Category:XML-files]] |
Revision as of 10:29, 3 May 2014
In the folder \Images\ScriptedEvents some pictures are located, and in \SoundFX\ScriptedEvents the sound files.
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>