From b55a1c2519279f4a756a5a031b2f4902d4343b20 Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Mon, 6 Sep 2021 09:53:08 -0400 Subject: [PATCH 1/2] Descent Test Add test Descent's AGE, FNI, PY and SDL files --- Scripts/Python/DescentMystV.py | 8 ++ Scripts/SDL/DescentMystV.sdl | 134 +++++++++++++++++++++++++++++++++ Scripts/dat/DescentMystV.age | 23 ++++++ Scripts/dat/DescentMystV.fni | 4 + 4 files changed, 169 insertions(+) create mode 100644 Scripts/Python/DescentMystV.py create mode 100644 Scripts/SDL/DescentMystV.sdl create mode 100644 Scripts/dat/DescentMystV.age create mode 100644 Scripts/dat/DescentMystV.fni diff --git a/Scripts/Python/DescentMystV.py b/Scripts/Python/DescentMystV.py new file mode 100644 index 0000000000..1bac16d56e --- /dev/null +++ b/Scripts/Python/DescentMystV.py @@ -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 diff --git a/Scripts/SDL/DescentMystV.sdl b/Scripts/SDL/DescentMystV.sdl new file mode 100644 index 0000000000..c01135d5c1 --- /dev/null +++ b/Scripts/SDL/DescentMystV.sdl @@ -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 . +# +# 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 legal@cyan.com +# 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 + +} \ No newline at end of file diff --git a/Scripts/dat/DescentMystV.age b/Scripts/dat/DescentMystV.age new file mode 100644 index 0000000000..4570e0719a --- /dev/null +++ b/Scripts/dat/DescentMystV.age @@ -0,0 +1,23 @@ +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 diff --git a/Scripts/dat/DescentMystV.fni b/Scripts/dat/DescentMystV.fni new file mode 100644 index 0000000000..401a7805e7 --- /dev/null +++ b/Scripts/dat/DescentMystV.fni @@ -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 From 62b8e819163f09e7ee4ee8225a3e508893b81738 Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Thu, 23 Sep 2021 13:54:55 -0400 Subject: [PATCH 2/2] Update AGE file Updates the .age file to use the upcoming avatar animations converted by Hazado --- Scripts/dat/DescentMystV.age | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/dat/DescentMystV.age b/Scripts/dat/DescentMystV.age index 4570e0719a..f8ad4524ef 100644 --- a/Scripts/dat/DescentMystV.age +++ b/Scripts/dat/DescentMystV.age @@ -21,3 +21,5 @@ Page=dsntUpperShaft,7 Page=dsntVolcano,12 Page=dsntChannelRiver,2 Page=TreasureBookShaft,15 +Page=FemalePowerTowerPrimerButton,24 +Page=MalePowerTowerPrimerButton,23