Author Topic: 3D Mainhall script for TBP  (Read 5409 times)

0 Members and 1 Guest are viewing this topic.

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
3D Mainhall script for TBP
As some of you may know, I've been fiddling with the mainhall mission script. So, for your consideration and viewing pleasure, I humbly present this package. It contains the mission (still a WIP, but usable), the script, a few bits and pieces of Interface art for those, and inferno builds of the engine (based on FSO revision 5370). These are necessary for Multiplayer compatibility; while the script works without apparent problems for single player mode, multi WILL NOT WORK, unless you're using the builds included here, or any (inferno) build after 5370.

Thanks to chief1983 and Flaming Sword for making this script as awesome as it is.
Thanks to Aardwolf for pointing out some of my stupidity.
Special Thanks to WMCoolmon for creating this script in the first place.

To install it, extract the archive into your TBP folder and select mainhall_script as a mod in the Launcher. You will also (probably) need the Zathras pack.

EDIT: Right now, this script is almost a full, working replacement for the traditional mainhall. Things that are still missing (but I'm working on them, promise!) are the help overlay, .ani support, and mouseover sound FX.

Just so you know what you're getting into, here are some screenshots:

From the single player mainhall:


And the multiplayer version:

« Last Edit: July 05, 2009, 09:18:10 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: 3D Mainhall script for TBP
very nice thankyou Mr E
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
A quick update:

--Because of the long loading time, I disabled the mission function for the time being
  (If you want to see how it looks like with the mission loading enabled, locate the usemission variable and change its value to true)
--Added support (and Images!) for background images with an aspect ratio != 4:3
--Script was cleaned up a bit

Still to do:
--Menu music
--Find a way to get the logo to scale correctly for resolutions other than 1440*900 (for the 16:10 version) or 1024*768 (for the 4:3 version) Found it.

Here is a screenshot:


EDIT: Damn, uploaded a buggy version. Links are now fixed.
EDIT EDIT: Moar updates!

--More interface Art
--Moved the control layout from vertical to horizontal, to better emulate the original TBP layout

Screenies:


« Last Edit: July 05, 2009, 09:17:49 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 3D Mainhall script for TBP
Nice, I like where it's going.  Don't forget WMC though, he pretty much created the initial scripts.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
Update Time again!

Changes:

--Lots of changes under the hood for better forward compatibility
--Support for images and sample images for the buttons
--Music is now playing

The normal buttons:

And what they look like when the mouse is over them:


EDIT: Apparently, while there is a function to play music from a file, there is no function to stop it again. :wtf:
This has now been rectified. Updated engine builds are included.

EDIT EDIT:
Thanks to Aardwolf, proper keyboard support has now been added. Thanks to the SCP, a few nasty crash issues have finally been eradicated.
« Last Edit: July 05, 2009, 09:17:30 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: 3D Mainhall script for TBP
Just a note to anyone using the 3.6.11 builds.  Glide won't work properly until I add some table entries to Zathras.  I can't add those entries until the next 3.6.10 build is out since the current one doesn't support them. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: 3D Mainhall script for TBP
remember to add the Presidental Fury  :D
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: 3D Mainhall script for TBP
That's been done for ages.  It was even right in 3.4b but a .tbm got left in data\tables without the glide enabled that overrode the core. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
Holy update, Batman!

No new screenshots or shiny features, just bugfixes.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
With the mainhall script being as good as ready, I present a WIP of my next project: The options screen. It'll be a while before you get to play with it (It is VERY WIP, and very ugly from a coding point of view). However, it does look nice:

« Last Edit: July 17, 2009, 09:03:58 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: 3D Mainhall script for TBP
this is starting to get pornographic now ........;;
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
You, Sir, have strange tastes in pornography.
Anyway, Progress!
« Last Edit: July 17, 2009, 09:04:28 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
 :bump:

Right. So here's the latest news from this project. First, screenshots:



Now, here's an upload of the current version. As always, unzip it into your TBP folder, select one of the provided builds, select "optionsmenu" as a mod, and run it.
Implemented here are the Main options menu and the "Detail" menu, but at the moment, none of the sliders and checkboxes do anything. I would appreciate it, however, if you could check if the settings as displayed are correct.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: 3D Mainhall script for TBP
Any updates to this?
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: 3D Mainhall script for TBP
None that I would feel comfortable releasing at the moment.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

  

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: 3D Mainhall script for TBP
I really like this  :)
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.