SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
03-11-10, 07:54 PM | #1 | |
Watch
Join Date: Jul 2007
Posts: 25
Downloads: 10
Uploads: 0
|
Quote:
now maybe i can figure out how to edit the stats heheh thanks for putting up with my chaos. edit: ..ahh..much easier than hex editing. Now ive got to figure out how to add about 100 more torpedo reserves *evil grin* Last edited by voidster; 03-11-10 at 08:32 PM. |
|
03-11-10, 09:26 PM | #2 |
Watch
Join Date: Mar 2010
Posts: 15
Downloads: 1
Uploads: 0
|
How do you set the two files?
|
03-11-10, 11:15 PM | #3 |
Watch
Join Date: Jul 2007
Posts: 25
Downloads: 10
Uploads: 0
|
its listed in the tutorial, but its kind of buried..at least thats my pov.
you launch the editor, then click tools then options. From there you need to type in the location where your SH5.exe is located for the "Actors Directory" (should be the first blank area) then down at the bottom of the first menu you type in the same location info for the "root directory" (in my case it was D:\sh5 but i always install to diff directorys.) it has a lot of potential but the learning curve is going to rank up there with Lightwave. Hmm i may have to tinker around and see if i can import stuff from LW, might be cool to put some of my modeling skills to use. ..er anyhow. hope that helps. |
03-12-10, 12:38 AM | #4 | |
Captain
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
Copying python scripts from the forum is one cause for all the very bad spaces. Now back to your mod: The TDC page is still in the game (100% intact), you can see it the Menu Editor too. Just create an "empty" script (like the one in "Page obs periscope.py") with the same name of the ini file (Page TDC.py for Page TDC.ini) and you'll the have full access to all the menu items in the TDC page. And from the Menu.PageActivated you hook on (+=) in every periscope's script you can bring that page on screen for the player. Code:
#Page obs periscope.py from menu import * def InitializeScript(): Menu.PageActivated += Menu_PageActivated Menu.PageDeactivated += Menu_PageDeactivated def UnloadScript(): Menu.PageActivated -= Menu_PageActivated Menu.PageDeactivated -= Menu_PageDeactivated def Menu_PageActivated( page ): if page == Pageobsperiscope: from PageTDC import PageTDC PageTDC.Visible = True def Menu_PageDeactivated( page ): if page == Pageobsperiscope: from PageTDC import PageTDC PageTDC.Visible = False Remember, copying python scripts from the forum is one cause for all the very bad spaces. Make sure you replace the spaces with tabs. Also, you can also bring back the notebook:
__________________
Kilroy was here |
|
03-12-10, 12:50 AM | #5 |
Black Magic
|
Is there a way to get the goblin editor to give you the x,y,z coodinates of a position on a loaded 3D model? Like below, I loaded up the VIIa sub and I'm trying to get the coordinates of the center of the exhaust port. I move my mouse over the exhaust port but don't see any coordinates showing anywhere.
|
03-12-10, 01:15 AM | #6 | |
Captain
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
__________________
Kilroy was here |
|
03-12-10, 01:16 AM | #7 | |||
Captain
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
__________________
Kilroy was here |
|||
03-12-10, 01:27 AM | #8 | |
Black Magic
|
Quote:
explain what you mean by a dummy 3D object. I've seen these before in SH3/4 but never really understood what they were for. |
|
03-12-10, 12:50 AM | #9 |
Captain
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Also, copying the menu items what comprise a dial in the Menu Editor is not enough (those are just bitmaps). You have to create a new dial entry for it (in data\Menu\cfg\Dials.cfg).
And there's a restriction, you can't add dials to a menu page that didn't have any dials in the stock version of the game (because there has to be a specific line of C++ code for that menu page).
__________________
Kilroy was here |
03-12-10, 01:11 AM | #10 | |
Captain
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
My message is that the correct way to add the TDC dials in the periscope pages is to actually just show the TDC page to the player (with the script I gave you just a few minutes ago). So if you add a dial by hand to one of the periscope page, you'll have to do it all over again in the other 2 (attack, observation, UZO). And since the layout I saw in the screenshot is different from the one currently in the game, all you have to do is to move the dials around in the Menu Editor. That's all and is that easy. Mihai
__________________
Kilroy was here |
|
03-12-10, 03:48 AM | #11 | |
Sea Lord
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
|
Quote:
That is exactly the source of my problem too. Sorry for wasting everyone's time Must have been having one of my now legendary obtuse episodes. |
|
03-12-10, 08:03 AM | #12 |
An able master
Join Date: Jan 2010
Location: England
Posts: 274
Downloads: 121
Uploads: 5
|
Wondered if someone could point me in the right direction, now i have Vista 64 bit i cant find an DDS converter to work with it ive looked everywhere all the usuall ones dont work correctly with Vista 64 so now im a bit stumped here. DDS Converter was fine with my old xp rig but now im lost, ive got photoshop cs4 also but no joy there, any help appreciated.
|
03-12-10, 08:31 AM | #13 |
Sea Lord
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
|
You could try GIMP. Dunno if it works in Vista 64, but it's free, so is probably worth a shot.
http://www.subsim.com/radioroom/down...o=file&id=1356 |
03-12-10, 08:36 AM | #14 |
An able master
Join Date: Jan 2010
Location: England
Posts: 274
Downloads: 121
Uploads: 5
|
Yeh Sergei i'll give it a go, thanks.
|
03-12-10, 08:58 AM | #15 |
An able master
Join Date: Jan 2010
Location: England
Posts: 274
Downloads: 121
Uploads: 5
|
Thanks for your help Sergei it worked fine, going to try my hand at some modding, now i can see the files, great help, cheers.
|
|
|