Log in

View Full Version : [WIP] More crew's dialogs commands for SH5 1.1.5 - v0.1b


Athlonic
03-25-10, 06:46 AM
Hi,

I have found a way to add some (missing) commands to our officers dialogs.
Thanks to Heretic who helped me sorting it right.


Which commands have been added so far ? :
- Chief officer :
* Standard propulsion
* Recharge batterie
* Damage report

- Navigator officer :
* Report depth under keel
* Weather report
* Return to course
WIP * Report range at current speed (if it's possible)

- Sonar man :
WIP * Repeat last report
WIP * Report nearest ship
WIP * Report nearest warship
WIP * Follow nearest ship
WIP * Follow nearest warship
WIP * Estimated range to contact
WIP * Normal swipping mode

- Watch officer :
* Report nearest visual contact
* Fire at will
* Hold fire
- Radio man :
WIP * Gramophone's control

Which files have been modded so far ? :
- data\UPCDataGE\UPCLocalization\dialogs.tsr (so localisation needed)
- data\Scripts\AI\Dialogs_Default\DT_Nav_all.aix
- data\Scripts\AI\Dialogs_Default\DT_Chief_all.aix
- data\Scripts\AI\Dialogs_Default\DT_Watch_all.aix
- data\submarine\NSS_Uboat7c\crew_commands.txt

Which files have been added so far ? :
- data\Scripts\AI\Crew\Get_depth_under_sub_keel.aix
- data\Scripts\AI\Crew\Propulsion_recharge.aix
- data\Scripts\AI\Crew\Propulsion_standard.aix
- data\Scripts\AI\Crew\Report_weather.aix
- data\Scripts\AI\Crew\Report_nearest_visual_contact .aix
- data\Scripts\AI\Crew\DGuns_Fire_at_will.aix
- data\Scripts\AI\Crew\DGuns_Hold_fire.aix


I'll try to post a beta version as soon as possible.

Note:
Lots of work and testing left to do but it's a start.
Also it's my first try at scripting, so any help or tips would be appreciated.
Not to mention that I am unable to run SH5 in windowed mode (Win7 and max resolution at 1360x768 (HDTV)) so no script debugger for me...
And if some kind english modder could send me a unmodded "dialogs.tsr" file so I can do a english localisation of this mod. (French here ... yes I know, I know, I've read the "SH5's EasterEgg" topic here ^^)

Thanks


Best regards.

Athlonic.

charognard
03-25-10, 06:50 AM
Good work !!! I d like to see all commands reachable by dialogs !!

Athlonic
03-25-10, 07:22 AM
Good work !!! I d like to see all commands reachable by dialogs !!

Thanks, I share this point of view too.

By looking at thoses script files I can assure you that's what have been planned by the Devs.
It makes no doubt that they ran out of time because there are several lines of code present but deactivated. And you can read dev's comments like "to be implemented" or "not yet functionnal" etc.

But all I saw is that this game has an INFINITE POTENTIAL !
And the strategie mechanics are incredible !
By example, when giving an order to your men it is not just a matter of :

give order :
then execute order

but it is rather like :

give order :
- check if conditions are met to execute this order,
- check number of men needed to do this order,
- search for available crew in proximity of the commands to execute this order,
- check crew competence for this order,
and then execute this order with all those parameter in mind.

That's what I call a simulator, Hell yeahhh :yep:

Good job here devs, hopefully a patch will give this game the place it deserves.
And to UBIsoft : if you let this game down you are definately loosers and big time.

AVGWarhawk
03-25-10, 07:32 AM
Excellent! This could prove to be very good! :yeah:

urfisch
03-25-10, 07:57 AM
nice, thanks!

ReallyDedPoet
03-25-10, 08:05 AM
Nice :yep:

Ragtag
03-25-10, 08:12 AM
Very nice... just what i was missing :)

charognard
03-25-10, 08:22 AM
it d be cool if you can work in concert with DW. The must will be to have reachable order by UI and by dialogs, running without conflict...

Heretic
03-25-10, 09:09 AM
Athlonic, you're welcome to use the files in MFCM if you want to make a version compatible with mine. I use the crew_commands.txt files and made several custom command scripts.

BowfinSS287
03-25-10, 09:37 AM
this is going to be one of those must have mods
great work,looking forward to its release

johan_d
03-25-10, 11:21 AM
Great to see you picked it up.. :yeah:
Please also consider, and I think its very important, to have the boat controlls at the chief.
- rudder hard to port etc
- some speed control, like AK and snail speed..:DL
- dive, periscope depth and surface

Dreaming of...

- dive 20 meters deeper..
- raise 20 meters more..
- surface, AK, blow, all in one command..
- how is your grandmothers cat doing ?

Johan

Athlonic
03-25-10, 12:16 PM
Athlonic, you're welcome to use the files in MFCM if you want to make a version compatible with mine. I use the crew_commands.txt files and made several custom command scripts.

Thanks, I'll try to work as clean as possible to make the synchronisation easy. Your MFCM mod is a "must have" so make them compatible will be my priority n°1 :03:

Athlonic
03-25-10, 12:25 PM
it d be cool if you can work in concert with DW. The must will be to have reachable order by UI and by dialogs, running without conflict...

Should be OK, I will also try to avoid modding the "Commands.cfg" file so you can use keyboard shorcuts to you liking.

Great to see you picked it up.. :yeah:
Please also consider, and I think its very important, to have the boat controlls at the chief.
- rudder hard to port etc
- some speed control, like AK and snail speed..:DL
- dive, periscope depth and surface

Thoses should be a piece of cake, they are already "in" but silent right now.

Dreaming of...

- dive 20 meters deeper..
- raise 20 meters more..
- surface, AK, blow, all in one command..
- how is your grandmothers cat doing ?

Johan

For those I think I will have to spend some promotion points on my scripting abilitie :know:

Athlonic
03-25-10, 05:55 PM
Ok,

After some beta testing there are commands that works flawlessly :


- Chief officer :
* Standard propulsion
* Recharge batteries

- Navigator officer :
* Report depth under keel
* Weather report
* Return to course


I will fine tune them a bit and release a first version tomorrow since it adds some important missing commands already.

Good night ... or day (23:54PM here) :03:

Ailantd
03-25-10, 06:03 PM
It would be good if you could add all standar orders to the man that is with you in the bridge while surface, so you donīt need go downstairs to ask deep under keel, or so. This would simulate that you ask something or order something that the bridge crew transmite downstairs.

johan_d
03-25-10, 06:37 PM
good idea, let the watch officer repeat the orders downstairs..

Athlonic
03-25-10, 06:45 PM
Will do :salute:

johan_d
03-25-10, 07:32 PM
http://www.iconarchive.com/icons/icons-land/vista-style-emoticons/256/Adore-icon.png

subaru
03-25-10, 09:52 PM
good, thanks!:up:

Deutschland
03-27-10, 06:04 PM
Good work..Athlonic

Athlonic
03-27-10, 06:17 PM
Good work..Athlonic


Thanks but this mod is released now.

here : http://www.subsim.com/radioroom/showthread.php?t=166236

Let this "WIP post" fall in the abysses of this forum archives

:88)