BSP Scenery.

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
SpecOp44




Advisor Recreator Snitch! Critic

Posts: 2008
Joined: Tue Jun 06, 2006 12:34 pm
Location: The Canadarm

BSP Scenery.

Post 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?
Image
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post 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.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
Monkey Terd




Coagulator Acolyte Recreator Bloodhound
Sigma Sorceror Connoisseur Droplet
Pyre

Posts: 2032
Joined: Tue May 17, 2005 6:34 pm
Location: T E X A S

Post by Monkey Terd »

Formerly known as Limpmybizket.
L0d3x




Articulatist 250

Posts: 454
Joined: Sat Aug 18, 2007 3:32 am

Post 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 :wink:
User avatar
SpecOp44




Advisor Recreator Snitch! Critic

Posts: 2008
Joined: Tue Jun 06, 2006 12:34 pm
Location: The Canadarm

Post by SpecOp44 »

Hunh, must have missed that, thanks. I'll try it out when I get home.
Image
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

Visual Scenery Mover is based on the Entity BSP Viewer source code. :wink:

It's worth a try, but you're probably hosed on this one.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
SpecOp44




Advisor Recreator Snitch! Critic

Posts: 2008
Joined: Tue Jun 06, 2006 12:34 pm
Location: The Canadarm

Post 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?
Image
Post Reply