Skip to content
Outlands Hub

Razor script

Bapeths Ocean Auto-Target Normal Cannon Fire

by barryroser · 201 lines
Download

Bapeths Auto Regular Cannon Fire "****REQUIRED****" Bapeths Ship Cooldowns xml file (copy paste into your characters Cooldown file) "COPY" Link to get Bapeths Cooldowns…

CombatSailing
Bapeths Ocean Auto-Target Normal Cannon Fire.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f6ac22b2-a125-4e99-9bcd-e6927736010b for latest2# Automation by Jaseowns3## Script: Bapeths Ocean Auto-Target Normal Cannon Fire4## Created by: barryroser#05#############################################6 7# Bapeths Auto Regular Cannon Fire8#9# "****REQUIRED****"10# Bapeths Ship Cooldowns xml file (copy paste into your characters Cooldown file)11# "COPY" Link to get Bapeths Cooldowns "https://outlands.uorazorscripts.com/script/f1e41e2d-411e-461e-9fd0-c4fc2dc234b1"12# "PASTE" FILE PATH : C:\Program Files (x86)\Ultima Online Outlands\ClassicUO\Data\Profiles\"YOUR-ACCOUNT-NAME"\UO Outlands\"YOUR-CHARACTER" Open file in notepad13# The cooldowns with "Tigger Text" Must be adjusted to "your ships stats" and "your Wizard Grimoire upgrades" in the UO in game Options14#15# This script will automatically fire at the closest enemy ship16# Use "Bapeths Manual Override" script to force a priority target17#18# Set "Range check Last Target" to "22" in Razor > Options tab > Targeting & Queues subtab19# This will ensure your cannons can reach their target at max distance20#21# Script will loop into 'Master Background' if you have it in your script library22#23# Script starts here24clearsysmsg     25hotkey '> Interrupt'26hotkey "Cancel Current Target"27say '[FireCannons'28getlabel backpack ping29if insysmsg "fire its cannons again"30    overhead "Cannons Cooling..." 3831    if not cooldown "Disco" and skill "Discordance" >= 5032        skill 'Discordance'33        wft 50034        hotkey 'Target self'35        hotkey "Cancel Current Target"36        getlabel backpack ping37        if insysmsg "creatures"38            overhead "Hear my sea song!" 9139            cooldown "Disco" 500040        endif41    endif42    script 'Master Background'43    stop44endif45if insysmsg "fire the cannons?"46    overhead "Fire the Cannons!" 8847    wft 50048    target "Manual Override"49    getlabel backpack ping50    if insysmsg "Our cannons cannot reach that location."51        overhead "Out of Range!" 3852        script 'Master Background'53        stop54    elseif insysmsg "That is too far away."55        overhead "Out of Range!" 3856        script 'Master Background'57        stop58    elseif insysmsg "Those cannons are out of ammunition"59        overhead "Out of Ammo!" 3860        script 'Master Background'61        stop62    elseif insysmsg "You may not fire onto your own ship!"63        overhead "Target is too close to fire on!" 3864        script 'Master Background'65        stop66    elseif not targetexists 67        cooldown "Cannons" 1350068        overhead "Fire!" 8869        if not cooldown 'PvP' and not cooldown "Disco" and skill "Discordance" >= 5070            skill 'Discordance'71            wft 50072            hotkey 'Target self'73            hotkey "Cancel Current Target"74            getlabel backpack ping75            if insysmsg "creatures"76                overhead "Hear my sea song!" 9177                cooldown "Disco" 500078            endif79        endif80        script 'Master Background'81        stop82    endif83    hotkey "Target Closest Enemy Monster"84    getlabel backpack ping85    if insysmsg "Our cannons cannot reach that location."86        overhead "Out of Range!" 3887        script 'Master Background'88        stop89    elseif insysmsg "That is too far away."90        overhead "Out of Range!" 3891        script 'Master Background'92        stop93    elseif insysmsg "Those cannons are out of ammunition"94        overhead "Out of Ammo!" 3895        script 'Master Background'96        stop97    elseif insysmsg "You may not fire onto your own ship!"98        overhead "Target is too close to fire on!" 3899        script 'Master Background'100        stop101    elseif not targetexists 102        cooldown "Cannons" 13500103        overhead "Fire!" 88104        if not cooldown "Disco" and skill "Discordance" >= 50105            skill 'Discordance'106            wft 500107            hotkey 'Target self'108            hotkey "Cancel Current Target"109            getlabel backpack ping110            if insysmsg "creatures"111                overhead "Hear my sea song!" 91112                cooldown "Disco" 5000113            endif114        endif115        script 'Master Background'116        stop117    endif118    hotkey "Target Closest Grey Monster"119    getlabel backpack ping120    if insysmsg "Our cannons cannot reach that location."121        overhead "Out of Range!" 38122        script 'Master Background'123        stop124    elseif insysmsg "That is too far away."125        overhead "Out of Range!" 38126        script 'Master Background'127        stop128    elseif insysmsg "Those cannons are out of ammunition"129        overhead "Out of Ammo!" 38130        script 'Master Background'131        stop132    elseif insysmsg "You may not fire onto your own ship!"133        overhead "Target is too close to fire on!" 38134        script 'Master Background'135        stop136    elseif not targetexists 137        cooldown "Cannons" 13500138        overhead "Fire!" 88139        if not cooldown "Disco" and skill "Discordance" >= 50140            skill 'Discordance'141            wft 500142            hotkey 'Target self'143            hotkey "Cancel Current Target"144            getlabel backpack ping145            if insysmsg "creatures"146                overhead "Hear my sea song!" 91147                cooldown "Disco" 5000148            endif149        endif150        script 'Master Background'151        stop152    endif153    if insysmsg "No one matching"154        overhead "Yar! Manual Target..." 88155    elseif insysmsg "out of range"156        overhead "Yar! Manual Target..." 88157    endif158    while targetexists 159        //do nothing160    endwhile161    getlabel backpack ping162    if insysmsg "Our cannons cannot reach that location."163        overhead "Out of Range!" 38164        script 'Master Background'165        stop166    elseif insysmsg "That is too far away."167        overhead "Out of Range!" 38168        script 'Master Background'169        stop170    elseif insysmsg "Those cannons are out of ammunition"171        overhead "Out of Ammo!" 38172        script 'Master Background'173        stop174    elseif insysmsg "You may not fire onto your own ship!"175        overhead "Target is too close to fire on!" 38176        script 'Master Background'177        stop178    elseif not targetexists 179        cooldown "Cannons" 13500180        overhead "Fire!" 88181        if not cooldown "Disco" and skill "Discordance" >= 50182            skill 'Discordance'183            wft 500184            hotkey 'Target self'185            hotkey "Cancel Current Target"186            getlabel backpack ping187            if insysmsg "creatures"188                overhead "Hear my sea song!" 91189                cooldown "Disco" 5000190            endif191        endif192        script 'Master Background'193        stop194    endif195else 196overhead "Cannons cooling..." 38197endif198if insysmsg "cannons finish reloading"199overhead "Cannons reloading..." 38200endif201script 'Master Background'