Make invisible walls and other

Post your scripting questions / solutions here

Moderator: Moderators

SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Make invisible walls and other

Post by SilentAngel »

Guys I really need your help!!! I'm tring to map a sniper map since 1 year but....I don't understend how to make invisible walls to divide the map in 2 parts. maybe nocross should be good but I don't know how make it..I'm not so good in scripting! Can someone explain me how to make an invisible wall or a nocross? ty sooo much!!
PS: The map I'm trying to mod is mohdm5...one of those in the pak3...infact I can't use Radiant to do that because it dosn't read .bsp!!!
however my email is francescopretolani@libero.it

REALLY REALLY TY !!
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmmm perhaps a playerclip? :)
Image
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

Below is a link to a download for the stock maps .maps.
http://files.filefront.com/Medal_of_Hon ... einfo.html

Be sure to re-name the map after you edit it.
Computers hate me!!!!!
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

Ty sooo much.
But now I need to know the name of the texture for the invisible wall.
The texture I need is the one that make possibe to shot trought it but, at the same time, make impossible to go over it. in other words a texture for nocross....
(sorry for my english...)
TY GUYS!
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

DONE IT!!!!! I made a brush as tall as the map..and I don't put any texture!! I tried the map and it was working gooooood!!! :P
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

okay now there is another problem..I need no make my map nocross with scripting...someone knows how do that? :cry:
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

hey man it would be a little easier if u did script a clip wall in there because if u do it in radiant then it becomes a custom map and it will have to be downloaded to be played....if u want let me know where u want the wall to and from and i can show ya how to script in it there.....alot of tuts on here also on how to do this
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

okay ty for the informations..
however.....you know mohdm5 (Snowy park)? I want to put the wall in the middle of the central bridge and as long as the map if you need I can give you the coords..
Ty again for the help :P
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

:cry: :cry: :cry: :cry: PLEASEEEEE NEED HELP! COULD SOMEONE TELL ME HOW TO MAKE AN INVISIBLE WALL FOR SNIPER NO-CROSS MAPS?? I need a inv wall that let bullets go trought and at the same time stop players to cross from a side to the other! Heeeeeellllpppp!
Sorry for the bad english.. :o
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

[/quote]if u want let me know where u want the wall to and from and i can show ya how to script in it there.....alot of tuts on here also on how to do this

Try to PM tazz, he offerd to help. I only know how to do it in radiant, cant script.
Computers hate me!!!!!
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

Okay ty man.. :lol:
the wall should be high from (2150.60 -4811.66 -410.75) to (2150.60 -4811.66 -4460.21) and large from ( 2163.36 -7863.31 201.00) to (2107.93 -1580.15 201.00)

That should be all right? thanx v much :wink:
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

I tried this:

Code: Select all

local.playerclip = spawn script_object 
local.playerclip.origin = ( 2090.78 -4841.38 170.16 ) 
local.playerclip.angles = ( 0 0 0) 
local.playerclip setsize ( -5 -3021.93 -580.91 ) ( 5 3261.23 4290.05 ) 
local.playerclip solid 
local.playerclip nodamage 
end
But didn't work good: players can't cross(and that's good) but bullets don't cross too(and that's bad because I want that bullets don't stopped by the wall) .....so....I tried this:

Code: Select all

local.clip = spawn script_object 
local.clip.origin = ( 2090.78 -4841.38 170.16 ) 
local.clip.angles = ( 0 0 0) 
local.clip setsize ( -5 -3021.93 -580.91 ) ( 5 3261.23 4290.05 ) 
local.clip solid 
local.clip nodamage 
end
What is the mistake for ya guys? :cry: :cry:
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

what u r doing is making a clip wall.....that will stop bullets projectiles nades and player....in other words nothing will make it past that wall.....u cant make an invisble wall that will stop player but not bullets...i have been looking for a while thinking a player clip will do it but i didnt want to re-map for a custom map...thats the only way to do what ur wanting is to re-map it and make ur invisble wall from a player clip...this way the player will be blocked but the bullets will go right thru it...good luck man....and remember if u do re-map it .....it will have to be downloaded by everyone that wants to play it....
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

I now that but there is a way to do that with scripts because the admin of my ex-clan did that...with scripts(I never download maps for his server so he must have done it with scripting somthing!) The problem is that I don't see him since a lot of time..when I see him I will learn how do that and put what I've learn here maybe okay? ty :wink:
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

did u ever figure out how he did that?......
Post Reply