Comments (6)
-UPDATE-
I got the ammo text to turn red when I'm low, but when I gain ammo, the text is still red. Even when I change class or die, the text stayes red.
from tf2hud.
-UPDATE-
Messed around in the files some more, got it to work.
from tf2hud.
Can you provide the diff?
On Wed, Apr 8, 2015 at 5:36 PM Excalviner [email protected] wrote:
-UPDATE-
Messed around in the files some more, got it to work.
—
Reply to this email directly or view it on GitHub
#102 (comment).
from tf2hud.
I'm new to coding… what is diff? Sorry xD
from tf2hud.
Can you share the changes you've made?
On Mon, Apr 27, 2015, 8:10 PM Excalviner [email protected] wrote:
I'm new to coding… what is diff? Sorry xD
—
Reply to this email directly or view it on GitHub
#102 (comment).
from tf2hud.
Sure.
-----------------------This is what I had in my files when I got the hud for the first time----------------------------
event HudLowAmmoPulse
{
Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
//Animate AmmoInClip FgColor "OmpAmmoClipLow1" Linear 0.0 0.075
//Animate AmmoInClip FgColor "OmpAmmoClipLow2" Linear 0.125 0.075
//Animate AmmoInReserve FgColor "OmpAmmoReserveLow1" Linear 0.0 0.075
//Animate AmmoInReserve FgColor "OmpAmmoReserveLow2" Linear 0.125 0.075
//Animate AmmoNoClip FgColor "OmpAmmoClipLow1" Linear 0.0 0.075
//Animate AmmoNoClip FgColor "OmpAmmoClipLow2" Linear 0.125 0.075
RunEvent HudLowAmmoPulseLoop 0.25
}
// call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}
event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0
//Animate AmmoInClip FgColor "OmpAmmoClip" Accel 0.0 0.0
//Animate AmmoInReserve FgColor "OmpAmmoReserve" Accel 0.0 0.0
//Animate AmmoNoClip FgColor "OmpAmmoClip" Accel 0.0 0.0
}
-------------------------------This is what I came out with after messing around a bit--------------------------------
event HudLowAmmoPulse
{
Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
Animate AmmoInClip FgColor "OmpAmmoClipLow1" Linear 0.0 0.075
Animate AmmoInClip FgColor "OmpAmmoClipLow2" Linear 0.125 0.075
Animate AmmoInReserve FgColor "OmpAmmoReserveLow1" Linear 0.0 0.075
Animate AmmoInReserve FgColor "OmpAmmoReserveLow2" Linear 0.125 0.075
Animate AmmoNoClip FgColor "OmpAmmoClipLow1" Linear 0.0 0.075
Animate AmmoNoClip FgColor "OmpAmmoClipLow2" Linear 0.125 0.075
RunEvent HudLowAmmoPulseLoop 0.25
}
//call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}
event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0
Animate AmmoInClip FgColor "OmpAmmoClip" Accel 0.0 0.0
Animate AmmoInReserve FgColor "OmpAmmoReserve" Accel 0.0 0.0
Animate AmmoNoClip FgColor "OmpAmmoClip" Accel 0.0 0.0
}
I don't know how to present these any better... sorry about that. Haven't had much experience on this website xD
from tf2hud.
Related Issues (20)
- need help with health cross
- Circle Around Crosshair? HOT 1
- Gun Mettle Update HOT 9
- Inspect item/Trade up skins broken in most recent update
- Tough Break Update HOT 4
- can anyone update omphud with the matchmaking stuff out now?
- Round Timer In Minmode HOT 6
- Some problems in matchmaking HOT 8
- 26.04.2016 update HOT 3
- Very major HUD changes in Meet Your Match update (20160707)
- Cannot find original Futura font .otf files in resource/
- Rage meter HOT 2
- Moving the KillStreak counter and text HOT 4
- Making background of unfilled charge meters invisible. HOT 1
- Sapper MvM
- 3D Model
- MVP window not showing highest killstreak HOT 3
- New TF2 update HOT 7
- Taunt HUD HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf2hud.