Page 1 of 1
BSP Scenery.
Posted: Tue Nov 06, 2007 1:43 pm
by SpecOp44
Alright well, I've been trying to move a certain piece of BSP scenery on the New Mombasa bridge, a blast door. I want to position it in the entrance of the tunnel, so I spawn a machine that has a similar size, thinking I'll position it and write down the coords to use it on the blast door.
However that proved more difficult, as despite the machine being perfectly placed, and about the size of the blast door the blast door ends up being in the general region of where I want it to be. I figure it's because Entity's BSP viewer may be a tad off. (But I thought that was just for Y/P/R?)
Now I'm wondering if there's an easier, or more reliable way to position BSP Scenery. Anyone?
Posted: Tue Nov 06, 2007 2:49 pm
by CaptainPoopface
There is a program called BSP Scenery Editor that I've used to remove the bunkers and rails from Foundation. But you'll have to do a lot of guess and check anyway, so it's no better than Entity. I've noticed that objects end up in slightly different position from what is indicated in the BSP viewer, sometimes off by as much as 10 units. I think the z coords are usually accurate. Try to get it as close as you can, compensating for BSP Viewer's inaccuracy, and then adjust the coordinates manually.
Figure out which way the x and y axes go for your map. Then take a look at your blast door and say, "it needs to go 3 units left, 2 units back, and .5 units up" and change the coordinates manually. If your blast door is not oriented directly along one of the x-y axes, it's going to be a pain. Imagine an axis that leads straight to where you want the door to go, then figure out how much that axis is deflected from the x or y axis. Then your xy coords will be R sin A and R cos A, where R is the direct distance between where the door is and where you want it to go, and A is the angle of deflection from one of the axes. Whether you use sin or cos for the x and y coords depends on which axis you're measuring the deflection from.
You're probably better off just trying to compensate for BSP Viewer's inaccuracy....
Sometimes if a mach (I don't know about BSP scenery) is embedded too much in other objects, it disappears, so watch out for that.
Posted: Tue Nov 06, 2007 7:51 pm
by Monkey Terd
Posted: Wed Nov 07, 2007 1:12 am
by L0d3x
CaptainPoopface wrote:There is a program called BSP Scenery Editor that I've used to remove the bunkers and rails from Foundation. But you'll have to do a lot of guess and check anyway, so it's no better than Entity. I've noticed that objects end up in slightly different position from what is indicated in the BSP viewer, sometimes off by as much as 10 units. I think the z coords are usually accurate. Try to get it as close as you can, compensating for BSP Viewer's inaccuracy, and then adjust the coordinates manually.
Figure out which way the x and y axes go for your map. Then take a look at your blast door and say, "it needs to go 3 units left, 2 units back, and .5 units up" and change the coordinates manually. If your blast door is not oriented directly along one of the x-y axes, it's going to be a pain. Imagine an axis that leads straight to where you want the door to go, then figure out how much that axis is deflected from the x or y axis. Then your xy coords will be R sin A and R cos A, where R is the direct distance between where the door is and where you want it to go, and A is the angle of deflection from one of the axes. Whether you use sin or cos for the x and y coords depends on which axis you're measuring the deflection from.
You're probably better off just trying to compensate for BSP Viewer's inaccuracy....
Sometimes if a mach (I don't know about BSP scenery) is embedded too much in other objects, it disappears, so watch out for that.
Well somebody knows his geometry

Posted: Wed Nov 07, 2007 9:29 am
by SpecOp44
Hunh, must have missed that, thanks. I'll try it out when I get home.
Posted: Wed Nov 07, 2007 3:49 pm
by CaptainPoopface
Visual Scenery Mover is based on the Entity BSP Viewer source code.
It's worth a try, but you're probably hosed on this one.
Posted: Wed Nov 07, 2007 5:48 pm
by SpecOp44
I think the best course of action here would be to move the scenery in the general area with the app, and adjust it as needed manually. I'll try it and see what happens.
Also: Can the Visual Scenery Mover rotate objects? If so, what are the controls?