![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sonar Guy
![]() Join Date: Apr 2006
Location: Bucharest, Romania
Posts: 394
Downloads: 30
Uploads: 0
|
![]()
Lets suppose i have 2 text files: x0 and x1. Both have identical content except that x1 has a different line of text. Lets suppose i have two message_en.txt files. Is it possible, using SHCommander to make x0 work when im in Atlantic and automatically switch to x1 when in Mediteranean without having to exit the game?
Thank you.
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Mar 2005
Location: Manchester UK
Posts: 881
Downloads: 4
Uploads: 0
|
![]()
You can randomise text messages with sh3 commander which I think you already know but I do not think you can trigger area specific messages.
You can however set by year. I have already done a sloppy job at some of mine but just wanted to see how it worked, I am thinking of adding lots of reasons why the men wont run the engines because they are tired etc etc. [0_data\Menu\en_menu.txt] ChooseFrom=13 RndMidPat=1 0_STRINGS|4198=Keep up the good work Kaleun! 1_STRINGS|4198=Great stuff Kaleun! 2_STRINGS|4198=Very impressive! 3_STRINGS|4198=Happy Hunting 4_STRINGS|4198=Look Forward to seeing you back at base! 5_STRINGS|4198=Great stuff Kaleun! 6_STRINGS|4198=Very impressive! 7_STRINGS|4198=Happy Hunting 8_STRINGS|4198=Keep up the good work Kaleun! 9_STRINGS|4198=Great stuff Kaleun! 10_STRINGS|4198=Very impressive! 11_STRINGS|4198=You are doing well [1_data\Menu\en_menu.txt] ChooseFrom=6 RndMidPat=1 0_STRINGS|514=I hope she holds! 1_STRINGS|514=Standbye for leaking! 2_STRINGS|514=The men are getting uneasy! 3_STRINGS|514=Do you want me to level off captain? 4_STRINGS|514=I don't think she will hold the pressure! [2_data\Menu\en_menu.txt] ChooseFrom=6 RndMidPat=1 0_STRINGS|515=We have never been this deep before! 1_STRINGS|515=Suggest we rise a little SIR! 2_STRINGS|515=The men are nervous Sir! 3_STRINGS|515=I think we should level off? 4_STRINGS|515=The pressure will get us soon! [3_data\Menu\en_menu.txt] ChooseFrom=3 RndMidPat=1 0_STRINGS|598=Enemy is pinging us, sir! 1_STRINGS|598=Those Bastards! 2_STRINGS|598=Were being pinged! [4_data\Menu\en_menu.txt] ChooseFrom=3 RndMidPat=1 0_STRINGS|599=Enemy ship engaging us, sir! 1_STRINGS|599=There comming for us! 2_STRINGS|599=What shall we do Sir? [5_data\Menu\en_menu.txt] ChooseFrom=3 RndMidPat=1 0_STRINGS|601=We may have been detected, sir! 1_STRINGS|601=Damn they have detected us, sir! 2_STRINGS|601=I think they have detected us!
__________________
My Mods Gouldjg's Crew Ability Balancing Mod for SH5 1.2 http://www.subsim.com/radioroom/showthread.php?t=169630 |
![]() |
![]() |
![]() |
#3 |
Ace of the Deep
![]() Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,149
Downloads: 910
Uploads: 0
|
![]()
gouldig:
How many of these "[#_data....]" can you put into the Randomized events file?...and do they have to be numbered sequentially?
__________________
[SIGPIC][/SIGPIC] During times of universal deceit, telling the truth becomes a revolutionary act. ~ George Orwell |
![]() |
![]() |
![]() |
#4 | ||
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]() Quote:
Quote:
[0_data\Menu\en_menu.txt] [1_data\Menu\en_menu.txt] [2_data\Menu\en_menu.txt] [0_data\Menu\de_menu.txt] [1_data\Menu\de_menu.txt] [2_data\Menu\de_menu.txt] |
||
![]() |
![]() |
![]() |
#5 |
Ace of the Deep
![]() Join Date: Dec 2004
Location: Valhalla: Silent Generation
Posts: 1,149
Downloads: 910
Uploads: 0
|
![]()
Tnx
...just had my first randomized diesel breakdown... ![]() (didn't know whether to pass out cigars or not) ![]()
__________________
[SIGPIC][/SIGPIC] During times of universal deceit, telling the truth becomes a revolutionary act. ~ George Orwell |
![]() |
![]() |
![]() |
#6 | |
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]() Quote:
For example, we know that 29th Flotilla is our exclusive Med Flotilla. So if you want files/settings to be Med specific, simply add them to the '...\SH3 Commander\Flotilla\907\data' folder. Whenever you load up a 29th Flotilla career, these files will be copied into the game, otherwise nothing will (unless of course, you add your Atlantic files to the other Flotilla folders). Likewise you can use this method to simulate Arctic settings (usually linked with 11th Flotilla). You'll see that SH3Cmdr currently utilises this method to "force" the correct water textures for the Med and Arctic in careers (you may be aware that in careers SH3 always uses the Atlantic water textures). BUT no it can't be done in the sense that files change automatically when you move between seas. Basically, once a set of files have loaded into SH3, they stay until you next load SH3 via SH3Cmdr. This is NOT an SH3Cmdr limitation, it is an SH3 limitation. All core game files are loaded at start up and stay in memory until the game is closed. So, this means that if you sail between the Atlantic and Med through Gibraltar, the water textures will NOT change, until you reload the game. So, answering your question in this context, and considering the way SH3Cmdr runs, I'd include a copy of your Atlantic file under every Flotilla OTHER than 907 and your Med file under Flotilla 907. |
|
![]() |
![]() |
![]() |
#7 |
Sonar Guy
![]() Join Date: Apr 2006
Location: Bucharest, Romania
Posts: 394
Downloads: 30
Uploads: 0
|
![]()
Thank you guys!
Cheers!
__________________
![]() |
![]() |
![]() |
![]() |
|
|