Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to novandro150, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

16

Cobalt

32

Turquoise

10

Cyan

11

Royal

11

Teal

3

Onliners

17 mins

ninja defuse

18 mins

ZikShadow

37 mins

al_mam

47 mins

NineTnine

59 mins

Suparsonik

1 hours

Tetsu0

1 hours

Crollo

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

How to make a pointer / gauge in HL/CS m

[1]

Forums > HL Engine Discussion

07 Dec 17, 18:02
By anderlli0053
avatar
Member
I am trying to create a pointer / gauge for HL/CS map when you press the button the pointer/gauge moves to other side, indicating change.

I don't know where or how to start exactly..

Please look at those 3 animated GIFs

Here are 3 pictures of what i am talking about:

http://shrani.si/f/3m/7k/3YH47sr9/2.gif

http://shrani.si/f/a/10M/hxMogyq/1.gif

http://shrani.si/f/25/MY/1WHVGvmJ/3.gif

Can someone explain and help me with some info?

Thanks in advance smile - :)
07 Dec 17, 18:25
By Windawz
avatar
Member
You can make something like that by tying the arrow to func_door_rotating, func_rotating or func_pendulum, depending on what you want your arrow to do.

You can find more info about these entities in the Half-Life entity guide or in the "Tutorials" section.
07 Dec 17, 18:40
By anderlli0053
avatar
Member
Ok, i am trying to specifically do that

http://shrani.si/f/25/MY/1WHVGvmJ/3.gif

When i press the button it moves from red to green (like in game)
07 Dec 17, 18:41
By anderlli0053
avatar
Member
by "arrow" you mean what exactly?
07 Dec 17, 19:02
By Windawz
avatar
Member
Quote:
"By "arrow" you mean what exactly?"


The "pointer".

Quote:
"When i press the button it moves from red to green (like in game)"


I already gave you a clue. It would be much better if you figured this out by yourself though.
This tutorial should explain how to set up a rotating door.

You see, all the difference between a rotating door and your pointer is in the shape, the size and the rotation axis. So you have to tie the pointer and its origin brush to func_door_rotating, configure it the way you need and give it a name to later trigger it with a button.

Also, you may find this page pretty useful. Check it out.
07 Dec 17, 19:07
By anderlli0053
avatar
Member
Ahh i see now, ok thank you for help
[1]

Forums > HL Engine Discussion

Login to Reply

You must be logged in to reply.