![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
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! ![]() |
![]() |
![]() |
![]() |
#2 |
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.
|
![]() |
![]() |
![]() |
#3 | |
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. ![]() |
|
![]() |
![]() |
![]() |
#4 |
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 |
![]() |
![]() |
![]() |
#5 |
Frogman
![]() Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#6 | |
Ace of the Deep
![]() Join Date: Aug 2009
Location: Quebec City
Posts: 1,153
Downloads: 258
Uploads: 0
|
![]() Quote:
![]() ![]() Yes, I will, thanks again! |
|
![]() |
![]() |
![]() |
#7 |
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! ![]() |
![]() |
![]() |
![]() |
#8 | |
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! ![]() |
|
![]() |
![]() |
![]() |
#9 |
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.
|
![]() |
![]() |
![]() |
|
|