Jump to content

Hud question


Recommended Posts

How to make the weapon icon be always visible? So i can see what weapon am i using right now?

95a3e791b28c.jpg

 

 

Dammit wrong forum! Move the topic please.

First- I am pretty sure it is in the codes. But the weapons on the right shows only when You pick them up so it can be a problem to make it work

Second- HOW YOU MADE A CAMERA FROM THE ARM????!?

Third-Nice HUD and i hope You will make it

 

Help @@eezstreet @@therfiles @@Circa

 
Link to comment

cgame/cg_draw.cpp: Look where the weapon scroll wheel drawing code is handled, and add something similar in CG_Draw function.

 

Please don't keep secrets in regards to code. It's okay to keep your mod secret, but other people might be interested in implementing features. :)

Link to comment

Second- HOW YOU MADE A CAMERA FROM THE ARM????!?

 

 

For the camera on the arm, Check out CamSP! :D I believe you need to have cg_cameradamp (or somthing like that) enabled, and you can use horz offset. I forget the particulars.

 

Hmm...without editing the code, your options are limited. You could use OpenJK and then add some elements to the HUD, that are shown with cvars? Then make that cvar change via script? Not sure how feasible that is without coding new cvars...so coding is still the best option.

Langerd likes this
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...