Author Topic: Destroyable subobjects?  (Read 1679 times)

0 Members and 1 Guest are viewing this topic.

Destroyable subobjects?
How are they done? I want to make a destroyable subobject, that has nothing to do with your regular standard subsystem.
Suppose i want to have a door to the hangar of a ship, that i can destroy and get in. How is this done? I already have the model ready, now all i need is the table entry and the PCS changes. Can anyone help out with this?

:nervous:
No Freespace 3 ?!? Oh, bugger...

 

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
well...you could just make a subsystem that doesn't do anything, like the reactors on the lucifer.
"Gunnery control, fry that ****er!" - nuclear1

 
DUH!!:rolleyes:
 I know that. But how?  How do i make it in PCS? What´s the table entry for it? How do i assign it hit points? etc etc...
:confused:
No Freespace 3 ?!? Oh, bugger...

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Ok... (I wish you had ICQ, or something, so I could talk to you one on one for this, but...)

To make a piece of geometry destroyable is simple. Remember how we made the turrets? Well, it's essentially the same for the subobject in question. Create the piece of geometry, attach it to the main hull as you would a turret, and convert to pof form.

Now, in PCS, you'll go to the subobject section, and for that object, add:

$Special=subsystem
$name=door  (Or whatever)

and save the model.  Then you can go into the table file, and set the part of the geometry as a sybsystem. Make sure that you name it correctly, after the name of the subobject, and not the $name part.

Does that make sense?

Edit: If you wanted to get real fancy, and add a destroyed lump, or live debris for it, you could either make the destroyed door mesh, position it correctly, and add -destroyed to the end of the name. (I.e: if the door was named hangerdoor, the destroyed part would be hangerdoor-destroyed. The same works with turrets.)
You could also make multiple pieces of debris, IIRC, the same way, but instead of -destroyed, you make it -debrisNN, where NN is 01, 02, 03, etc...  And the pieces should float off into space.

But I may be wrong on that, since I've never tried it/got it to work correctly.
« Last Edit: September 11, 2004, 07:11:27 pm by 273 »
Freelance Modeler | Amateur Artist

 
I do have ICQ. My number is  228-119-937. I´m online now.
No Freespace 3 ?!? Oh, bugger...

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Either you're not online, or you're in invisible mode. Either way, you're not being displayed on my window as being active...  Or as recieving my two messages. :p
Freelance Modeler | Amateur Artist

 

Offline aldo_14

  • Gunnery Control
  • 213
See the PTC Baranec (http://www.3dactionplanet.com/hlp/hosted/casofwar/reci_website/mods_standalone.html) as an example of the naming / tbling of destroyed subobjects.... it's got a full set of destroyable subobjects with live debris (and static destroyed subbobjects)

 
Ok, it works now.
Just one little thing: i spent over an hour trying it, and the subsystem wouldn´t show. Untill i finally took out the capital S in "Subsystem",and it worked! For such a little thing...
Caps are is your enemy in FS!
:p

Aldo, your page doesn´t load. I think it´s down.
No Freespace 3 ?!? Oh, bugger...

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
I've got no problem seeing it.  You may try it again shortly.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
What we need now are non-targettable, destroyable, sub-objects. ;7

Probably closer to FSO 4.2 by the time we get that.  Its probably the closest we'll ever get to geomodding (oohh, I said the dreaded word) in FS.

Later!
The Trivial Psychic Strikes Again!

 
The targeting system is not something coders like to delve into, I'm afread. Mind, it'd be great if they did.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline terren

  • 27
do you know if anyone has tryed hacking the stelth code to the subsystems?
Proud user of wings 3-D

                 
Mad? Oh yes quite mad.

  

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by Swamp_Thing


Aldo, your page doesn´t load. I think it´s down.


Strange...works fine for me.

Try http://www.fileplanet.com/dl.aspx?/3dactionplanet/hlp/hosted/reciprocity/piratesahoy.zip