SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-09-14, 04:19 PM   #8
Hinrich Schwab
Grey Wolf
 
Join Date: Nov 2010
Posts: 908
Downloads: 89
Uploads: 0
Default

Quote:
Originally Posted by banryu79 View Post
I will try also in this way BUT... I think opening multiple files with my favorite text editor (TextPad) and using its handy search & replace function will speed up things if I want to edit the whole bag of secnarios in a single strike

Reading a random .mu file I found these two lines in an entity:
Code:
...
DRIVEABLE 1
PLAYERCHOICE 1
...
Can I assume that the presence in an "entity" of these two "properties" setted both at 1 are a clear sign that I have found the "default playable platform" for the given scenario? Then I can just edit its SPEED value...
Here is an excerpt from the "Kilo Demo" mission

Code:
ENTITY 402 SUBENTITY
HULLID 3
ALLIANCE 0
POS 392101.500000 545889.562500 -55
POINTS 750
COURSE 186
SPEED 6
PROB 100
DRIVEABLE 1
PLAYERTASKING
BEGINTEXT
Intercept and sink a transiting cargo ship.<R>

<R>
Obviously, the DRIVEABLE 1 line is an indication of a playable platform Another thing to watch for is whether the file says SURFENTITY or SUBENTITY. It would be reasonable to conclude that you found the playable platform in the random file you opened. You could certainly manually edit the files in Notepad, I would be more comfortable doing it in the Mission Editor to avoid any weird compilation issues. I doubt you will run into this since the missions are easily read in a simple text editor, but in my experience, even the simplest of code ca get completely weird for no reason.
Hinrich Schwab is offline   Reply With Quote
 

Thread Tools
Display Modes

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:42 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.