Explv Posted December 14, 2017 Share Posted December 14, 2017 2 minutes ago, Isolate said: like halfway between them So like the second one, but just the outline? Quote Link to comment Share on other sites More sharing options...
Isolate Posted December 14, 2017 Author Share Posted December 14, 2017 3 minutes ago, Explv said: So like the second one, but just the outline? bit looser, lemme c if I can find an example again I believe its the "tag" feature but hard to find a good picture Quote Link to comment Share on other sites More sharing options...
Isolate Posted December 14, 2017 Author Share Posted December 14, 2017 Quote Link to comment Share on other sites More sharing options...
sonda Posted December 14, 2017 Share Posted December 14, 2017 Drawmodel of the npc. Quote Link to comment Share on other sites More sharing options...
Explv Posted December 14, 2017 Share Posted December 14, 2017 18 minutes ago, sonda said: Drawmodel of the npc. Incredible contribution 1 hour ago, Isolate said: Interesting... Quote Link to comment Share on other sites More sharing options...
Isolate Posted December 14, 2017 Author Share Posted December 14, 2017 8 minutes ago, Explv said: Incredible contribution Interesting... i'm on the case, might do it tomorrow if i don't have alot of packing to do and frost re-gives me the snippet he made for me the first time so i can modify it pc was nice doe Quote Link to comment Share on other sites More sharing options...
sonda Posted December 14, 2017 Share Posted December 14, 2017 I would have posted the code but I’m at work and my boss was coming lol, something like g.draw(yournpc.getModel()(yournpc.getGridX(),yournpc.getGridY(),yournpc.getZ()) i know that’s not quite right , but I’m trying to portray my train of thought. That should outline the npc with whatever you set your color too. Quote Link to comment Share on other sites More sharing options...
FrostBug Posted December 14, 2017 Share Posted December 14, 2017 (edited) This is the snippet I sent you earlier https://pastebin.com/sK661QsT Converts an array of vertices into a convex shape Scammed most of it from this guy: https://github.com/bkiers/GrahamScan Can be optimized by removing the Point <-> short[] conversions Edited December 14, 2017 by FrostBug Quote Link to comment Share on other sites More sharing options...
Viston Posted December 14, 2017 Share Posted December 14, 2017 5 hours ago, Isolate said: Fk the drawing. How the fuck did that guard get in there???????? Quote Link to comment Share on other sites More sharing options...
IDontEB Posted December 14, 2017 Share Posted December 14, 2017 6 hours ago, Isolate said: I'm pretty sure that's the model.getArea() shape for stuff. Quote Link to comment Share on other sites More sharing options...
sonda Posted December 14, 2017 Share Posted December 14, 2017 Now that i am home, this is the code i use NPC WARRIORS = (NPC) myPlayer().getInteracting(); gr.setColor(Color.GREEN); g.draw(WARRIORS.getModel().getArea(WARRIORS.getGridX(), WARRIORS.getGridY(), WARRIORS.getZ())); Quote Link to comment Share on other sites More sharing options...
Explv Posted December 14, 2017 Share Posted December 14, 2017 31 minutes ago, sonda said: Now that i am home, this is the code i use NPC WARRIORS = (NPC) myPlayer().getInteracting(); gr.setColor(Color.GREEN); g.draw(WARRIORS.getModel().getArea(WARRIORS.getGridX(), WARRIORS.getGridY(), WARRIORS.getZ())); He wants to know how to do it without using OSBot's methods. 1 Quote Link to comment Share on other sites More sharing options...
Isolate Posted December 14, 2017 Author Share Posted December 14, 2017 3 hours ago, Viston said: Fk the drawing. How the fuck did that guard get in there???????? dmm 1 Quote Link to comment Share on other sites More sharing options...