![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Black Magic
![]() |
![]()
The biggest one to look at is the +-S. If you have a -S then the sizes are different, which means the files are probably completely different (has changes).
|
![]() |
![]() |
![]() |
#2 |
中国水兵
![]() Join Date: Jul 2011
Posts: 278
Downloads: 941
Uploads: 0
|
![]()
BUMP. See post #247 in this thread.
|
![]() |
![]() |
![]() |
#3 |
Nub
![]() Join Date: Dec 2009
Posts: 2
Downloads: 214
Uploads: 0
|
![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
thanks for the info......
|
![]() |
![]() |
#5 |
Seaman
![]() Join Date: Mar 2010
Location: Hungary
Posts: 32
Downloads: 138
Uploads: 0
|
![]()
I finished my script to carry navigational data and time from Page Default Hud to Stellarium startup.ssc file. I would like this to do for locate position of celestial objects and to calculate my position with triangulation. I cannot use the ingame sextant because gives me very inaccurate measures.
In Scriptmanager it works, but doesn't if I disable the modtools. It only works if I apply the changes. How can I script to work by example if I save the game? Code:
#Stellarium def MakeFile(file_name): # python path below use \\ temp_path = 'C:\\Program files\\Stellarium\\scripts\\' + file_name file = open(temp_path, 'w') file.write('') file.close() MakeFile('startup.ssc') latitudealpha = PageDefaultHud_MapGroup_Mapcontrol.SubmarineContact.Location.X longitudealpha = PageDefaultHud_MapGroup_Mapcontrol.SubmarineContact.Location.Y latitudealpha2 = float(latitudealpha) / 120000 longitudealpha2 = float(longitudealpha) / 120000 stella=open("c:\\Program files\\Stellarium\\scripts\\startup.ssc", 'w') a = 'core.setDate("'+str(Game.CurrentGameDateTime)+'");\n'+'core.setObserverLocation('+str(longitudealpha2)+','+' '+str(latitudealpha2)+', 10, 0, "1");' b = str(a) c = list(b) c[18] = ':' c[21] = ':' c[24] = 'T' c[25] = '' d = "".join(c) stella.write(d) stella.close() #end of stellarium |
![]() |
![]() |
![]() |
#6 |
Ocean Warrior
![]() Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
|
![]()
One thing to add to Weber's wisdom...... it's been said before but has probably been missed by those new to Sh5 and the installing of mods.
If a mod you want to install with JSGME has documentation in it, remove it before you add it to the Mods folder. It's unneccessary to install them with the mod, and besides that they can and will corrupt an install. I've found that out my self, the hard way. When you take the documents folder out of a mod, rename it with the mod's name so you know what you need to find if you have to read the document of a certain mod.
__________________
Gary No Borders, No Language, No Culture =s No Country I'm a Deplorable, and proud of it. |
![]() |
![]() |
![]() |
#7 |
Sea Lord
![]() Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
|
@ GT182
Seconded in all possible ways
|
![]() |
![]() |
![]() |
#8 |
Commander
![]() Join Date: Jun 2007
Location: Uruguay
Posts: 453
Downloads: 196
Uploads: 4
|
![]()
Hello,
I would like to know if there is any documentation listing the functions that can be called to the game from a script and what they are for. ? |
![]() |
![]() |
![]() |
#9 | |
Admiral
![]() Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
|
![]()
I was completely unaware about this, thank you GT182
![]() Quote:
__________________
What we do in life echoes in Eternity |
|
![]() |
![]() |
![]() |
#10 |
Grey Wolf
![]() Join Date: Jan 2011
Location: greece
Posts: 827
Downloads: 505
Uploads: 0
|
![]()
maybe this is the right topic so i gonna give it a shot....i want to change the controls from silent hunter 5 to 4....how can i do that please?
|
![]() |
![]() |
![]() |
#11 | |
Ocean Warrior
![]() |
![]() Quote:
![]()
__________________
. Where does human stupidity end? . ![]() ![]() El sueño de la razón produce monstruos © - and for some people awakening will be cruel |
|
![]() |
![]() |
![]() |
#12 |
Grey Wolf
![]() Join Date: Jan 2011
Location: greece
Posts: 827
Downloads: 505
Uploads: 0
|
![]()
well thank you very much for the program but i remember that there is another option like you change inside a cfg file some orders....wich i dont know what configuration file is on 5.....
|
![]() |
![]() |
![]() |
#13 |
Ace of the deep .
|
![]()
Goblin says i cannot save dat files ?
|
![]() |
![]() |
![]() |
|
|