Author Topic: Scenario Editor Interlude Viewer  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

Offline Dio

Scenario Editor Interlude Viewer
« on: April 18, 2015, 05:17:22 PM »
I have discovered an unused keyboard shortcut and script inside the game that corresponds to a presently unavailable feature in the scenario editor. This particular feature appears as #EDITINTERLUDE in the script.txt. This feature, if implemented, would operate by pressing the semicolon key while having the scenario editor active. After pressing the key, a window appears where you can enter a numerical value. The numerical value you enter should correspond to the number following a entry in the interlude/interludex.txt files.  For example, entering 0 into the box and pressing Ok/Enter will cause the following interlude to appear:

Quote
Interlude: A Waking Nightmare
  Walking alone through the corridors of $BASENAME2, you skim the security
reports on recent attacks by the horrific native "mind worms." Giant
swarms, or "boils," of these mottled 10cm nightmares have wriggled out of the
fungal beds of late, and now threaten to overwhelm base
perimeters in several sectors. Victims are paralyzed with psi-induced terror,
and then experience an unimaginably excruciating death as the worms burrow
into the brain to implant their ravenous larvae.
  Only the most disciplined security squads can overcome their fear
long enough to trigger the flame guns which can keep the worms at bay.
Clearly you will have to tend carefully to the morale of the troops.
  Furthermore, since terror and surprise increase human casualties
dramatically in these encounters, it will be important to strike
first when mind worm boils are detected. You consider ordering some
Former detachments to construct sensors near vulnerable bases to aid
in such detection efforts
.

In short, this feature allows a player to view interludes as many times as they want without having to meet any of the normal triggers. I made this feature work by replacing the commands at addresses 00518868 and 0051886B with nops (no operations) because that particular logic control was malfunctioning and preventing this feature from operating. If anyone has a better method or idea to make this feature operate, then he or she is more than welcome to try it.
« Last Edit: April 18, 2015, 06:33:20 PM by Dio »

Offline Geo

Re: Scenario Editor Interlude Viewer
« Reply #1 on: April 18, 2015, 07:01:25 PM »
Oh, good news for those modders who want to change/adjust the story.
Any chance to let the trigger popup as well? Makes it easier for a modder to keep track of how the story evolves when testing.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

If our society seems more nihilistic than that of previous eras, perhaps this is simply a sign of our maturity as a sentient species. As our collective consciousness expands beyond a crucial point, we are at last ready to accept life's fundamental truth: that life's only purpose is life itself.
~Chairman Sheng-ji Yang 'Looking God in the Eye'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 38.

[Show Queries]