[hlcoders] How do lighten/darken a material from the Source Code

2005-07-22 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hello the list ! I would like to know how I can lighten or darken a material of an entity directly from the game's code. One of my friends told me about the SetRenderColor() function, but it seems t

Re: [hlcoders] Keeping track of information inside the game

2005-07-18 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
Hello Your idea is good I think. As you said, write some code that checks if a certain objects has its data saved in a specific file. If not, do normal spawn instead. I think you'd do what you planed initially ;-) Yours --Thomas ___ To unsubscribe,

[hlcoders] How to animate the playermodel for any weapon?

2005-07-16 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hello guys, I wonder how I can do animations on the weapons player-models ( e.g: w_crowbar ). I have had a look in basecombatweapon_shared.cpp but I cannot find how to animate it. Any idea? Thank y

[hlcoders] RE: hlcoders digest, Vol 1 #2030 - 11 msgs

2005-07-12 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
RE: Modifying run speed Hello! Have a look in HL2_Player.cpp or something You will find Macro Definitions ( e.g: "#define ACBDEFH 250" ), you have to modify the values there. For example you can find #defineHL2_WALK_SPEED 150 at the line 70 or something. I hope it will help. If

[hlcoders] Problem with NPC's after leve transition

2005-07-12 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Howdy ! I've managed to make level transitions work in MP Games. Anyway, I've got a new problem: when I have NPC in one level, when I change of level thanks to the trigger_changelevel, I used to get

[hlcoders] How to force a certain entity to be drawn in Balck and White?

2005-07-08 Thread Thomas TISSOT-DUPONT ( Dolphin's Eye )
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hello everybody, As I'm not very good at shaders-programming, I have two questions : QUESTION #1: I'd like to make a black and white mod with some coloured stuff. Though I have tried to force th