scr_object outside the skybox
Moderator: Moderators
scr_object outside the skybox
i want to hide about 100 script objects that are bound to 1. if i hide the 1 the rest are still visible - so would need to hide each individually.
instead I noticed i can move them outside the skybox to achieve this and even call them back later....
this seems sloppy though. any problems with this method ?
instead I noticed i can move them outside the skybox to achieve this and even call them back later....
this seems sloppy though. any problems with this method ?
targetname
Its hard to tell what you want this for, but it might be easier to just give all 101 objects the same targetname. Then you can hide/show them together.
for(local.i = 1; local.i <= $myobject.size; local.i++)
{
local.myobject = $myobject[local.i]
local.myobject hide
}
That might not be right. But, the idea is to assign all the objects (named myobject) an index number and then hide them all.
for(local.i = 1; local.i <= $myobject.size; local.i++)
{
local.myobject = $myobject[local.i]
local.myobject hide
}
That might not be right. But, the idea is to assign all the objects (named myobject) an index number and then hide them all.
vis_leafgroup
You could probably do it with vis_leafgroups too.
$vis1.target = $vis4::$vis7::$vis12::$vis43
$vis1.target = NIL
$vis1.target = $vis6::$vis8::$vis16::$vis74
Also not sure if that scripting will work.
$vis1.target = $vis4::$vis7::$vis12::$vis43
$vis1.target = NIL
$vis1.target = $vis6::$vis8::$vis16::$vis74
Also not sure if that scripting will work.
hmmmm - If I hide them they are still solid ? I would like to keep each object to one line so it will be easiest to add more mazes.
I like vis -fast lol. maybe I could move them into a vis brush rather then outside the skybox. maze build seems to work fine but i have not tested it on the server with others.
But im not hearing any concerns about pushing these things outside the skybox?
I like vis -fast lol. maybe I could move them into a vis brush rather then outside the skybox. maze build seems to work fine but i have not tested it on the server with others.
But im not hearing any concerns about pushing these things outside the skybox?
Why don't you make 4 seperate arenas. The arena you are playing in is "vise'd" out from the other three. Use teleports to make people go to the next arena in a given amount of time.
you should be able to keep them all under one skybox without taking a big hit in performance.
You just need to make sidewalls using a wall texture and a sky texture wall on top of that for each arena. A common roof could be used for all.
you should be able to keep them all under one skybox without taking a big hit in performance.
You just need to make sidewalls using a wall texture and a sky texture wall on top of that for each arena. A common roof could be used for all.
He wants a completely dynamic arena, from what i gather neil.
well if you want to have a single list to apply a command to all of them, do like this.
same deal as giving them all the same targetname, except this way you can control where in the array they are.
well if you want to have a single list to apply a command to all of them, do like this.
Code: Select all
local.array = $thing1::$thing2::$thing3
local.array hide
local.array notsolid
Last edited by lizardkid on Sun Apr 15, 2007 7:52 am, edited 1 time in total.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
move
Its ok to move them outside the skybox, just don't move them outside the limits of the grid. You can also move them down under the terrain.
I like lizardkid's idea --don't have to move anything. If they are solid when hidden, just use:
and
I like lizardkid's idea --don't have to move anything. If they are solid when hidden, just use:
Code: Select all
local.array = $thing1::$thing2::$thing3
local.array notsolid
local.array hide
Code: Select all
local.array solid
local.array show








