Explv Posted December 14, 2017 Posted December 14, 2017 2 minutes ago, Isolate said: like halfway between them So like the second one, but just the outline?
Isolate Posted December 14, 2017 Author 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
Explv Posted December 14, 2017 Posted December 14, 2017 18 minutes ago, sonda said: Drawmodel of the npc. Incredible contribution 1 hour ago, Isolate said: Interesting...
Isolate Posted December 14, 2017 Author 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
sonda Posted December 14, 2017 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.
FrostBug Posted December 14, 2017 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
Viston Posted December 14, 2017 Posted December 14, 2017 5 hours ago, Isolate said: Fk the drawing. How the fuck did that guard get in there????????
IDontEB Posted December 14, 2017 Posted December 14, 2017 6 hours ago, Isolate said: I'm pretty sure that's the model.getArea() shape for stuff.
sonda Posted December 14, 2017 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()));
Explv Posted December 14, 2017 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
Isolate Posted December 14, 2017 Author Posted December 14, 2017 3 hours ago, Viston said: Fk the drawing. How the fuck did that guard get in there???????? dmm 1