Author Topic: Docking and subsystems shenanigans  (Read 1831 times)

0 Members and 1 Guest are viewing this topic.

Offline Axem

  • 211
Docking and subsystems shenanigans
I'm trying expand my knowledge of how to convert models and all the fun that does (not) ensue. There's two problems I have, one with docking and the other with missing subsystems.

Docking first, I have a freighter for SoL and it needs a docking port and docking path. I added a port with two points, the first on the point of contact, and the second 0.05m away on the same direction as the normal. Then I added a path with three points, with the first point being the one with the largest radius and farthest away, and the third being on the point of contact and with the smallest radius.

Ingame, it docks fine, but the container twitches. If I shoot at the container, it sends the Freighter into a spinning frenzy. I tried giving it the MOI of a Fenris (roughly the same size) but it didn't work.

Second problem is the subsystems I added do not appear. I made a mistake at first and accidently made them Hidden Internal Points, but I fixed that, and they still don't appear. The names in the pof match up exactly with the ones in the tbm file.

Experts of POFing, I humbly request your assistance! :)

 

Offline Roanoke

  • 210
Re: Docking and subsystems shenanigans
pretty sure you'll need a table entry for the subsystems, if you haven't already. Also, I think a dock path needs 4 points. Haven't done any of this for ages tho.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Docking and subsystems shenanigans
I've generally seen either 2 or 4 points on paths. I don't know if that is an actual requirement.

What's the mass of the container BTW?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Axem

  • 211
Re: Docking and subsystems shenanigans
The tbl entry has all the subsystems, letter for letter.

The container is just a TC 2 right now. I don't want to add too much and then get stuck at every little thing.

 

Offline Axem

  • 211
Re: Docking and subsystems shenanigans
I added a port with two points, the first on the point of contact, and the second 0.05m away on the same direction as the normal.

Ultra thanks to Wanderer for helping with that. :D It should be perpendicular to the normal, not parallel.

The subsystem problem still annoys me. I readded every subsystem and still nothing. :sigh: It's sole turret shows up though.

EDIT: Second problem found: the name field in PCS needs a $ before the actual subsystem name. Alright, problems solved.
« Last Edit: December 28, 2005, 02:15:31 pm by Axem »

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Docking and subsystems shenanigans
i think subsystem names are case sensitive. also make sure the $special=subsystem is in there as well.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Axem

  • 211
Re: Docking and subsystems shenanigans
Yeah, my complete absence of knowledge thought the field was supposed to go $special=$[insert subsystem name here], which made them all hidden internal points. Well, its mistakes like these that I'll make sure never to make again. ;) (I hope) :nervous: