User Tools

Site Tools


dcx:vr_event_library

This is an old revision of the document!


VR Basic Lib

Nothing is stopping anybody from making their own event libraries.

But it is not easy since it involves true scripting.

So here is a basic event libary that allows you to create all straightforward hex-and-counter scenarios.

I will discuss all the functionality of the library on this page. In rough lines, because detailed explanation is given when you use them in the Simple Editor.

I am planning to provide regular updates to add extra functionality to it.

Supply events

Uses: Capitol system

Allows you to give supply to troops every round. It is flexible enough to have different sources of supply

AI note: The AI uses only the first 3 records of each regime (that actually are on friendly hex and lead to friendly capitol) to calculate what are the supply sources. For the AI such a source is always considered to have enough supply points to cover all units.

Fuel events

Uses: Capitol system

Same as for the supply events.

AI note: The AI does not look at the fuel stringlist. Only to the supply stringlist.

Replacement troops events

Uses: Capitol system

Allows you to let replacement troops arrive at HQs. It has build in functionality for randomization and time periods.

Reinforcement events

Uses: Capitol system, Scramble system

Allows you to put historical units from a historical library as reinforcement cards in the players hand on a specific date.

Also allows you to put a new instance of a model and optionally rename it.

Capitols system events

Only used by other events.

It has its own stringlist where you can specify capitols for each regime and give them a category and a priority. The capitol events when called by another event will make a check which capitol that event needs.

Scramble events

It has its own stringlist where you can set the conditions for randomly changing order of battles. It is used by other events, but also ran at game start to scramble the initial OOB.

Weather events

Allows you to have rain/clear turns and changing seasons.

Victory events

Allows you for the scenario to end.

Music events

Allows you to set different music soundtracks for each regime.

PP Grants events

Allows you to give political points on start of turn depended on if certain conditions are met.

Extra Replacement Card events

Uses: replacement troops events, capitol system

Allows you to give the players cards they can spent their PP on. The cards give a certain amount of (randomized quantity) troops and/or fuel and/or supply points. One card can give multiple kind of troops.

Model Maximum On Map events

Allows you to set the maximums for certain historical models, or prohibite the player to create/morph to them.

dcx/vr_event_library.1436376294.txt.gz · Last modified: 2026/06/22 12:14 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki