ryanjp89 Posted December 6, 2014 Share Posted December 6, 2014 Is it possible to attach a light to tracers? So at night the tracers will glow, and light up the ground when they travel so you can see them better? Link to comment Share on other sites More sharing options...
AliceVonSpades Posted December 6, 2014 Share Posted December 6, 2014 (edited) http://i049.radikal.ru/1412/92/2e6a43c983fat.jpg Edited December 6, 2014 by AliceVonSpades Link to comment Share on other sites More sharing options...
ryanjp89 Posted December 8, 2014 Author Share Posted December 8, 2014 I tried adding my own light using that, however it didn't seem to show up in game. I'm not really sure what that light option is for. Link to comment Share on other sites More sharing options...
ryanjp89 Posted December 20, 2014 Author Share Posted December 20, 2014 (edited) Is it possible for a script to attach a light to a projectile?I was working on tracers and wanted to see if it was possible.http://s15.postimg.org/qw3s3lkkr/tracer.png Edited December 20, 2014 by ryanjp89 Link to comment Share on other sites More sharing options...
Xilandro Posted December 20, 2014 Share Posted December 20, 2014 (edited) Possible and impossible at the same time. You need a script that will attach light to every single projectile in the air (let TempRef01 := SomeProjectile.PlaceAtMe Light01 and TempRef01.moveto SomeProjectile). Trigger box + OnTriggerLeave block script for player (may not work though) or reference walking for all projectiles in cell(s). And all projectiles must be no hitscan. Anyway, it may be too heavy for mid-end machines, it may lag, and you must remove the lights on projectile hit or you will end up with infinity lights all around. To track the lights and projectiles you can use arrays and hell of a lot of temp references, like TempRef01, TempRef02, TempRef03, TempRef0285 and so on.It's not an easy task and may require a lot more scripting than you think (and much more than I just described), so, use regular tracers with nicely lit mesh, without real light. Your screenshot looks very good, it's more than enough for tracers) Edited December 20, 2014 by Xilandro Link to comment Share on other sites More sharing options...
ryanjp89 Posted December 21, 2014 Author Share Posted December 21, 2014 It seems way out of my league for scripting, and seems too much trouble for a simple tracers. I got them to look pretty decent with glow maps and i'm quite satisfied how they look even without a light attached. Thanks for the reply though.Does anyone know what that light slot is for under projectiles? It doesn't seem to do anything for me after attaching a light, I'm just curious what it's used for.Here's a few other screenshots from tracers I made.http://s13.postimg.org/codx4ln3r/Fallout_NV1.pnghttp://s13.postimg.org/lyq184xtj/Fallout_NV2.png Link to comment Share on other sites More sharing options...
Xilandro Posted December 22, 2014 Share Posted December 22, 2014 Seems like lights for projectiles are in the code of the game, but just like many other things - developers decided to turn that stuff off for the release due to performance issues. Cool shots) Link to comment Share on other sites More sharing options...
ryanjp89 Posted December 22, 2014 Author Share Posted December 22, 2014 Ah, I see. I'm sure it would cause quite a lot of performance issues. Link to comment Share on other sites More sharing options...
ryanjp89 Posted December 24, 2014 Author Share Posted December 24, 2014 Thanks for the help though, everyone. Would anyone be interested in a tracer mod if I decided to make one? I made a few custom tracer textures in Photoshop and they look pretty good in game with hitscan disabled. Link to comment Share on other sites More sharing options...
Xilandro Posted December 25, 2014 Share Posted December 25, 2014 I was thinking about making tracers myself, but I simply don't have enough time =D So I'm pretty much interested in tracers mod) Link to comment Share on other sites More sharing options...
Recommended Posts