SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-11-09, 02:38 AM   #46
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by maerean_m View Post


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.
Quote:
Originally Posted by maerean_m View Post
Ok, forget about the .net classes (really). Players don't want Windows dialog boxes over the game while playing (in fullscreen).

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.
Sounds promising. I can envisage many good (and integrated) ideas...assuming the coders amongst us are willing to work together...

I'm curious though: how open will SH5 be to "in-game" variable/object modification?
JScones is offline   Reply With Quote
Old 09-11-09, 03:04 AM   #47
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Quote:
Originally Posted by WEBSTER View Post
i cant even imagine how slow some peoples computers would be if something like that was done.

streaming media "in game" then if you try that for online play i think it would "require" a quad core with broad band connection to work wouldnt it?
Nah, if you can play WMP or winamp or similar in the background, then this is absolutely possible.
skwasjer is offline   Reply With Quote
Old 09-26-09, 02:37 AM   #48
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

I'm sure I can learn python easily enough, but would someone please answer me this (in plain English): what, other than the game's GUI, will I be able to mod (without needing someone like skwasjer to make a tool like S3D)?
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.