Post: [CODE]Propper Barrier Making script,not crates
08-12-2011, 05:01 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys,i dont know if this is the original script for using triggers but this way allows you to form a barrier without the invisible crates,this does not cause any lag which walking against or ontop of the barrier,this script was taken from hawkins v4 so here you go:
    = spawn( "clip_full", ( 0, 0, 0 ), 0, tr, th ); 

like i said above,i dont know the basic trigger spawner script,so if you could reply below if you know it,thanks.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Uk_ViiPeR for this useful post:

DarKMaGiiC, Karoolus
08-13-2011, 12:03 AM #2
Karoolus
I'm the W@W Menu Guy !
Originally posted by codutility.com

Clipping textures are used to block a player or NPC (Non Playable Character) or to add collision to a static model.

Blocking
clip Clip is a transparent surface that is used to block the player and NPCs in game. Clip does not have bullet collision, so you are able to shoot through it. If the player or NPC is to walk on the surface of clip, no sound will be made. Do not use it where a player can walk on it.
clip_full This will block players and NPCs. Does not give off a sound if player walks on surface. Functionally similar to ''' clip ''', but is more descriptive.
clip_monster This is clip that will block NPCs, but not the player. This is used in Singleplayer.
clip_player This clip is used to block only the player. Does not affect NPCs.
clipweap This clip will stop bullets and grenades but will not block players or NPCs.
clip_missile This is clip used to block a projectile like a grenade, but will not block bullets. It also will not block a player or NPC.
clipweap_glass_2 This clip will react to bullets or grenades when hit. It will give the effect of breaking glass. It will not block the player or NPCs.



found this on google Smile

what is it actually you want to know ? Smile

The following 2 users say thank you to Karoolus for this useful post:

DarKMaGiiC, Hawkin
08-13-2011, 11:33 AM #3
Originally posted by Karoolus View Post
found this on google Smile

what is it actually you want to know ? Smile

the original code which allows you to place a model in a certain location,then i shall re-edit my post & add that to it.
08-14-2011, 08:27 AM #4
Karoolus
I'm the W@W Menu Guy !
Originally posted by UK
the original code which allows you to place a model in a certain location,then i shall re-edit my post & add that to it.


so to spawn a script model & make it perfectly solid ? Smile
08-14-2011, 10:16 AM #5
Originally posted by Karoolus View Post
so to spawn a script model & make it perfectly solid ? Smile

thats what the script should do with clip_player,clip_full blocks bullets,ai,bots,airspace,killstreaks etc..
08-14-2011, 07:45 PM #6
Hawkin
Lord of the Undead
Originally posted by UK
hey guys,i dont know if this is the original script for using triggers but this way allows you to form a barrier without the invisible crates,this does not cause any lag which walking against or ontop of the barrier,this script was taken from hawkins v4 so here you go:
    = spawn( "clip_full", ( 0, 0, 0 ), 0, tr, th ); 

like i said above,i dont know the basic trigger spawner script,so if you could reply below if you know it,thanks.


This line of code from my CrWalls thread in COD4 Zombieland. only has changed the trigger_radius and replaced it with clip_full. That won't work like that for sure. tr= trigger radius th = trigger height. Its a line meant to spawn a oval shape, at best.
I need to see how someone has used this. It sounds more like a flag or variable you attach to a spawned model.
EDIT-
I looked into it. clip_full is a texture. I can't find a way to change a texture using gsc coding. I think the only way is if you are building a mod for PC version. When you actually putting together a new model file. (Like when you can make a new map) This is PC only. I don't think it will help on PS3/XBOX
08-14-2011, 08:07 PM #7
Blackstorm
Veni. Vidi. Vici.
Originally posted by Hawkin View Post
This line of code from my CrWalls thread in COD4 Zombieland. only has changed the trigger_radius and replaced it with clip_full. That won't work like that for sure. tr= trigger radius th = trigger height. Its a line meant to spawn a oval shape, at best.
Karoolus or Viper can you post or send me the link you found this on. I need to see how someone has used this. It sounds more like a flag or variable you attach to a spawned model.


Isn't there barriers you could use?
08-14-2011, 08:35 PM #8
Hawkin
Lord of the Undead
Originally posted by Blackstorm View Post
Isn't there barriers you could use?


I've found a way to make solid models (floors, walls, ramps etc.) for WAW MP, but not COD4. Except Trigger Radius, which really sucks. (and impossible to walk on without getting stuck)

---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------

Originally posted by UK
the original code which allows you to place a model in a certain location,then i shall re-edit my post & add that to it.

That command could be used when making custom maps for COD4 like in the thread you started.
08-14-2011, 08:42 PM #9
Originally posted by Hawkin View Post
I've found a way to make solid models (floors, walls, ramps etc.) for WAW MP, but not COD4. Except Trigger Radius, which really sucks. (and impossible to walk on without getting stuck)

---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------


That command could be used when making custom maps for COD4 like in the thread you started.

its good for scripting your own map,but if your making your own custom map its better to just do it yourself lol.thanks for reading it anyway :p
08-20-2011, 12:25 PM #10
DarKMaGiiC
Do a barrel roll!
awesome!! will be very helpfull for me.
thanks
i will try it if come home

---------- Post added at 12:25 PM ---------- Previous post was at 12:14 PM ----------

Originally posted by UK
hey guys,i dont know if this is the original script for using triggers but this way allows you to form a barrier without the invisible crates,this does not cause any lag which walking against or ontop of the barrier,this script was taken from hawkins v4 so here you go:
    = spawn( "clip_full", ( 0, 0, 0 ), 0, tr, th ); 

like i said above,i dont know the basic trigger spawner script,so if you could reply below if you know it,thanks.


Originally posted by another user
trigger = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );


now you can wait for the trigger to be triggered by a player
Originally posted by another user

trigger waittill ( "trigger", player );


or just make the trigger solid:
Originally posted by another user

trigger setContents(1);



EDIT:

didnt read all of the posts. Damn i hoped that this works.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo