SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 5 (https://www.subsim.com/radioroom/forumdisplay.php?f=244)
-   -   UBI tool for modding SH5/SH5 Editor (https://www.subsim.com/radioroom/showthread.php?t=155879)

JScones 09-11-09 02:38 AM

Quote:

Originally Posted by maerean_m (Post 1169166)
https://fedoraproject.org/w/uploads/f/ff/Important.png

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 (Post 1169191)
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?

skwasjer 09-11-09 03:04 AM

Quote:

Originally Posted by WEBSTER (Post 1169956)
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.

onelifecrisis 09-26-09 02:37 AM

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)?


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.