Master_Chief 0 Posted August 22, 2004 well maybe not. But I did manage to put a flashlight on a unit that moves with the gun. It was easy, all I had to do was put two points that lined up with the weapon proxy and then add a light to the points in the unit config. The light will move with the gun during all movements and animation, even when he puts the gun on his back. There are a few pros and cons though. But first: And a short video showing it in action: Flashlight on some barrels at night notice the light moves with the gun during reloads. the good stuff: -------------- -no scripting required -AI soldiers use it during combat without using scripts -player uses it like the lights on a vehicle, by pressing "L" -simple for AI to turn on, off by default -some insane night MP games with no nvgoggles The bad stuff ------------- -doesn't line up with individual guns -there is a slight problem when moving the gun vertically, if the gun doesn't move fast enough the light will sometimes not move, but it isn't really that noticable. -This is all done using OFP's rather bad lighting system, so small things like rocks and trees look great but bigger things don't work as well. -the light doesn't illuminate the ground except on higher terrain detail settings. -cant be added onto existing soldiers without modifing their models. But aside from that it is really fun to play with! Share this post Link to post Share on other sites
daithi 0 Posted August 22, 2004 Great, Marvelous !!!!! Where can we get our hands on this ?? Share this post Link to post Share on other sites
Messiah 2 Posted August 22, 2004 fancy writing a tutorial on this? i reckon a lot of people will love to implement this on their own weapons Share this post Link to post Share on other sites
adumb 0 Posted August 22, 2004 oh shit man nice job Share this post Link to post Share on other sites
orson 0 Posted August 22, 2004 Wowzer , can this be used on a vehicle turret in the same way ? Share this post Link to post Share on other sites
sniperuk02 0 Posted August 22, 2004 Very nice master cheif Share this post Link to post Share on other sites
edejl 0 Posted August 22, 2004 Damn I was trying to figure out how to do this a while ago, good job! Share this post Link to post Share on other sites
king homer 1 Posted August 22, 2004 where the heck you get that sky and moon and the weapon? Share this post Link to post Share on other sites
korax 4 Posted August 22, 2004 I knew it was possible somehow, too bad i dont know much about configs VERY nice work! Share this post Link to post Share on other sites
Heatseeker 0 Posted August 22, 2004 That would be neat to have on some swat weapons, even if cqb is crap in OPF it would be fun, i hope to see this in some real guns and not halo laser beam thingy's . Share this post Link to post Share on other sites
Wilco 944 Posted August 22, 2004 where the heck you get that sky and moon and the weapon? Â Oh I dunno, maybe check the 35 Paged "First Model imported from PC Halo". Share this post Link to post Share on other sites
tankieboy 0 Posted August 22, 2004 Yet another "limitation" barrier comes crashing down. Share this post Link to post Share on other sites
king homer 1 Posted August 23, 2004 where the heck you get that sky and moon and the weapon? Â Oh I dunno, maybe check the 35 Paged "First Model imported from PC Halo". never looked in that thread cause im not interested in halo....just wondered Share this post Link to post Share on other sites
kevbaz 0 Posted August 23, 2004 can you turn it on and off? Share this post Link to post Share on other sites
Viper200 0 Posted August 23, 2004 Quote[/b] ]can you turn it on and off? Yes, because in Master_Chief's post he said under the good stuff Quote[/b] ]-player uses it like the lights on a vehicle, by pressing "L" And also if you watched the video, just before he starts running towards the barrels, you can see that he turned it on. Edit: and by the way, Nice job Master_Chief! Share this post Link to post Share on other sites
SpecOp9 0 Posted August 23, 2004 Thank you master Chief. Everyone who said Flashlights are impossible, I love to say "I told you so" Thank you for proving them wrong Master Chief, yet again. Share this post Link to post Share on other sites
Uziyahu--IDF 0 Posted August 23, 2004 I can't tell which is more amazing: A) the people who break the so-called "engine limitations" of OFP B) the OFP engine's capabilities despite its so-called limitations. Share this post Link to post Share on other sites
tankieboy 0 Posted August 23, 2004 C) The people who jump on the "I told you so" cart for the ride. Share this post Link to post Share on other sites
ralphwiggum 6 Posted August 23, 2004 just for the record, IIRC the flashlight was available in demo, but was taken out since it had bugs. Share this post Link to post Share on other sites
FW200 0 Posted August 23, 2004 Hmm, looking amazing but I have a couple of questions: What if you don't hold a gun and press L? What if you are holding a gun which doesn't have a flashlight in RL or so, will you still get the light? I hope you will continue development on this project. Share this post Link to post Share on other sites
4 IN 1 0 Posted August 23, 2004 it is not quite an "engine limit break through" as the engine allows lights on soldier units(they are config as vehicals in OFP), yet the hard part is to lines up the gun and the lights to make sure that they move together Share this post Link to post Share on other sites
MrZig 0 Posted August 23, 2004 Awesome work Master Chief! Share this post Link to post Share on other sites
Pappy Boyington 0 Posted August 23, 2004 I can't tell which is more amazing:A) Â the people who break the so-called "engine limitations" of OFP B) Â the OFP engine's capabilities despite its so-called limitations. OFP has limitations? looks very nice anxious to try this in game. this brings on a whole new breed of possibilits incluiding multipul lights on vehicals (such as ships) and gaurd towers with working/moving spot lights (moving by player/AI) Share this post Link to post Share on other sites