Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 07-11-2014, 09:35 PM   #1
KubeDawg
Nade Whore
Server Owner
Beta Tester
 
KubeDawg's Avatar
 
Join Date: Sep 2007
Location: Oklahoma
Class/Position: Scout/Soldier
Gametype: CTF/TDM
Affiliations: blunt. Moto
Posts Rated Helpful 128 Times
noannoyances doesn't include detpacks and pipes?

Just wondering why detpacks and pipes can still go off when grenades and other things do not when I have a trigger set with the name noannoyances. Is there a way around this?
__________________
Moto's Funhouse | Dallas, TX - 74.91.114.247:27015

ff_plunder - Complete
KubeDawg is offline   Reply With Quote


Old 07-14-2014, 01:11 PM   #2
ddm999
worst ff player eu
 
Join Date: Jun 2012
Location: South Yorks., England
Class/Position: o - no, d - scout
Gametype: IvDZ
Posts Rated Helpful 18 Times
Code:
function noannoyances:onexplode( explode_entity ) return EVENT_DISALLOWED end
Put this at the top of your lua script.

By default, it's set to check whether it's a grenade exploding, disallow if it is, but allow if it isn't.

This will make any noannoyances in your map remove all explosions (detpacks, pipes - maybe RPG rockets as well, however).
__________________
gg ff not ded
ff very much alive
ddm999 is offline   Reply With Quote


Old 07-14-2014, 03:44 PM   #3
KubeDawg
Nade Whore
Server Owner
Beta Tester
 
KubeDawg's Avatar
 
Join Date: Sep 2007
Location: Oklahoma
Class/Position: Scout/Soldier
Gametype: CTF/TDM
Affiliations: blunt. Moto
Posts Rated Helpful 128 Times
This didn't work. I replaced the original noannoyances grenade code from the base teamplay lua file with your function and it still prevents grenades from exploding, but detpacks and pipes still explode when they go off in game.
__________________
Moto's Funhouse | Dallas, TX - 74.91.114.247:27015

ff_plunder - Complete
KubeDawg is offline   Reply With Quote


Old 07-15-2014, 09:24 AM   #4
caesium
Fortress Forever Staff
 
caesium's Avatar
 
Join Date: Mar 2007
Location: europe
Class/Position: anything
Gametype: everything
Affiliations: #teamfail
Posts Rated Helpful 27 Times
That's annoying.
__________________
Support FF:
caesium is offline   Reply With Quote


Old 07-17-2014, 03:55 PM   #5
ddm999
worst ff player eu
 
Join Date: Jun 2012
Location: South Yorks., England
Class/Position: o - no, d - scout
Gametype: IvDZ
Posts Rated Helpful 18 Times
Very strange.

I guess Lua simply doesn't recognise detpacks and pipes as exploding entities.

Nothing you can really do in that case.
__________________
gg ff not ded
ff very much alive
ddm999 is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.