Together with my mate ive just started work on a horror-game in RF.
Now for added atmosphere we want to have the following:
Torches that can be picked up, used on command after wich a torch burns for say: 20 minutes. After that it becomes useless (and ofcourse dissapears from your inventory).
Flashlight version
I have been tinkering with the flashlight scripts and made a working torch (flame and light effects) however aside from the effects it cant be picked up or used for a time.
I do have seen a topic on the forums here, wich used a different flashlight script wich was adapted to be key-triggered and wich would be rendered useless after a while. However i have not been able to implement this system so far.
And i wonder if a flashlight can be made an Attribute (like weapon pickups etc)
The topic can be found here: viewtopic.php?f=8&t=490&hilit=torch
The flashlight can be found here: viewtopic.php?t=242
Weapon version
So i got the idea to make it a weapon. I have modified the flamethrower to fire for 10 seconds before depleting. However the light effect (wich is linked to the flamethrower's projectile) stays at the spot where you fired the weapon. I tried linking the effect to the Player-actor's weapon bone but this had no effect.
The weapon version would work for me in terms of pickup, use, drop systems etc, but the effects hardly work. The Flashlight version looks promising effect and use wise, but how do i do the pickup and drop? Plus RF crashes everytime i try to use that modified flashlight script.
If any of you (seasoned?) RF-ers could help this newb out, thanks!
