Welcome to Inportrace. It is free to register and become a member of the fastest growing Sail Simulator-community site. Registration can be done here.
At Inportrace we'll be regularly organizing teamraces . Using Valk green/blue and or 420 red/bleu (As soon as there is a solution or for having 2 skins.
All sessions will be organized, use of teamspeak 3 is reccomended as the chat is occupied and reserved for rule related hailing of umpires and opponents.
(click on the appropriate channel in the teamspeak viewer page.)
For hailing you should use a little tool called Autohotkey which is available under General Public License.
BTW the attached script is free as in beer, you are allowed to modify, copy change and distribute
though if you have something useful to add we like to read about it :)
Requirements: What you need
- Sailsimulator Boat set 1 (RIB)
- ISAF Racing Rules of Sailing incl. Appendix D for Teamracing Download PDF
- ISAF Team Racing Callbook Download PDF
- teamspeak3 client http://www.teamspeak.com/
- Autohotkey http://www.autohotkey.com/
Authotkey script attached
1. CTRL+ALT+s (starboard vs port R10)
2. CTRL+ALT+l (leeward vs luvward R11)
3. CTRL+ALT+t (tacking R13)
4. CTRL+ALT+c (changing course R16.1)
5. CTRL+ALT+o (overlap from clear astern R17)
6. CTRL+ALT+m (mark-room R18)
7. CTRL+ALT+a (acquiring right of way R15)
8. CTRL+ALT+p (protest)
9. CTRL+ALT+u (penalty given by Umpire)
10. CTRL+ALT+r (room to tack R20)
11. CTRL+ALT+y (you tack R20)
12. CTRL+ALT+w (water R19)
still missing
(You can add yourself, or propose a hotkey)
Rule 14 Damage
Rule 12 clear ahead/ clear astern
Rule 21 other rules
Rule 44.2 sailing clear to take penalty
Rule 96 Breach of sportsmanship, good manners etc.
and what ever you may find useful
Wikipedia (follow links at bottom of article):
http://en.wikipedia.org/wiki/Team_racing
HOTKEYS some syntax
^ ==> CTRL
! ==> ALT
thus "^!s" stands for "CTRL+ALT+S"
if you rather use "ALT+S" instead you then change "^!s" into "!s"
before changing anything, make sure you have a backup of your last working script!!
AUTOHOTKEY
- Install Autohotkey see link above.
- Autohotkey script:
Cut and paste in to editor, save as sailsim_umpire.ahk to desktop.
Double klick to run the script.
--------------------------------------------------------------------8<--------------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AUTHOTKEY SCRIPT for SAIL SIMULATOR ;
; ;
;the script checks if Sail Sim Window is active ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#IfWinActive Sail Simulator 5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; goofing around with key delays ;
; too fast shortcuts won't work ;
; too slow they interfere with other input ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
gDelay=1
gPress=1
gPlay=0
SetKeyDelay,gDelay,gPress,gPlay
;;;;;;;;;;;;;;;;;;;;;;;;
;building function chat;
;sends message: msg ;
;;;;;;;;;;;;;;;;;;;;;;;;
Chat(Msg) {
SetKeyDelay,40,40,0
send +t
sendInput %Msg%
send {Enter}
SetKeyDelay,gDelay,gPress,gPlay
return
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;1. CONTROL + ALT + s (starboard) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!s::Chat("Breach of RRS 10, port tack boat must keep clear of starboard tack boat.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;2. CONTROL + ALT + l (leeward-luvward) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!l::Chat("Breach of RRS 11, windward boat must keep clear of leeward boat.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;3. CONTROL + ALT + t (tacking) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!t::Chat("Breach of RRS 13, a boat tacking shall keep clear.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;4. CONTROL + ALT + c (changing course) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!c::Chat("Breach of RRS 16.1, right of way boat changing coarse must give room to keep clear.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;5. CONTROL + ALT + o (overlap) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!o::Chat("Breach of RRS 17, leeward boat overlapped from clear astern may not sail above her proper course.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;6. CONTROL + ALT + m (mark-room);
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!m::Chat("Breach of RRS 18, boat with right to mark-room must be given room to sail TO the mark and sail a proper course AT the mark.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;7. CONTROL + ALT + a (acquire) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!a::Chat("Breach of RRS 15, boat acquiring right of way through her own action must give room to stay clear initially.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;10. CONTROL + ALT + r (room to tack) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!r::Chat("Room To Tack RRS 20, Room to tack at an obstruction, respond by tacking OR hail 'you tack' ")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;11. CONTROL + ALT + y (you tack) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!y::Chat("YOU TACK! RRS 20, Room to tack at an Obstruction, 'you will have room to tack' ")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;12. CONTROL + ALT + w (water) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!w::Chat("Water! RRS 19: right of way boat must give room to inside overlapped boat to pass obstruction.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;user interactive messages (usually have to add opponent);
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;8. CONTROL + ALT + p (protest) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!p::
SetKeyDelay,1,1,0
send +t
send Protest (1x 270°) :
SetKeyDelay,gDelay,gPress,gPlay
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;9. CONTROL + ALT + u (umpire) ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^!u::
SetKeyDelay,1,1,0
send +t
send Umpire Penalty (2 x 270°) to:
SetKeyDelay,gDelay,gPress,gPlay
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; END OF THE SCRIPT ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
------------------------------------------------------>8-------------------------------------