Quote:
<opening sv_main.c>
FrikaC // ignore ents without visible models
FrikaC if (!ent->v.modelindex || !pr_strings[ent->v.model])
FrikaC continue;
Baker <looking at that, thanks Frika!>
Baker Excellent!
FrikaC make it if ((!ent->v.modelindex || !pr_strings[ent->v.model]) && !ent->v.effects)
Flashlight research and options ...
1. Engine side patch. Cons: Flashlight will only work in DarkPlaces due to similar code in cl_main.c according to FrikaC and LordHavoc.
However, I think it wouldn't be too much trouble to get cl_main.c tweaked a bit in official releases by JoeQuake (GL, Win, Linux) and QRack (GL).
2. Don't patch the server-side engine and require null.spr ( There is a null.spr in this
download) which is a blank sprite model.
null.spr would go into c:\quake\id1\progs
3. Use the bubble sprite, although I think of the available sprites ... well, all of them would look a look flakey, although maybe this isn't true.
4. Option #4, revert to the prior flashlight that illuminated the player.
5. Option #5, change flashlight to flare capability where you throw a grenade or something that stays illuminated and then burns out in 30 seconds or something.
Quote:
Discussion of options from my point of view.
If we choose option #1, you could state that the flashlight only works in DarkPlaces, JoeQuake and QRack
(assuming we could get Jozsef and Sputnikutah to tweak cl_main.c and I don't think either would object to that ... Darkplaces has it and it doesn't alter physics or anything sacred)
The upside for option #1 is that all clients could connect to the server and no special things would be required on the client side. Unsupported clients would not be able to see the flashlight.
-------------------
If we choose option #2, the upside is that it would work in all clients, but the downside would be that the null.spr file is required in order to connect. However, null.spr could be added into all the QuakeOne installers and pak files and the custom maps download is virtually required anyway.
(98% of visitors to QuakeOne.com are Windows users and I think that is pretty much representative of the Quake population. You would expect the Linux users to be able to manually put null.spr in the appropriate folder since they have to be very computer/Quake literate to use Linux, heh).
-------------------
Option #3, it would work with everything but wouldn't be as realistic.
------------------
Option #4, it's good and I liked it perfectly but the thought of a realistic flashlight like what u want is really cool!
-----------------
Option #5, is cool too
You are the guy that has put a ton of effort into the code. You make the call. I kinda of like Option #1 myself, a completely realistic flashlight without requiring a special model but needing updated engines to get the full effect in the mod. The flashlight is a great feature, but is hardly required to play and I can imagine that 80% of the maps don't have much of a need for it.
Option #2 is also very good.