- Joined
- Feb 9, 2007
- Messages
- 10
- Reaction score
- 0
A basic demonstration of how to run the 110 BB Mission in Navyfield. To use it, simply load up a ship with auto FCS, move to the map (i.e. leave the harbor), and start it. It also assumes that you've previously hit the F11 key to allowing zooming. PCAs/BBs with a lot of armor (enough to prevent sailor deaths) and guns ~8" to 12" with plenty of ammo will work best.
A few tips:
The Play_Game subroutine is where the targeting detection occurs. Basically, it works by attempting to locate the color of the enemy ship titles (red) on the screen and if its present targeting it. If that color is not found it will fall back to looking on the radar for an enemy color and recentering the screen around it. The firing pattern is currently configured for a battleship with four turrets using gradual firing mode. If you prefer a different setup you'll of course need to adjust that. Yes, the routine misses a lot of shots but it still gets the job done.
Have fun. Hopefully watts won't lock this thread.
The Mission_Numbers subroutine defeats the idiotic "captcha" in the mission setup screen. It's pretty much the same as the sailor scripts running around but a bit more complex. It took a little while to write but haven't had any problems with it.
The Find_Empty_Room subroutine does quite a bit of jumping around the map in an attempt to semi-randomize the room selection. It should make for a fair witchhunt for the moderators. At current it iterates over five different rooms in three different areas but you might want to expand or change that in your personal copies. Room setup sets max players to 1 so there's no risk of someone entering your room.
A few tips:
The Play_Game subroutine is where the targeting detection occurs. Basically, it works by attempting to locate the color of the enemy ship titles (red) on the screen and if its present targeting it. If that color is not found it will fall back to looking on the radar for an enemy color and recentering the screen around it. The firing pattern is currently configured for a battleship with four turrets using gradual firing mode. If you prefer a different setup you'll of course need to adjust that. Yes, the routine misses a lot of shots but it still gets the job done.
Have fun. Hopefully watts won't lock this thread.
The Mission_Numbers subroutine defeats the idiotic "captcha" in the mission setup screen. It's pretty much the same as the sailor scripts running around but a bit more complex. It took a little while to write but haven't had any problems with it.
The Find_Empty_Room subroutine does quite a bit of jumping around the map in an attempt to semi-randomize the room selection. It should make for a fair witchhunt for the moderators. At current it iterates over five different rooms in three different areas but you might want to expand or change that in your personal copies. Room setup sets max players to 1 so there's no risk of someone entering your room.