Home » Renegade Discussions » Mod Forum » Any way to make complex bounding boxes?
|
|
|
|
|
|
Any way to make complex bounding boxes? [message #48954] |
Wed, 24 September 2003 12:23 |
[REHT]Spirit
Messages: 277 Registered: April 2003
Karma: 0
|
Recruit |
|
|
Ok, what you probally want to do is make the transport actually multiple objects.
As in: The floor is the actual vehicle, and the house and ramps are seperate objects set up as a decoration phys (or maybe door phys for the ramps?) and added through bones (just make a 1x1x1 box with the name like brmp1 or brmps, as in bone ramp1...you get the idea...) and use the Reborn_MMK2_Turret script (I belive that's the name, it's in the custom scripts.dll @ http://sourceforge.net/projects/rentools/ , of course you can do it a differant way).
Now, this will look a little funny on some servers (you'll see like, the roof lagging behind the floor of the vehicle occasionally) so this might be only good for SP. Also, you'll have to make sure that the parts that are seperate from the flooring don't touch one-another, if they have physical collision checked, otherwise the vehicle won't be able to move.
|
|
|
|
|
|
|
|
Any way to make complex bounding boxes? [message #49211] |
Fri, 26 September 2003 05:59 |
|
npsmith82
Messages: 525 Registered: February 2003 Location: England, UK
Karma: 0
|
Colonel |
|
|
You still have the problem of moving the two objects around together, don't you?
If you're planning to encase the tank in the cargo hold 'box' area of the transporter, you'd be pushing the tank about and hoping that it'll turn if you go around corners.
This will cause complete lag hell. I mentioned this problem when people were brainstorming the orca transporter, where they had the idea of an invisible hollow crate (loading claw) that will encase the vehicle. If the orca turned, the vehicle inside would be lag 'nudged' to turn the same way. Just doesn't seem to be the way it should be done.
Maybe you can use Attach_To_Bone script to lock the cargo to a bone of the transporter...
WOL: npsmith82
For RenAutoComplete, RenSkirmish, RenBuddyList and RenWOLstatus please visit (IE) TheCodeSmith.com
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Dec 29 13:28:37 MST 2024
Total time taken to generate the page: 0.00981 seconds
|