Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: bobbtmann on September 01, 2009, 10:59:53 am

Title: Target Box, Bounding box
Post by: bobbtmann on September 01, 2009, 10:59:53 am
Is it possible to make the rectangle that surrounds a selected model be smaller than the model itself? Like in making a subsystem box in pcs2 and attaching it to a subsystem model?
Title: Re: Target Box, Bounding box
Post by: Aardwolf on September 01, 2009, 04:29:41 pm
I think you can manually set the center point and dimensions of a POF, even if PCS2 auto-computed it. Dunno how, though.
Title: Re: Target Box, Bounding box
Post by: Nighteyes on September 01, 2009, 04:47:13 pm
I would also like to know this... because if I'm not mistaken then explosion size is set by the size of the bounding box... and thats something that we need to be able to change easily...
Title: Re: Target Box, Bounding box
Post by: chief1983 on September 01, 2009, 11:01:53 pm
But then you can't shoot the object...
Title: Re: Target Box, Bounding box
Post by: Galemp on September 02, 2009, 12:05:14 am
The tech room zoom value in the table should help you there.  Try experimenting.
Title: Re: Target Box, Bounding box
Post by: bobbtmann on September 03, 2009, 07:26:11 pm
Oh, I hadn't realized that you can specify a zoom value for each subsystem
Title: Re: Target Box, Bounding box
Post by: Nighteyes on September 04, 2009, 11:38:12 am
Are we talking about $Closeup_zoom: in the ships.tbl? that defines the size of the bounding box for the ship? what about subsystems?
Title: Re: Target Box, Bounding box
Post by: Galemp on September 04, 2009, 12:00:10 pm
The target box doesn't switch focus when you select a subsystem, it always remains centered on the ship.
Title: Re: Target Box, Bounding box
Post by: bobbtmann on September 04, 2009, 01:47:06 pm
No, that's true. But it does draw a little red rectangle around the targeted subsystem.

 Maybe I was inaccurate with my question. I'm not concerned with what the real extents of the subobject are, but rather the percieved extents, as seen by the player. I have a model with guns that are small, but a large chunk of the ship is also included in the subobject. I don't want the player to know that.