Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 08-26-2010, 12:00 PM   #1
DeToXxX
 
DeToXxX's Avatar
 
Join Date: Jul 2007
Location: Staten Island, NY
Class/Position: Offense
Gametype: CTF
Affiliations: [TALOS] .t5
Posts Rated Helpful 3 Times
Brush and Lua

How do I make a brush that you cannot shoot through. But, you're able to move through?
DeToXxX is offline   Reply With Quote


Old 08-26-2010, 12:42 PM   #2
Elmo
Gets tickled by FF
Fortress Forever Staff
 
Elmo's Avatar
 
Join Date: Jun 2007
Location: UK
Class/Position: Med Solly HW
Gametype: Any/CTF
Posts Rated Helpful 41 Times
imagine a day when we have a working trigger_ff_clip...

I guess that was the idea of it in the first place... but yeah dunno
__________________
Support FF:
Done: ff_monkey
Done: ff_bases
Done: ff_warpath
Forever Doing: ff_medieval (beta#99999999)
Elmo is offline   Reply With Quote


Old 08-26-2010, 04:47 PM   #3
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Next patch we will have a fully functioning trigger_ff_clip, and this will be entirely possible (thanks to hlstriker!).

For now, it is possible, but it is a bit buggy (the team that can walk through it can also shoot hitscans through it). See ff_dalequandary for an example (Mushy uses them in the spawns).

Here's the Lua dalequandary uses:
Quote:
-----------------------------------------------------------------------------
-- Clips on Spawns
-----------------------------------------------------------------------------
clip_brush = trigger_ff_clip:new({ clipflags = 0 })

blue_block = clip_brush:new({ clipflags = {ClipFlags.kClipPlayers, ClipFlags.kClipTeamBlue} })
red_block = clip_brush:new({ clipflags = {ClipFlags.kClipPlayers, ClipFlags.kClipTeamRed} })
Create trigger_ff_clip brush entities and name them blue_block or red_block to use it.

Note: The syntax of the Lua might change a bit once the fixed trigger_ff_clips get released.
__________________
#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

Last edited by squeek.; 08-26-2010 at 04:48 PM.
squeek. is offline   Reply With Quote


Reply


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

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:29 PM.


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