[bfprog] Disabling C4 near flag for CTF

Andreas Fredriksson deplinenoise at gmail.com
Tue Feb 7 13:09:40 PST 2006


On 2/7/06, Brigham Stevens <brs at vikingmind.com> wrote:

>  If I could tell who dropped the C4, that would be funny, because they would
> get slain over and over until the c4 vanished from the map! I think that
> happens after 2 deaths tho...
>
>  Jeeze if they gave the c4 detonator a max range of 20 meters then none of
> this would be necessary!

I guess a server mod would be the easiest way to change this, because
I don't think we ever got around to exposing projectiles correctly in
the API. On the other hand, we didn't have much time to begin with :-)

Maybe tweaking the kits (via template hacking) for this special mode
would work out ok? It would probably be safe to change them on the
server only, but I can't vouch for that.

Essentially if you replace all the C4 kit items with something else
(say grenades), things should work without client changes, because the
server decides what goes into each player's inventory. Maybe some late
change to the entity caching code might be sensitive to this, but I'd
definately give it a try.

// Andreas

--
Those who live by the sword get shot by those who don't.


More information about the BFProg mailing list