>1)  Does anyone either know the complete list of "impulse" commands or how to show a 
>list of them?

Are you talking about one of existing MODs or about HL SDK? There is a function, void 
CBasePlayer::ImpulseCommands() in player.cpp, line 3215.

>2)  Is there a command to illuminate a dark map (besides the flashlight)?
>  (for testing purposes)

No, but you can create a dynamic light:

in HUD_Redraw():

cl_entity_t *local = GetLocalPlayer();
dlight_t * light = CL_AllocDlight (0);

light->color.r = 5;
light->color.g = 5;
light->color.b = 5;
light->radius = 1500; // can be increased
light->origin.x = local->origin.x;
light->origin.y = local->origin.y;
light->origin.z = local->origin.z;

light->die = flTime + 0.1;

WBR, Vasily.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to