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