Jump to content

DarkAngel

Members
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

507 profile views

DarkAngel's Achievements

Newbie

Newbie (1/10)

4

Reputation

  1. In your onPaint method just add this in. You can change the color to whatever you like, and instead of player you can use any entity. :P @Override public void onPaint(Graphics2D g){ player = myPlayer(); g.setColor(Color.CYAN); if(player != null){ g.draw(GraphicUtilities.getModelArea(this.bot, player.getGridX(), player.getGridY(), player.getZ(), player.getModel())); } } Will produce this:
  2. Baby gonna have to reuse his diapers for another week..
  3. Why do you want to draw the models though? Its a waste of cpu if you ask me. :P
  4. Ah ok, I saw this which is what I was using. I guess both ways work :P GraphicUtilities.drawModel(this.bot, g, npc.getGridX(), npc.getGridY(), npc.getZ(), npc.getModel()); this draws the actual model, you can draw the outline of the entity as well: and using your way will result in the entire area being filled. The main difference is drawModel will draw the in game model, where your way will fill in the entire area occupied by the entity.
  5. Why not use an enum?
  6. Clear out some space in your inbox and you will be good to go.
  7. Congratulations! Although I would not say you are free because you graduated. You will only get more responsibilities as life goes on. :P
×
×
  • Create New...