Dogs Scripting Person Help Me

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
hamzasoft
Private
Posts: 1
Joined: Tue Mar 04, 2008 10:26 am

Dogs Scripting Person Help Me

Post by hamzasoft »

I want to add a dog with each player so the dog can protect the player while someone try to atack him in free for all maps is it posible also if posible then make it like so if someone need to take his dog then he can take using use key else he can go alone to fight with others the main aim is how to take dog with u when fighting with others in team match and free for all
i have example already which just add axis and allies dogs but they are doing what they want i need to handle them bmy self plz help
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

I guess you mean by example, bdbodger's dog script or someone else's dog script? I don't think there's a commands to make a dog stay near a player, and to make such a mod would require some complicated scripting.

But there is a global "friendly" script however I don't think it will work with the dog AI. Read some explanation and info at the top of the script in pak0/global/friendly.scr
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Won't work serverside it requires a custom dog such as the one in my Rescue map or my Snowfun map . Normal dogs can't follow . In my Rescue map the custorm dog on the same team as you can be made to follow you if you use your use key on him until he sees an enemy then he attacks . It is mainly a matter of having pathnodes and a custom animation file used by my custom dog . I created my own New_generic_dog.tik .
Image
Post Reply