Jump to content

Random - How to make sniper sight on thompson


Oxyzium

Recommended Posts

I have looked deeply but nothing idicating to how it shows the reticle_eq.jpeg

hmm Is there a way to make it show the reticle_eq like how would I create that - I have low knowledge and finding someone to teach me this is a struggle.

Do I create a if? like

if wp_thompson
weapalt = "gfx/misc/reticle_eq.jpeg"
end
 

I know that isn't proper code but lol How do i expand it

Link to comment
Share on other sites

  • Management

I don't know exactly how to do it. But I do remember that the scope overlay is drawn specifically in the cgame code because it needed some work on the widescreen support. If I remember right, you are drawning black areas and the reticle separately.

if wp_thompson
weapalt = "gfx/misc/reticle_eq.jpeg"
end

I don't know what that pseudo code was intended to ask, but it makes no sense in any way.

 

What I meant is that you need to add a new weapon, which is in reality an alternative mode to another weapon. And the code you need to touch is everywhere.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...