![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Captain
![]() Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
IMPORTANT
![]() I think this is the first time that this is being mentioned (anywhere): big parts of the interface are being scripted, so there will be some quality modding on the interface (the kind of quality that can be seen in World of Warcraft mods). The syntax being used is the one from Python. The script will access the game through a SDK. Also, the scripted code can access the whole of .Net Framework classes (though it's not that necessary). The editing of the scripts is done inside a special window, that allows the editing of the scripts while the game is running (edit & continue) with text auto-complete and jumping to function definitions, the inspection of the game variables in real time (through a property grid) and the complete description of all the exported classes (inheritance, properties, methods, events, inner types (enums, other classes)). Please note that not ALL game classes have been exported to the scripts. Also, please note that not ALL the interface has been scripted, due to game (and time) limitations. But the road has been opened for you to unleash your imagination and talent. And, as always, there is the Mission Editor for single missions and dynamic campaigns. At last, but not least, the way the AI thinks has been scripted and is being stored in text files (in a custom format). So that has also been opened for modding.
__________________
Kilroy was here |
![]() |
![]() |
![]() |
#2 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
I LOVE YOU
![]() Good job maerean_m and co.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
#3 |
Canadian Wolf
|
![]()
Wow, very nice news
![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Eternal Patrol
![]() |
![]()
Well dog my cats!
This is good news indeed. No, this is wonderful news. Something tells me this is going to be the best subsim evah! But that's what you guys are aiming for, isn't it? ![]() ![]() ![]() ![]() ![]()
__________________
“Never do anything you can't take back.” —Rocky Russo |
![]() |
![]() |
![]() |
#5 | |
Black Magic
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#6 | |
Captain
![]() Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
![]() Quote:
But otherwise, you can create any interface you may think of using elements like buttons, texts, bitmaps, groups etc (that use the game's engine and are being rendered with DirectX). The buttons have events like Clicked to which you attach a delegate (using the familiar += and -= syntax). And all these buttons, texts, bitmaps, groups etc will be created in the MenuEditor.
__________________
Kilroy was here |
|
![]() |
![]() |
![]() |
#7 |
Lucky Jack
![]() |
![]()
Yes sir! The creative juices can now flow into the pixel world of SH5!
![]()
__________________
“You're painfully alive in a drugged and dying culture.” ― Richard Yates, Revolutionary Road |
![]() |
![]() |
![]() |
#8 |
Admiral
![]() Join Date: Jun 2005
Posts: 2,014
Downloads: 26
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#9 | |
Black Magic
![]() |
![]() Quote:
Time to learn Python ![]() Any chance we can get some screenshots of this special window and menu editor you speak of? Just curious to see what some of these variable names and classes are. You mention time constraints as the limiting factor for everything not being scripted. Is it possibe that we (modders) can do the scripting of the remaining items that didn't make it during development? ![]() |
|
![]() |
![]() |
![]() |
#11 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
I will not forget about .NET classes. I won't need/use forms functionality, but I surely can think of many other things I rather do in .NET than in python. Not only that, I can use a ton of existing own libraries, yeeehaaa! I got some cool idea's already just by the info you provided... all I need to know now is what the exported classes are
![]() Thanks again for this awesome news ![]() [edit] I'd love a beta! :wink:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
#12 | |
Black Magic
![]() |
![]() Quote:
![]() I wonder what version of the .NET classes we'll be able to access? Would it merely depend on the version installed on the client machine? |
|
![]() |
![]() |
![]() |
#13 |
Admiral
![]() Join Date: Jun 2005
Posts: 2,014
Downloads: 26
Uploads: 0
|
![]()
This is some really great news, especially with the talent in this forum.
|
![]() |
![]() |
![]() |
#14 | |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
You can load any assembly or dll from python, be it custom or clr. It's built-in functionality. Python is very powerful, more than you can imagine. I just don't prefer it for many reasons, but no biggie... I'll still use it.
Best is if we can use 3.x, since we can't reliably mix FM versions. Quote:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
![]() |
![]() |
![]() |
#15 | |
Black Magic
![]() |
![]() Quote:
Some things I do find interesting is that python doesn't have variable types per se. You just declare a variable and assign a value to it. Different for sure. One thing that I don't like about Python is that it's an interpreted language - like Java in some ways. What's so much better about 3.x? The book I'm reading references 2.5 with some mentionings of 3.0 (3000 as they call it) |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|