What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Demon Hunter skill using (coding) help request.

Sarkastik

New Member
Joined
Jan 6, 2014
Messages
53
Reaction score
2
hello again all.
my request is pretty simple and i hope 1 of you experienced people will be able to help me with this.

i am using 6 pce mar set. i have all my skill set up perfectly. i am using a "Kridershot" and i need help with the way my dh/bot attacks.

what i would like, is for him to do what hes doing now... drop sentries, kite etc etc but... i want him to STOP using cluster arrow
and multy shot "for him self". all i want him to do is to ONLY shoot elemental frost arrow "which i have on left click"
and let the sentry deal with the dmg.

Is this something complicated to code ? perhaps someone could tell me where to change stuff


tyvm in advance guys!
 
hello again all.
my request is pretty simple and i hope 1 of you experienced people will be able to help me with this.

i am using 6 pce mar set. i have all my skill set up perfectly. i am using a "Kridershot" and i need help with the way my dh/bot attacks.

what i would like, is for him to do what hes doing now... drop sentries, kite etc etc but... i want him to STOP using cluster arrow
and multy shot "for him self". all i want him to do is to ONLY shoot elemental frost arrow "which i have on left click"
and let the sentry deal with the dmg.

Is this something complicated to code ? perhaps someone could tell me where to change stuff


tyvm in advance guys!

Not complicated. You have a couple of options, and the simplest would be to just comment cluster arrow and /or other skills you do not want the bot to use, out?
You will find the DemonHunterCombat.cs file in plugins/trinity/combat/abilities folder. Make sure you have a backup file for this you can restore to when things go wrong. :)
You seem to be someone that can tinker and play around, so have fun with that. :) There is also a sticky in the main Trinity forum written by Beardi to explain the different skill activation settings. I believe it is a tad dated, but will still give you a pretty good idea of what the original author of Trinity (GilesSmith) intended.
Hope that helped?
 
intresting.. i see....

at the part "// cluster arrow" for exemple. where we see the >= 50 && ........

do i simply put 0 instead of 50 or do i completly remove the cluster arrow code ?
 
oh nvm lol ill mess with it ^^ backed it up.

tyvm for putting me on the right track. much appreciated !
 
oh nvm lol ill mess with it ^^ backed it up.

tyvm for putting me on the right track. much appreciated !

You are very welcome. :)
I think you have figured it out already, but to comment something out in .XML works like this:

<!-- everything inside this will be commented out -->
 
Back
Top