Character lite

Discuss any other topics here
Post Reply
Davy

Character lite

Post by Davy »

I'm making a level where I want a dim light to hover over the player as to only illuminate the level within a certain distance of you (would look really cool in 3rd person). A flashlight would also be very cool for 1rst person. But I have no idea how I would go about doing so... Suggestions? Tutorials? Thanks.
User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

flashlight, check the perfect flashlight code in rf scripting. for what you said, simply make a dynamiclight, and set the EntityName to player and the BoneName to whatever bone of the player you want it to attach to (you can view the bones to see which one you want in viewer.exe).
User avatar
animatrix
Posts: 134
Joined: Thu Jul 07, 2005 10:51 pm

Post by animatrix »

Davy, I did a game a while back where your in an underground cavern system with no lights, but the player had a sonar pulse of blue light that shot out and bounced of objects illuminating the areas and semi transparent giant spiders, was a really good effect. the pulse was about a 20 ft glow as it went foward and lasted about 5 seconds or so. I used a weapon bullet and the rocket glow effect in the install folder of RF. :)
Image
Guest

Post by Guest »

Thanks, it looks pretty good, except I think the bone need's to be above the player (I tried the top of the head and it was all flickery). But I can definitely work with that. Thanks.
GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 »

in playersetup.ini find the flashlight part and change 'spotlight = true' to 'spotlight = false'. This will do exactly what your looking for. The flashlight key (default 'F' i think) switches it on and off. Mess around with the other settings in there to get the exact look you want.
Check out my band
Tougher Than Fort Knox
Image
Post Reply