View Single Post
Old 03-21-10, 05:50 PM   #85
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

well i've been working hard, very hard. I had to add LOTS of scripting to get all my UIs merged into one, fix problems found in stock game, add new features/functions, etc. It's almost complete. To give you an idea of how much scripting is added, the stock Page layout.py file is 1.39kb. It's now at 60.9kb!
My solution to the heading/rudder thing I think can best be seen by some screenshots:

here's the screenshot when you first enter into the game (I expanded the TAI map on my own cause it starts out minimized. I stopped the periscope from rising automatically when you start the game also! I clicked on the Radio officer icon and then clicked on gramophone and the following orders are available):


now if you click the heading bar just to the right of the stock UI speed bar you get this:


if you click the little button below the compass you get this:


click on the heading bar again and the compass/rudder goes away! The emergency surface icon added to the depth bar on the far left works also (right below the crash dive icon).

All the officers orders are scripted such that they have to meet conditions before they are enabled. Some require you to be underwater, some require you to be on the surface, some require you to have a contact locked, etc. In the screenshot above all the orders are available because the conditions are met. If some of the orders conditions were not met then it would not appear in the bar (it would have a blank space). An example of an order that would get a blank space: you're on the surface and you click on the CE. The orders that would normally pop up are Propulsion, Emergency maneuvers, and Reports. But since you're on the surface emergency maneuvers are not allowed (all emergency maneuvers require you to be underwater - game problem because it causes the sub to dive and you, the captain, can remain on the bridge - BUG!). I had to script the commands because of bugs with the game in order for them to work correctly. I'm sure that when I release this here soon you all WILL enjoy it. And yes, the gramophone works along with many other things.
One peculiar thing I haven't been able to get to work is Battlestations. I added an icon in the Watch officer's orders that is for battlestations. When you click on it the command is recognized by the game but nothing happens.....it is a delayed event so I don't know what causes the 'event' to fire. You all will have to tell me what triggers it when I release this.
I've combined all my UI mods into one. You determine what UI you want to use and what settings by modifying one file. Couldn't be any easier huh?

Now I'm just polishing up the loose ends. But there are a LOT of them. There's more features and all to add to this mod but I'll finish up this version so you all can get the basic functionality back into the game.

Last edited by TheDarkWraith; 03-21-10 at 06:09 PM.
TheDarkWraith is offline   Reply With Quote