Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descent Test #991

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Scripts/Python/DescentMystV.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from Plasma import *
from PlasmaTypes import *

class DescentMystV(ptResponder):
def __init__(self):
ptResponder.__init__(self)
self.id = -1
self.version = 0
134 changes: 134 additions & 0 deletions Scripts/SDL/DescentMystV.sdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# /*==LICENSE==*
#
# CyanWorlds.com Engine - MMOG client, server and tools
# Copyright (C) 2011 Cyan Worlds, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Additional permissions under GNU GPL version 3 section 7
#
# If you modify this Program, or any covered work, by linking or
# combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
# NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
# JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
# (or a modified version of those libraries),
# containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
# PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
# JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
# licensors of this Program grant you additional
# permission to convey the resulting work. Corresponding Source for a
# non-source form of such a combination shall include the source code for
# the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
# work.
#
# You can contact Cyan Worlds, Inc. by email [email protected]
# or by snail mail at:
# Cyan Worlds, Inc.
# 14617 N Newport Hwy
# Mead, WA 99021
#
# *==LICENSE==*/
#==============================================================
# READ: When modifying an SDL record, do *not* modify the
# existing record. You must copy and paste a new version
# below the current one and make your changes there.
#==============================================================


#
# State Description Language for the Descent


STATEDESC DescentMystV
{
VERSION 1

# Boolean variables
VAR BOOL dsntGZMarkerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntYeeshaPageMusicPlayerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntCalendarSpark06[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntKILightFunc[1] DEFAULT=0 DEFAULTOPTION=VAULT

}


# State Description Language for the Descent

STATEDESC DescentMystV
{
VERSION 2

# Boolean variables
VAR BOOL dsntGZMarkerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntYeeshaPageMusicPlayerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntCalendarSpark05[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntKILightFunc[1] DEFAULT=0 DEFAULTOPTION=VAULT

}


STATEDESC DescentMystV
{
VERSION 3

# Boolean variables
VAR BOOL dsntGZMarkerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntYeeshaPageMusicPlayerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntCalendarSpark05[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR INT dsntKILightFunc[1] DEFAULT=0 DEFAULTOPTION=VAULT

}


STATEDESC DescentMystV
{
VERSION 4

# Boolean variables
VAR BOOL dsntGZMarkerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntYeeshaPageMusicPlayerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntCalendarSpark05[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BYTE dsntKILightFunc[1] DEFAULT=0 DEFAULTOPTION=VAULT

}

STATEDESC DescentMystV
{
VERSION 5

# Boolean variables
VAR BOOL dsntGZMarkerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntYeeshaPageMusicPlayerVis[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BOOL dsntCalendarSpark05[1] DEFAULT=0 DEFAULTOPTION=VAULT
VAR BYTE dsntKILightFunc[1] DEFAULT=0 DEFAULTOPTION=VAULT
### Myst V Carryover ###
VAR BOOL dsntElevatorARaised[1] DEFAULT=0 # Upper Elevator
VAR BOOL dsntElevatorBRaised[1] DEFAULT=0 # Lower Elevator
# Door Mechanics
VAR BOOL dsntTCaveDoor01Open[1] DEFAULT=0 # Door to Top of Shaft
VAR BOOL dsntTCaveDoor02Open[1] DEFAULT=0 # Door next to Hole in Wall
VAR BOOL dsntShaftDoorOpen[1] DEFAULT=0 # Door from bottom of Shaft to Tunnel
VAR BOOL dsntLavaDoorOpen[1] DEFAULT=0 # Door to river tunnel
# Shaft Mechanics
VAR BOOL dsntFanOn[1] DEFAULT=0 # Activate Fans
VAR BOOL dsntGeneratorOn[1] DEFAULT=0 # Activate Generator
VAR BOOL dsntFloorRaised[1] DEFAULT=0 # Shaft Floor Status
# Full Shaft Walk Additions
VAR BOOL dsntShaftBridge01Vis[1] DEFAULT=0 # Bridge Near top of Shaft
VAR BOOL dsntShaftBridge02Vis[1] DEFAULT=0 # Bridge Near Bottom of Upper Elevator
VAR BOOL dsntShaftBridge03Vis[1] DEFAULT=0 # Bridge Near Top of Lower Elevator
# New Journal
VAR BOOL dsntCommentaryJrnlVis[1] DEFAULT=0 # New Journal of Commentary

}
25 changes: 25 additions & 0 deletions Scripts/dat/DescentMystV.age
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
StartDateTime=0000000000
DayLength=24.000000
MaxCapacity=50
LingerTime=180
SequencePrefix=7243
ReleaseVersion=0
Page=dsntBats,4
Page=dsntGreatShaftBalcony,1
Page=dsntGreatShaftLowerRm,3
Page=dsntLowerBats,22
Page=dsntPostBats,6
Page=dsntPostShaftNodeAndTunnels,18
Page=dsntShaftGeneratorRoom,16
Page=dsntShaftTunnelSystem,8
Page=dsntTianaCave,13
Page=dsntTianaCaveNode2,10
Page=dsntTianaCaveTunnel1,11
Page=dsntTianaCaveTunnel3,17
Page=dsntUpperBats,5
Page=dsntUpperShaft,7
Page=dsntVolcano,12
Page=dsntChannelRiver,2
Page=TreasureBookShaft,15
Page=FemalePowerTowerPrimerButton,24
Page=MalePowerTowerPrimerButton,23
4 changes: 4 additions & 0 deletions Scripts/dat/DescentMystV.fni
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Graphics.Renderer.SetClearColor 0.30 0.30 0.20
Graphics.Renderer.SetYon 50000.0
Graphics.Renderer.Fog.SetDefColor 0.30 0.30 0.20
Graphics.Renderer.Fog.SetDefLinear -100.00 1000.00 1.00