Author: johnnyboy
Author Website:

Requirements: No addons required

Version: 1.3

Short description: Arma 3 Script allowing dogs to be controlled by player or AI units via scripts.

Date: 2017-06-10 09:54


Comments: (3)
Rating:



 

JBOY Dog

by
johnnyboy


Description:
Arma 3 Script allowing dogs to be controlled by player or AI units via scripts.


Features:
Dogs obey these commands:
Heel - Dogs follow handler closely
Move there - Point to a position and dog moves there
Attack - Point to a man or animal, and dog will attack it
Detain - Point to a man, and dog will approach and threaten man. Man plays surrender animation while detained.
Stay - Stop the dog
Sit - Dog will sit
Fetch - Dog will retrieve small animals (rabbits, chickens, snakes)
Get in Vehicle - Dog boards vehicle (currently only Offroads, APEX jeep, zodiac and hummingbird supported...more to follow)
Get out/Disembark
Track - Dog senses scent trails and follows the trail. Trails end at water or when quarry boards vehicle.
SITREP - Dog barks. Useful when you lose sight of dog in dense jungle
Dismiss - Dog no longer controlled by handler
All dog commands can be issued by player or by scripted AI units.
Voice commands use either custom voice commands by me (Johnnyboy), or any in-game language (English, French, Chinese, Persian)
Voice commands may be quiet, normal or loud depending on combat mode (stealth, safe, combat)
Handlers use hand signals also when commanding dogs
Roving dog packs that hunt/attack animals and men when they are near.
Vanilla dogs can't swim...JBOY dogs swim (while following handler in heel mode)
Vanilla dogs die with one shot...JBOY dogs can take 2 or more hits.
Vanilla dogs don't bleed...JBOY dogs have blood textures
Vanilla dogs don't bark or growl...JBOY dogs do bark and growl
Vanilla AI will not fire on dogs...JBOY dogs will be fired upon by AI if attacked by dogs
Dogs boarding vehicles will lock cargo position in vehicle so AI boarding will not clip with dog
Player can Heal dog
Dog will detect enemies and point them out (stop, growl, and look in enemy direction)


Usage:
For usage instructions and information of how to use the JBOY Dog please refer to the included documentation and/or example mission.
Download the zip file and unzip it into your missions directory. You can then try it in the Editor.


Media:


Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Known issues:
Dogs clip through many objects and buildings. Not sure there is anything I can do about that. Currently best to use dogs in non-urban environment.
When dog rides in front seat of vehicle, and player is driver in first-person mode, dog looks like he is outside vehicle. This is an Arma issue. Looks ok in 3rd person view though.


Future plans:
Make it MP compatible. May be now...needs MP Testing! Any volunteers?
Detect - Bomb sniiffing, drug sniffing, etc.
Scout - Dog runs ahead and stops and points at enemy it detects
Fetch any small object - Get my pistol boy! Get the Tactical Bacon!
Improve AI firing on dogs.
Unconcious mode for wounded dog, so you can heal your best friend.
Make a kick-ass mission with Boomer at my side!


Credits & Thanks:
Larrow for his awesome utility for finding voice files in config.
SuperTruite for his amazing particle effects utility
KillzoneKid for help on forums and his awesome blog


Changelog:
v1.3
Player can heal dog
Dog no longer takes fall damage or collision damage
Dog detects any near enemy (current version only detected the unit being tracked by dog). This is now a huge plus while patrolling: Your dog stops, growls, and looks in direction of enemy. Great for avoiding being ambushed in dense jungle or villages.
If handler killed, another player in group can take control of dog.
Dog mourns when handler killed. Anybody have some better sound fx for a crying sad dog they can send me?
Persistent footprints for dudes being tracked (thanks to very clever script by @HallyG)
Cleaned up init.sqf (moved script compiling and some global var initialization to separate script, so only need one line to call this from init.sqf)
Cleaned up Description.ext by moving JBOY sound file config statements to an include file.
Dog Command Menu has been professionally localized to:
Italian (thanks to @zagor64bz)
German (thanks to @Undeceived)
Spanish (thanks to Johnnyboy's bi-lingual sister)
Dog Command Menu has been "Google Translate Localized" (i.e., localized badly) to:
French
Portuguese
Russian cyrillic alphabet
Czech
Polish

v1.2
Tracking
Dogs pick up a scent trail and follow it.
Scent trails end when tracked units cross water or get in vehicles. Trails begin again when tracked unit exits water or vehicles.
Via barking, whining and growling, dogs indicate to player if they have found a scent trail, if trail has ended, or if enemy is near.
Swimming
Dogs follow handler in Heel mode and swim (fixes arma problem where vanilla dogs walk underwater on seabed)
SITREP command: Dog barks once when given this command. This helps know where your dog is in the dense jungle.

v1.1
New clean dialog menu thanks to Soolie! Replaced clumsy actions menu with menu dialog accessed via T key.
(Cosmic10R: Your number menu is also awesome, but I chose no-addon required route for now. Maybe in the future I will support both. It shouldn't be too hard to plug it in. Thanks much for the contribution though!)
Feral Dog Packs: Feral dog packs roam, and attack whoever they encounter, then roam again. Can be spawned by a trigger when player enters an area. Kudos to AZ Coder for some logic and ideas.
Improved AI fighting dogs. Not perfect though. Very difficult since AI doesn't recognize dogs as enemy.
MP compatibility changes to JBOY Dog that Persion MO recommended to fix JBOY Chicken. JBOY Dog not MP tested though...any volunteers?
Dogs now attack and fetch snakes.
JBOY Dog now includes latest version of JBOY Chicken.
Fixed bug where multiple hand signals given during attack.
Dogs now stop after attacking person (instead of running off).
Many small improvements/tweaks.
A few more cool dog sound fx thanks to AZ Coder.

v1.0


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Ambient,   Animal,   Dogs,   Script