![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#31 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]() Quote:
How do you see it, is it in: data/Scripts/AI ? And how do you open the files ? (I know I'm really ignorant when it comes to modding ![]() ![]() Thanks! |
|
![]() |
![]() |
![]() |
#32 | |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]() Quote:
Some of the AI files are hard-coded and cannot be viewed correctly. I really don't remember the file extension names, though. Last edited by Drifter; 03-12-10 at 11:10 PM. |
|
![]() |
![]() |
![]() |
#33 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]() Quote:
I didn't think it was so simple with the notepad, however, modding those files doesn't look that easy... ![]() |
|
![]() |
![]() |
![]() |
#34 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#35 |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]()
I didn't know what was hex editing, so I checked on google, yes, it seems to be quite complex.
But, I'm really curious to know how to modify those files in SH5. Don't feel forced to reply, you did enough, I'll check on my own. Thanks! ![]() |
![]() |
![]() |
![]() |
#36 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]()
I hope we are talking about the same files. I don't have the game installed right now, so I can't check the exact AI file location. The moddable AI files should already be in notepad form with readable text. If the files you are opening in notepad look like jibberish, they are hard-coded, and the wrong files.
|
![]() |
![]() |
![]() |
#37 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]() Quote:
---- strategy SubStrategies(Sub) { strategies { Attack, Navigate } } # Attacks an enemy contact strategy Attack(Sub) { precond { Sub:CanFire() } strategies { ShipAttack, SubmarineAttack } } strategy ShipAttack(Sub) { precond { !Sub:ContactIs(SUBMARINE) } strategies { TorpedoAttack, CannonAttack } } ---- It's much longer but I didn't want to take too much space here. ![]() |
|
![]() |
![]() |
![]() |
#38 |
Commander
![]() Join Date: Jul 2007
Location: Crush Depth
Posts: 449
Downloads: 50
Uploads: 0
|
![]()
Meo and Drifter chatting so nicely. It brought a little tear to my eye.
![]()
__________________
"The true soldier fights not because he hates what is in front of him, but because he loves what is behind him." -- Chesterton |
![]() |
![]() |
![]() |
#39 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]()
Yeah, that's it. Python scripting language. Take the time to learn scripting by looking at examples of other scripts. It's really not as hard as it looks. It will be worth the effort.
|
![]() |
![]() |
![]() |
#40 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#41 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]() Quote:
![]() ![]() Yes, I will, thanks again! |
|
![]() |
![]() |
![]() |
#42 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]()
To get you started, try here:
http://www.sthurlow.com/python/ http://docs.python.org/tutorial/ http://coolnamehere.com/geekery/python/pythontut.html http://wiki.python.org/moin/BeginnersGuide Please note that many of the functions in these tutorial examples will not be available in SH5. Again, look at other script examples in SH5 to see what can and cannot be done. Good luck! ![]() |
![]() |
![]() |
![]() |
#43 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]()
At least they say that:
Quote:
Great! ![]() |
|
![]() |
![]() |
![]() |
#44 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#45 |
Grey Wolf
![]() Join Date: May 2005
Location: Somewhere over there
Posts: 834
Downloads: 46
Uploads: 0
|
![]()
Yet another person that should watch how fast the hatch swings as he leaves.
|
![]() |
![]() |
![]() |
|
|