• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Default Combat Discussion

    Discussion in 'Combat Routines' started by Ama, Jan 5, 2015.

    1. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      Quick question.. worded weird, sorry for it

      When I play, say a ranged class (bounty hunter/sniper etc) any time I select a friendly unit.. the game lags insanelyhas huge FPS drops during any in game chat cinematic (as though the combat bot is trying to run the rotation on the friendly unit but it can't complete) so doing quests and missions is slightly jarring due to that

      Is there a way to toggle it or anything so it doesn't try to combo friendlies without actively alt-tabbing out to buddywing and pushing 'stop' ? This doesn't happen on people like Sith Warrior; just ranged classes

      Edit:
      Ok so not just friendly targets, but apparently every 'actor' that's targeted causes extreme fps loss even at low resolution when using a ranged class
       
      Last edited: Jul 23, 2015
    2. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      for sniper engineering you people might wanna change

      Code:
                          //Movement
                          CombatMovement.CloseDistance(Distance.Melee),
      
      into

      Code:
                          //Movement
                          CombatMovement.CloseDistance(Distance.Ranged),
      
      @day7: you need to clarify it more specific, each class has 2 specializations and each specialization has 3 specs. every spec has their own specific routine file.
       
      Last edited: Jul 23, 2015
    3. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      Ok, well

      For example I was playing on the beginner class version of what can eventually become a sniper

      anything I targeted (friend or enemy) killed FPS even on 1024x768 windowed

      which does not happen for example, on my sith warrior


      Now, I am Jedi Consular and it does the same thing as the other ranged class mentioned above
       
    4. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      does the bounty hunter pre level 10 do the same? both agent and consular is made as melee in the routine, this can actually be the reason as they are prioritising ranged "spells" at these levels. funny thing is that BH, trooper and smuggler is actually set as ranged but not the agent or consular/inquisitor.
      I haven't tried it myself, but it sounds like the exact same issue i was having with the sniper before fixing the distance code as posted in my previous post.
       
    5. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      How would I be able to change the code myself as you've done?
       
    6. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      in the folder \BuddyWing\Routines\DefaultCombat\Routines\Basic you will find a file for each primary class. these are used before you choose specialization.
      you can edit the .cs files in notepad or another basic text editor.
       
      Day7 likes this.
    7. trasser

      trasser New Member

      Joined:
      Sep 15, 2014
      Messages:
      91
      Likes Received:
      0
      Trophy Points:
      0
      Operative Concealment dont loading...
       
    8. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      I've seen a lot of problems with Distance.Ranged. A lot of "Cannot see target" blinking problems because the objects are in the way of the char and the mob and bot just go idle specially if you AFK bot. Melee works best even for Ranged classes.
       
    9. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      Ok, finally got a bounty hunter going, and it also has the problem of trying to attack any actor, friendly or otherwise

      I'll talk to a trainer, for example
      and it'll try to use flamethrower

      If I loot a corpse, it uses flamethrower on empty space


      I think the problem is that the combat routine is literally always trying to use the combat rotation even when not in active combat

      is there not a syntax that checks for combat/non-combat modes?
       
    10. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      What level are you? What is this flamethrower skill called?
       
    11. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      This was pre-10 (afterOnce I'd decided on my path after 10 it works fine)

      but the skill is "Spell.Cast("Flame Thrower", ret => Me.CurrentTarget.Distance <= 1f),"

      It would cast on everything as long as I was in range for it to cast.. even if the target was, y'know, a trainer or corpse :p
       
    12. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      That check wouldn't be advanced class routine but the base bounty hunter routine.
       
    13. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      Forgot to answer this question. but "F8" usually toggles combat for the bot.
       
    14. Day7

      Day7 Member

      Joined:
      Dec 14, 2014
      Messages:
      175
      Likes Received:
      2
      Trophy Points:
      18
      Oh lol
      in the startup it says F8 is for overlay or sommat

      Thanks
       
    15. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      I've tried this with Mag Shot & debuffs fix as in the upper code it doesn't use Mag Shot :) I am reading on dulfy that Innovative Ordnance is top for single target DPS. Though I am getting much lower average DPS compared to Arsenal. about 2/3 of what Arsenal produces with BW.
       
    16. Thunderchild145

      Thunderchild145 New Member

      Joined:
      Sep 7, 2012
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      With Operative Medic, sometimes when the bot tries to cast Kolto Injection or Kolto Infusion on the companion, it will cast it on the Operative instead. Not sure how to "log" that besides observing the fact the bot targets the companion, casts the ability, then will switch back to the enemy target before the ability casts.
       
    17. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      Companion targeting has been a bane of this bot for a while and has never been perfect.
       
    18. trasser

      trasser New Member

      Joined:
      Sep 15, 2014
      Messages:
      91
      Likes Received:
      0
      Trophy Points:
      0
      How to enable loot corpses by crew skills (scav, bio etc)?
       
    19. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      not implemented
       
    20. jokke

      jokke New Member

      Joined:
      May 2, 2013
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      0
      so any ideas on how to make it stop lagging at 12 fps it makes the whole routine unusable
       

    Share This Page