You could... possibly... create work around in hammer using a
point_spotlight + dynamic light. You'd have to bind a command to turn it on
and off via ent_fire, but this could be bound to something like F... You
could probably bind it via the map too, though that may conflict/anger some
people who might have an alternative bind already.

You'd have to start the player, and parent the light to the !player, or
!activator depending on how you do it, then you can try using
"SetParentAttachmentOffset" and trying to attach it to an arm bone, or the
players shoulder.

On Sun, Apr 19, 2009 at 6:44 PM, Tony Sergi <to...@valvesoftware.com> wrote:

> There are no scripts. It's c++.
> And you don't have the portal source code, so therefore you cannot build
> the portal game/server dlls.
>
>
> -Tony
>
> -----Original Message-----
> From: hlcoders-boun...@list.valvesoftware.com [mailto:
> hlcoders-boun...@list.valvesoftware.com] On Behalf Of Gabriel
> Sent: April-19-09 9:00 PM
> To: hlcoders@list.valvesoftware.com
> Subject: [hlcoders] (no subject)
>
>
> I don't think the Portal code is needed because the flashlight is just one
> thing and an if statement would be used to disable it, right? So with that
> thinking I would just need to know where the flashlight script or scripts
> are.
>
> G-man Smith
>
>
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to