![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-12-10, 12:47 PM
|
#1 | |
|
Watch
![]() Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
|
Quote:
Now, I have a new issue ![]() Code:
class MyServer(DdeServer):
def __init__(self,service):
base.service = service
def InitializeScript():
# --- Start: Initialize DDE server --- #
global SpeechServer
SpeechServer = MyServer("shspeech")
# --- End: Initialize DDE server --- #
I've tried giving more arguments, but that doesn't work... |
|
|
|
09-14-10, 01:45 PM
|
#2 |
|
Watch
![]() Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
|
Anyone?
|
|
|
09-14-10, 03:27 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
super( MyServer, self ).service = service |
|
|
|
09-15-10, 07:43 AM
|
#4 |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
In a mod I'm makin I use TGAs from SH3 and SH4. I convert them to DDSs using GIMP + dds plugin. In game though they don't seem to be anti-aliased enough - I think I could achieve better visual results. What should I do when converting them? Right now the set of options when converting looks like that:
![]() I use "Bilinear" mipmap filtering, as I read in TDW's post that "Bilinear filtering" is the setting he used in his mod for graphics to be anti-aliased properly. EDIT: Using Photoshop in the convertion process is an option to me, if I knew the results would be better - luckily I have access to it.
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
09-15-10, 09:25 AM
|
#5 |
|
Black Magic
![]() |
The filtering I used was declared in the .ini files. When you add new items to .ini files via menu editor it doesn't set the filtering. You have to edit the .ini files and change the values to make it use filtering.
|
|
|
09-15-10, 09:34 AM
|
#6 |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
I just substitute existing game .dds files with new ones, without editing .ini files (only 1 .cfg file is edited). I also want it to stay that way for simplicity and full compatibility with any other mods - as I understand editing .ini files would greatly increase chances of incompatibility with other mods.
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
09-15-10, 03:53 PM
|
#7 |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
My advice for anti-aliasing images(if it is critical), is to scale them up by factor 2 from stock, and apply a Gaussian blur factor <or= to 0.7. Then apply an unsharp filter of 0.10 or greater. All this can be done in GIMP. Plus, you will get slightly better quality if you use gamma corrected mipmaps.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
09-15-10, 04:19 PM
|
#8 | |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
Quote:
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
|
09-15-10, 04:48 PM
|
#9 | |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
Quote:
Also, though you did not have it set to save the images compressed in that screen shot, it is imperative that you not save any image file with a compression unless it is gigantic. Saving with compression, no matter how high quality of a compression you use will damage/distort the image. It will do this in GIMP and in PS.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
|
09-17-10, 11:41 AM
|
#10 |
|
Watch
![]() Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
|
|
|
|
09-19-10, 09:59 AM
|
#11 |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
For my Map Tools mod - do map tools, which are only displayed in one, base size, need mipmaps at all?
Wouldn't it be better resources-wise to get rid of mipmaps in dds files?And IF mipmaps are not needed and safe (for every configuration - this is a must condition), do we need the map tools in dds format? Dds files are 35% bigger than identical tgas.
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
09-19-10, 10:07 AM
|
#12 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
09-19-10, 10:50 AM
|
#13 | |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
Quote:
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
|
09-19-10, 12:22 PM
|
#14 | |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
Quote:
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
|
09-20-10, 03:47 PM
|
#15 |
|
The Old Man
![]() Join Date: Jan 2007
Location: Warszawa, Polska
Posts: 1,452
Downloads: 46
Uploads: 4
|
With every tiny mod I make my appetite for more serious modding grows. I hope to find a cure soon, as this actually keeps me out of game
, but got a question:Is it possible (makeable) to have a draggable tool consisting of 3 elements overlapping each other (half-transparent), where one is fixed (is a "base" of the tool) and the 2 others move freely to sides (in 1 axis only, horizontal), where freely means when dragged with mouse coursor (part #2 moves independently of part #3)?
__________________
Long, hard, wet and full of seamen. My precious. SH3+GWX+OLC sunk x4, retired x2; SH5+TDW still exploring My SH5 mods: EQuaTool - Elite Quality Map Tools, Patrol Routine Scripts, No Logo Intro Menu_Animation, Less Annoying Stopwatch Links: SH5 mods I use, FileFront, Manual plotting how-to |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
