Bullet colors? Created 18 years ago2005-10-16 08:30:03 UTC by Sajo Sajo

Created 18 years ago2005-10-16 08:30:03 UTC by Sajo Sajo

Posted 18 years ago2005-10-16 08:30:03 UTC Post #141790
As we know in hl1 when a grunt or turret fires bullets ,you see those tiny yellow lines getting towards you?How can I change that yellow to another colour ?
Posted 18 years ago2005-10-16 08:56:22 UTC Post #141794
Change that shell model's texture! ;)
Posted 18 years ago2005-10-16 09:07:55 UTC Post #141797
Elon, I believe Saco is refering to the "tracer" streaks that you can see when being shot at and not the shells that fall to the ground. But come to think of it, I have no idea what exactly those tracers are. I imagine that they could be sprite based. If this is true then all you have to do is change the sprite.
Posted 18 years ago2005-10-16 09:35:13 UTC Post #141812
They're changeable, but it'll probably require coding. I don't know how hard it would be to find the code for it but remembering how long it took to get the MP5 give decals every shot, it might not even be that easy.
Posted 18 years ago2005-10-16 09:41:16 UTC Post #141816
I'm pretty damn sure it doesn't need coding, my mate has changed his OpFor tracers to red, and he doesn't know how to code, I'll ask him and get back to you.
Posted 18 years ago2005-10-16 10:11:34 UTC Post #141827
thx evilsod_2k that will be good :glad:
Posted 18 years ago2005-10-17 06:29:42 UTC Post #141938
These need to be in your config file:
tracerlength 2.5
tracerspeed 1100
tracerred .999
tracerblue .001
tracergreen .001
(Change colours to suit your needs)
However, it might only change the players, I've not tested.
Posted 18 years ago2005-10-17 06:37:58 UTC Post #141942
should the colours not go any higher than 255?
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-10-17 06:39:43 UTC Post #141943
I do believe its out of 1, tracerred 0.999 :lol:
Its just not meant to have the 0.

...and it works, at least for the player.
Posted 18 years ago2005-10-17 08:18:57 UTC Post #141954
I it could be a good tutorial! Evilsod,ask seventh!
Posted 18 years ago2005-10-17 10:40:20 UTC Post #141967
Thx evilsod_2k you rock! :D
Posted 18 years ago2005-10-17 11:00:50 UTC Post #141975
Hardly tutorial material, neat as it is.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-17 11:02:42 UTC Post #141979
I don't see alot of diffrence between a tutorial about that and the metirial.txt tutorial! :tired:
Posted 18 years ago2005-10-17 12:04:52 UTC Post #142004
ok,everything works perfect but except 1 thing my config.cfg refreshes it self after the game.Like ,I edited the config and saved it and played the game ,everything works when I re-started the game config.cfg had no custom codes that I made! help :zonked:
Posted 18 years ago2005-10-17 13:04:10 UTC Post #142014
Ok, easy fixed, make another config called autoexec.cfg and put any custom commands in there! :D :cool:
Posted 18 years ago2005-10-17 13:04:38 UTC Post #142015
Try putting it in autoexec.cfg instead. If that doesn't work, just remember to type "exec autoexec.cfg" whenever you play, in the console.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2005-10-17 13:10:47 UTC Post #142020
Man,you guys are smart!not sure about 7th :P but both you posted at the same time so overall smart bros! :)

I've changed some sprites but I couldnt find the sprite name that matches the half life's wallpuff effect you know when you hit a wall some black squares came out like some sort of spray.I found one in the sprites but thats not it ,I tried changing the sprite it didnt work,wallpuff must exist with another name or something? :/
Posted 18 years ago2006-03-23 00:40:37 UTC Post #170358
Sorry for the bump, but would this work in say.. counterstrike or tfc as well?
Tetsu0 Tetsu0Positive Chaos
Posted 18 years ago2006-03-23 01:05:41 UTC Post #170361
The materials.txt tutorial was quite deeper than this.
Posted 18 years ago2006-03-23 02:56:44 UTC Post #170368
Valve haven't released Cs source(not the engine) SDK, it is much harder to code for CS, and few will know how to do it with out that.
You must be logged in to post a response.