dcx:vr_immersion_library
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dcx:vr_immersion_library [2016/05/18 16:16] – vic | dcx:vr_immersion_library [2026/11/18 18:28] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====VR Immersion Library==== | ||
| - | |||
| - | Current Version: 1 | ||
| - | |||
| - | First included with ComProj v0.90 | ||
| - | |||
| - | Needs the VR Logic Library to properly operate. | ||
| - | |||
| - | In a nutshell this library allows you to create custom messages, decisions and action cards. Some key ingredients to give your scenario' | ||
| - | |||
| - | ===Base Message Table & Message Content Table & Decision Table === | ||
| - | |||
| - | These two tables work together and allow you some level of dynamics to create your messages and decisions. | ||
| - | |||
| - | ==Base Message Table== | ||
| - | |||
| - | Col 0: ID | ||
| - | |||
| - | Col 1: Title of message | ||
| - | |||
| - | Col 2: (Optional) Font name (like georgia.ttf, | ||
| - | |||
| - | Col 3: IF Logic (for example [turn]=0 for first regime and [turn]=1 for second regime or for a message on round 4 for second regime [round]=4@[turn]=1) | ||
| - | |||
| - | Col 4: (Optional) SET Logic (you might want to change a flag back again to 0 so a message does not keep showing up) | ||
| - | |||
| - | Col 5: (Optional) Show Mode: 0 = In REPS tab only, 1 = On startup Only, 2 = On startup and in REPS tab, 3 = As a popup (only use for feedback for custom action card play) | ||
| - | |||
| - | ==Message Content Table== | ||
| - | |||
| - | Now to get some actual text and imagery in your messages. | ||
| - | |||
| - | Keep in mind font color is currently standard black. Also keep in mind the paper the message is drawn on has max 540 pixels of width available. | ||
| - | |||
| - | Col 0: Message ID (must correspond to the Base Message Table) | ||
| - | |||
| - | Col 1: (Optional) IF Logic (must return true for text/pic to be added to message) | ||
| - | |||
| - | Col 2: (Optional)X | ||
| - | |||
| - | Col 3: (Optional)Y | ||
| - | |||
| - | Col 4: (optional) Event picture (will only be rendered if no text) | ||
| - | |||
| - | Col 5: (Optional) Text | ||
| - | |||
| - | Col 6: (Optional) Font Size (if 0 or empty the default font size will be used) | ||
| - | |||
| - | Col 7: (optional) Width of text (if 0 or empty the default 540 will be taken) | ||
| - | |||
| - | ==Decision Table== | ||
| - | |||
| - | You are advised to add multiple decisions to a message if you want to use them. Since only 1 choice will make the decision not very interesting. | ||
| - | |||
| - | Col 0: Message ID (must correspond to the Base Message Table) | ||
| - | |||
| - | Col 1: (Optional) IF Logic (must return true for decision to be added to message) | ||
| - | |||
| - | Col 2: Decision Text | ||
| - | |||
| - | Col 3: Decision Detail (2nd line of smaller text) | ||
| - | |||
| - | Col 4: PP cost | ||
| - | |||
| - | Col 5: SET logic (if this decision is chosen by the player) | ||
dcx/vr_immersion_library.1463588174.txt.gz · Last modified: (external edit)
