SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-28-10, 05:47 PM   #4
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

I keep asking myself that everyday. Best advice I can give is to look at the stock scripts and other peoples scripts. Pick a feature out of them you'ld like to replicate and trace that function through the script - copying the relevant parts into say notepad.
Then change all the item valuse to match your items you want to control.
Its difficult but possible - you can expect a lot of hair pulling due to countless script errors.
But stick with it and sonner or later you'll get it to work.

Have a look at my scripts in my UI - there not great scripts but they do there job in a more simplier method (Not as efficent) but they should be easier to read and see what there doing. This is because I've only figured out the basics so it takes me 50 lines of repetive stuff that 3 lines of more complex code to do.
reaper7 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 12:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.