![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-08-11, 10:17 PM
|
#1 |
|
Black Magic
![]() |
@ Trevally: figured out how to change text color in a sentence
![]() Currently I've defined the following: {{b}} and {{/b}} - used to make bold text {{green}} and {{/green}} - used to make green text {{blue}} and {{/blue}} - used to make blue text {{red}} and {{/red}} - used to make red text {{yellow}} and {{/yellow}} - used to make yellow text you surround the text you want displayed with any of the above commands to make it appear that way. i.e: DisplayText|This is normal text. {{b}}This is bold text. {{/b}}{{green}}This is green text. {{/green}}{{blue}}This is blue text. {{/blue}}{{red}}This is red text. {{/red}}{{yellow}}This is yellow text.{{/yellow}}|0|0|0|0|<waittime> Any other colors I need to define? I'm thinking about removing blue as it's hard to see. Will be available in next version of the mod ![]() EDIT: I removed blue. Last edited by TheDarkWraith; 02-08-11 at 10:40 PM. |
|
|
02-08-11, 10:39 PM
|
#2 |
|
Convicted Ship Killer
![]() Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
|
TDW - I must be the only one using them because no one else has ever mentioned it near as I can tell... but the rudder angle indicator (American version) is upside down (inverted). I swapped the German rudder angle indicator onto my American dials to fix my own... but you might want to change it in your files.
American dials: German dials: ![]() Thanks for all you do, TDW!
__________________
Akula4745 ![]() "If you sit by the river long enough... the body of your enemy will float by -- SunTzu" |
|
|
02-08-11, 10:42 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
02-12-11, 01:45 AM
|
#4 |
|
Convicted Ship Killer
![]() Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
|
Will do, TDW... its as good as on its way.
__________________
Akula4745 ![]() "If you sit by the river long enough... the body of your enemy will float by -- SunTzu" |
|
|
02-12-11, 02:35 AM
|
#5 |
|
Black Magic
![]() |
this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C#
Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project ![]() Once you've done that you can pass ANY of those items to your application and perform work on them ![]() This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something
|
|
|
02-12-11, 03:44 AM
|
#6 | |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
Quote:
Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question) |
|
|
|
02-12-11, 07:46 AM
|
#7 | |
|
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
Quote:
__________________
Stormy...... |
|
|
|
02-12-11, 12:27 PM
|
#8 | |
|
Black Magic
![]() |
Quote:
Finally my ideas will be safe and I won't have to worry about others 'stealing' it This last point is especially important with the new finds I made!Successfully subscribed to game events in C# code now Wow, this is whole new world opening up.....
|
|
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
