02-07-2008, 03:28 AM | #1 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Stopping/Freezing a player
Been tooling around with this, but I thought I'd see if I could get some input. Anyone know a way to stop or freeze a player? I just need them to not be able to move; the rest (shooting, nades, etc) isn't important.
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
02-07-2008, 05:03 AM | #2 |
[AE] 0112 Ihmhi *SJB
Wiki Team
Fortress Forever Staff |
Well I know the TFC server had "pause" built into it, haha...
ADMIN: -pauses the game- "Are you guys gonna play nice?" Everyone was crying moar that day, so he basically just froze the game haha...
__________________
Anime: The Thread: Reloaded The one and only anime thread on these here forums. Select the pistol, and then, select your horse. |
|
02-07-2008, 06:57 AM | #3 |
Retired FF Staff
Join Date: Jan 2005
Location: CowTown
Posts Rated Helpful 0 Times
|
Yeah, there's a FROZEN flag you can set on players, and I imagine Lua can do it...but Mulch or Jon are probably the ones to ask in that regard. I still think Lua's the devil
Or maybe setting a 0% speed effect? Dunno... |
|
02-07-2008, 09:17 PM | #4 |
Fortress Forever Staff
Join Date: Feb 2005
Location: Los Angeles, CA
Posts Rated Helpful 3 Times
|
we used the freeze flag in some of our previous bot training to freeze the player while the bot explained shit
|
|
02-07-2008, 09:28 PM | #5 | |
Join Date: Sep 2007
Class/Position: O Gametype: CTF Affiliations: mimic- Posts Rated Helpful 0 Times
|
Quote:
|
|
|
02-08-2008, 12:22 AM | #6 | |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Quote:
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
|
02-08-2008, 01:28 AM | #7 |
Join Date: Apr 2007
Location: Hiram, GA
Posts Rated Helpful 0 Times
|
Semi related. I need to see if there is a way to prevent a player from shooting or throwing nades in an area but still move.
|
|
02-08-2008, 01:52 AM | #8 | |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Quote:
Player shooting I'm not sure about (I think you can block/remove projectiles but I'm not sure how), but you can strip all weapons or all ammo using: Code:
player:RemoveAllAmmo(true) and/or player:RemoveAllWeapons()
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
|
02-08-2008, 04:23 AM | #9 |
Join Date: Apr 2007
Location: Hiram, GA
Posts Rated Helpful 0 Times
|
Thanks I'll give those a try.
|
|
02-08-2008, 07:09 PM | #10 |
Fortress Forever Staff
Join Date: Feb 2005
Location: Los Angeles, CA
Posts Rated Helpful 3 Times
|
I exposed the functionality to the bot scripting. I don't think its currently available to the FF scripting. It's easy to add though if its not already.
|
|
02-08-2008, 08:03 PM | #11 | |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Quote:
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|