Author Topic: Modelling Questions (was Dockpoints on Bottom)  (Read 5963 times)

0 Members and 1 Guest are viewing this topic.

Modelling Questions (was Dockpoints on Bottom)
      Is it cool to put the docking point of a fighter on the bottom rather than the top? Does it cause any problems? I tried to test it out, but I didn't seem to add the dock point correctly because the game crashed when I called in a support ship. I was using PCS1 btw because my crap video card can't hack PCS2 :)

     Actually another question, how do I specify in PCS whether the thrusters are shivan, terran or vasudan?
« Last Edit: August 22, 2008, 03:43:08 am by Akalabeth Angel »

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Dockpoints on bottom?
     Actually another question, how do I specify in PCS whether the thrusters are shivan, terran or vasudan?
The way that works: Change $Species: to the desired one.
The way that doesn't work but people do anyway: Reskin the thruster polygons to thruster01 (for Terran) thruster02 (for Vasudans) thuster03 (for Shivans).

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Dockpoints on bottom?
And the way you should do it... http://www.hard-light.net/wiki/index.php/Ships.tbl#Customized_Thruster_Effects

EDIT: As for the support ship issue.. First couple of checks.. Did you define the dockpoint with required two points? Did the game spat out error? Can you post the error here? Or run debug and then post the error here?
« Last Edit: August 21, 2008, 04:00:21 am by Wanderer »
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: Dockpoints on bottom?
Yeah no problem, I'm sure I just screwed up somehow. First time I've done any dock points. But here's the error I got:

Code: [Select]
Error: Cannot find a dock path for ship Alpha 1, dock index 0.  Aborting dock.

File:J:\src\cvs\fs2_open_3_6_9.final\code\ai\AiCode.cpp
Line: 4172
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
    fs2_open_3_6_9.exe 005de64e()
    fs2_open_3_6_9.exe 004c0140()
    fs2_open_3_6_9.exe 004c0981()
    fs2_open_3_6_9.exe 004921bc()
    fs2_open_3_6_9.exe 00428423()
    fs2_open_3_6_9.exe 0109b340()
    fs2_open_3_6_9.exe 0109b55c()
    fs2_open_3_6_9.exe 0109b778()
    fs2_open_3_6_9.exe 0109b994()
    fs2_open_3_6_9.exe 0109bbb0()
    fs2_open_3_6_9.exe 0109bdcc()
    fs2_open_3_6_9.exe 0109bfe8()
    fs2_open_3_6_9.exe 0109c204()
    fs2_open_3_6_9.exe 0109c420()
    fs2_open_3_6_9.exe 0111f1c0()
------------------------------------------------------------------

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Dockpoints on bottom?
Did you also make a path for the docking point?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Dockpoints on bottom?
Easiest thing to do is to import the dock points and paths from another ship, then move them to the desired position.

And there are a couple ships that have their dockpoints on the bottom; the Anubis, for example.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Dockpoints on bottom?
The Boanerges has it on the bottom too if you don't have FSPort.
(´・ω・`)
=============================================================

 
Re: Dockpoints on bottom?
Did you also make a path for the docking point?

      Uh, I dunno. I just put the point and a normal. I'll try just pulling some from another ship I guess as they said. Seems simple enough. I didn't fill in all the boxes because I didn't know what they were all for. Guess I should've filled them in :)

 
Re: Modelling Questions (was Dockpoints on Bottom)
I got some more questions, this time just with regards to modelling. Rather than start a new thread just modified this older one.


1. Is there a way to resize a ship other than to take it back into Truespace and do it there? Can I resize it with PCS2? I have a model, I got some cool textures for it but its too big. I want the model about 33% smaller. I seemed to have deleted all my .cobs so I used PCS1 to convert the pof to a cob and then resized it in TS3.2 (ICK!!!!) and then brought it back in, but then the center point is like 10 metres above the ship and the hull smoothing is gone (I guess the texture guy did it, because I don't think I did that). All in all TS3.2 is a huge pain in the ass. But you know if I have to create more LODs and Debris and bring them into TS3.2 and resize them all then that'll be a pain. I hear the Collada support is forthcoming, but not sure what stage it's at. I'm guessing it's not finished because no one's asked me to pony up the cash I pledged for that endeavour.

2. If I had the LOD0, and a texture to go with it. And then I go on to create LOD1+ and the debris, can I somehow use that same texture map for the other LODs?? Or does a person need to create another one for the less detailed??


        Think that's it for now. Thanks

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Modelling Questions (was Dockpoints on Bottom)
In my limited understanding (and never use lods) why don't you just use the existing model textured and reduce polys (either in TS or milkshake?)  :D
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Re: Modelling Questions (was Dockpoints on Bottom)
1) Well firstly, use PCS2 for that conversion from POF to COB because PCS2 will export it in a format that should be directly reconvertable, though I've not thoroughly tested that myself.

Secondly, the collada DAE support (link in Spicious's sig) works almost 100% with blender (I totally forgot about insignia again :\ ), so another alternative is to import the output DAE and resize the lot there before resaving and reconverting. AFAIK you'll lose MOI, subobject rotations and the turrets in the PCS2 turret tab, but everything else should convert and scale correctly. :)

2) Yes - you should always use the same LOD0 texture map on LODs and if possible/practical debris as well, because it's much more efficient for the rendering engine.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 
Re: Modelling Questions (was Dockpoints on Bottom)
In my limited understanding (and never use lods) why don't you just use the existing model textured and reduce polys (either in TS or milkshake?)  :D

     TS is a serious pain in the butt. I can't even figure out how to do a percentage-based re-scale. Like can a person say "50% smaller" or do they have to eyeball it with the normal scale function? Using that program is like sticking glass shards up my nose.
      But yeah, I haven't really tried to create the lesser LODs yet. Have to find my thread from a few months ago where I asked about that. I think there is something in maya for scaling up and down detail (or subdivisions), but not sure if it works on complex objects.

1) Well firstly, use PCS2 for that conversion from POF to COB because PCS2 will export it in a format that should be directly reconvertable, though I've not thoroughly tested that myself.

Secondly, the collada DAE support (link in Spicious's sig) works almost 100% with blender (I totally forgot about insignia again :\ ), so another alternative is to import the output DAE and resize the lot there before resaving and reconverting. AFAIK you'll lose MOI, subobject rotations and the turrets in the PCS2 turret tab, but everything else should convert and scale correctly. :)

2) Yes - you should always use the same LOD0 texture map on LODs and if possible/practical debris as well, because it's much more efficient for the rendering engine.

        Does the Collada support work with Maya as well yet? Or just Blender? I've never used nor downloaded blender. The model in question is just a fighter, so the only thing I'm worried about loosing is the smoothing effect. Though the texture guy can probably tell me how he did it, or I can figure it out for myself. There's no turrets or sub-objects to speak of.

        But yeah, same texture map sounds good. Anything involving LESS work is good. 

 
Re: Modelling Questions (was Dockpoints on Bottom)
to scale by % yank out the old calc.exe and get the object size values in X Y Z and multiply them by .5 to get their sizes at 50% reduced scale... best way ive found to do it, but also, in pcs theres a cob to pof scale setting you can use

 
Re: Modelling Questions (was Dockpoints on Bottom)
       Well, seems I can get it out of maya now with the Collada thing so resizing isn't an issue anymore. Yay.

 
Re: Modelling Questions (was Dockpoints on Bottom)
       Can someone tell me what's wrong with the dock points on this damn thing? (see attachment)

       I can't open it in PCS2, because when I look at the dock points it crashes. But anyway. What I did was take the dockpoints off a Horus and throw them on my fighter, repositioned as appropriate. But when I try to load my mission in FSOpen it either crashes during loading, or when I start playing it'll crash when I call in a support ship (specifically when it arrives). Complaining that it can't find a dockpath. I don't know what's wrong with it. If I take a dock off one fighter and throw it on my own, logically it should work unless something got screwed up in the process. The dock point shows up in Modelview so not sure where the problem is.

[attachment deleted by ninja]

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Modelling Questions (was Dockpoints on Bottom)
If it says the dock lacks a path did you define a path (no i dont mean only the dockpoints) for it as well or not?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Re: Modelling Questions (was Dockpoints on Bottom)
Well firstly you appear to have 3 dockpoints on it there - two appearing in the correct location and with the correct rotation but the first one (the most important one) being in the centre of the model pointing up.

Secondly you need to add something like "$name=Docking Point" or rearming dock to the docking point properties, and specify a path number for it.

Thirdly you need to add a path to the dockpoint for ships to approach and leave by. The path should have 4 points, starting with the one furthest away (say, 500m in this case) and ending with one that's just next to the final dockpoint. Their radii should decrease from about 1000 to 1 in the same way. Finally there you probably need to add "$dock01-01" to the properties of that path, though I think it's more reliant on the docking point specifying the correct path number than getting the name right here.

If you can, you should be able to just hit 'Auto-Gen' and have PCS2 come up with pretty good paths for you. :)
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 
Re: Modelling Questions (was Dockpoints on Bottom)
If it says the dock lacks a path did you define a path (no i dont mean only the dockpoints) for it as well or not?

      Yeah there was four "paths", which were present when I grabbed the docking info off the Horus. I adjusted them when I adjusted docking01_01 and docking01_02


Well firstly you appear to have 3 dockpoints on it there - two appearing in the correct location and with the correct rotation but the first one (the most important one) being in the centre of the model pointing up.

     Hmmn, I thought I just grabbed something off the Horus but evidently doesn't work.
     So . . . how many dock points do I need? Most fighters seem to have two. I don't get why. Apparently I've somehow given it three? So is one for rearming, one for normal docking by transports, and one for the fighter docking other craft??? or what?
     Should the dock points be inside the fighter or just outside? I would assume slightly inside so there's no gap between the rearming craft and the fightercraft.

Quote
If you can, you should be able to just hit 'Auto-Gen' and have PCS2 come up with pretty good paths for you. :)

     Hmmn, I still lack a proper video card so I imagine it'll crash on me. Unless I can do it without having it displayed onscreen. But I can try to mess around in Maya since the Collada thing works pretty well. Like in maya there's uh . . . the docking node. And has like:

>docking01 (node)
>>helper (node)
>>>rearming_dock (loc)
>>path (node)
>>>dockingpath_01 (loc)
>>>dockingpath_02 (loc)
>>>dockingpath_03 (loc)
>>>dockingpath_04 (loc)
>>docking01_01 (loc)
>>docking01_02 (loc)


       Not sure if that's quite correct, as I'm not at work and don't got my stuff here. But originally it was the "rearming_dock" type of thing, which is a locator not a node which confused me. I think I exported three different fighters (Anubis, Horus, Tauvri) and each of them had completely different names for that. So that first locator, is the actual docking point? For rearming that is?? Hopefully I can get away with naming it properly in Maya and not having to fiddle with it in PCS2. (since Modelview doesnt edit docking, and not sure about PCS1). I need to get a better video card :D


 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Modelling Questions (was Dockpoints on Bottom)
You need two dock points for every dock, right next to each other, because that tells the docker what position to attach to the dockee. Think of the docking connector being a figure 8 and not a O, where each circle is one dockpoint. Again, the best thing to do is look at models that are already functional.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 
Re: Modelling Questions (was Dockpoints on Bottom)
You need two dock points for every dock, right next to each other, because that tells the docker what position to attach to the dockee. Think of the docking connector being a figure 8 and not a O, where each circle is one dockpoint. Again, the best thing to do is look at models that are already functional.

      Okay, so . . .there shouldn't be a third docking point then?? Not that I'm even sure how I have one since I only have docking01_01 and docking01_02