Scripted Event: Difference between revisions

From BotF2-Wiki
Jump to navigation Jump to search
No edit summary
merge of random and scripted events
Line 1: Line 1:
= Intro =


In the folder \'''Images'''\ScriptedEvents some pictures are located, and in \'''Sound'''FX\ScriptedEvents the sound files.
In the folder \'''Images'''\ScriptedEvents some pictures are located, and in \'''Sound'''FX\ScriptedEvents the sound files.
Line 4: Line 5:
[http://botf2.square7.ch/b2_db/ScriptedEvents.php DB-List]
[http://botf2.square7.ch/b2_db/ScriptedEvents.php DB-List]


=== Threads ===
*The random events thread http://botf2.star-trek-games.com/viewtopic.php?f=12&t=191 (search entry t=191)
*Missions – Random Events http://botf2.star-trek-games.com/viewtopic.php?f=11&t=2923 (search entry t=2923)
*RANDOM EVENT IMAGES - 2D ARTISTS WANTED! (Images On Page 1) http://www.botf2.star-trek-games.com/viewtopic.php?f=11&t=2413 (search entry t=2413)
*Random events. http://www.botf2.star-trek-games.com/viewtopic.php?f=13&t=1342 (search entry t=1342)
http://www.botf2.com/Shared%20Documents/Random%20Events/BOTF2%20Random%20Events.txt
= Events =
== ReligiousHoliday ==
{| width="100%" bgcolor="#b3b8f4" style="border:2px solid #7d85e6;padding:1em;padding-top:0.5em;"
{| width="100%" bgcolor="#b3b8f4" style="border:2px solid #7d85e6;padding:1em;padding-top:0.5em;"
|valign="top" align="center" bgcolor="#fafaba"| ReligiousHoliday.png
|valign="top" align="center" bgcolor="#fafaba"| ReligiousHoliday.png

Revision as of 11:33, 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
<img>ReligiousHoliday.png</img>


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>