[etpromapscript] surfaceflags

Discussion for any ET/ETPro/BayonET bugs or cheats you find...

Moderators: Forum moderators, developers

Post Reply
nUllSkillZ
Posts: 62
Joined: Mon Dec 29, 2003 12:25 pm

[etpromapscript] surfaceflags

Post by nUllSkillZ »

A little problem:
I'm trying to create a brush that is blocking weapons but let players pass.
On a (geman) tutorial side I've found that "clipmissile" in combination with "clipshot" would work (except flamethrower).

In "src/game/surfaceflags.h" I've found:
"#define CONTENTS_MISSILECLIP 0x00000080"
(It's also mentioned in the list in the scripting documentation.)

But I can't find an entry for "clipshot".

Any help much appreciated.
The Necromancer
Posts: 126
Joined: Sat Sep 25, 2004 7:12 am
Contact:

Post by The Necromancer »

download ET SDK, and you can find it
tracing is checking trace clipmask agains target contents
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

maybe these content flags might help:



Contents Flags




SOLID 1

LIGHTGRID 4?

LAVA 8

SLIME 16

WATER 32

FOG 64

MISSILECLIP 128

ITEM 256

MOVER 16384

AREAPORTAL 32768?

PLAYERCLIP 65536

MONSTERCLIP 131072*

TELEPORTER 262144

JUMPPAD 524288

CLUSTERPORTAL 1048576?

DONOTENTER 2097152*

DONOTENTER_LARGE 4194304*

ORIGIN 16777216

BODY 33554432?

CORPSE 67108864?

DETAIL 134217728?

STRUCTURAL 268435456?

TRANSLUCENT 536870912

TRIGGER 1073741824

NODROP 2147483648
nUllSkillZ
Posts: 62
Joined: Mon Dec 29, 2003 12:25 pm

Post by nUllSkillZ »

I've had a look in the source but couldn't find something.

I know the table with the contents flags.
The problem: clipshot (or something that could be identified as) is not there.
MISSILECLIP is.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

clipshot is 0x2000 in the q3map2 source.

Not sure why it isn't in surfaceflags.h, I guess the game code never explictly needs it.
send lawyers, guns and money
nUllSkillZ
Posts: 62
Joined: Mon Dec 29, 2003 12:25 pm

Post by nUllSkillZ »

thnx
Igloo
Posts: 81
Joined: Sat Jan 07, 2006 6:23 am
Location: Poland
Contact:

Post by Igloo »

But yes, with combination I could get blocking everything, except bullets from smg/rifle and other weapons.

Is it possible to do it for all weapons somehow? Not blocking the player ofc.

Greetings,
Igloo
Post Reply