Hiden objects

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Alex135
Private First Class
Private First Class
Posts: 30
Joined: Sun Oct 09, 2005 8:17 pm
Contact:

Hiden objects

Post by Alex135 »

Ok Ive seen it done before but i don't know where.

What i want is to be able to have a object, in this case a mesh be visible out the window, but on the radar to be invisible.

How do i do that?
______________________________________________________

Image
Image

Hoster: alex135.gotdns.com ports 5154-5157
Admin: Heart Attack, Camelot, Allied, Lzone, LDDW
Cop: Badgerking, Person1
______________________________________________________
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Use noradar. I beleive it's 2.0.4+ only and I'm not sure where to place it... (in the group definition or even directly in a meshbox?)

But I know that's what you use. :)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

in a meshbox:

Code: Select all

meshbox
name invisible
position 50 24 0
size 20 15 15
rotation 0
noradar
end
in a mesh:

Code: Select all

Vertex 50 50 10
Vertex 50 -50 10
Vertex -50 -50 10
Vertex -50 50 10
face
  Vertices 0 1 2 3
  noradar
endface
end
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee »

noradar works for all 2.0 objects, but it only works for people with radar on fast or enhanced.
"Life is what happens to you while you're busy making other plans." - John Lennon
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

really,cool, i never new about this. Is it compatible with stable 2.0.4? is there a no HUD or is that for textures to do?
User avatar
khazhyk
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.

Post by khazhyk »

yes, it will work with 2.0.4

if you want invisible on HUD do this:

in a meshbox:

Code: Select all

meshbox
name invisible
position 50 24 0
size 20 15 15
rotation 0
color 1 1 1 0
end

in a mesh:

Code: Select all

Vertex 50 50 10
Vertex 50 -50 10
Vertex -50 -50 10
Vertex -50 50 10
face
  Vertices 0 1 2 3
  color 1 1 1 0
endface
end 
Image
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3249
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

And for meshpyramids, just change coding to meshpyr instead of pyramid.
Post Reply