Author Topic: How do I use PCS2?  (Read 2565 times)

0 Members and 1 Guest are viewing this topic.

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
Alrighty, I searched through all the related threads without finding anything useful.
I have a bunch of ships ready for the finishing touch, but I can't progress because nearly every single thing I do on PCS2 makes it crash with 'ERROR: Array out of bounds'.
Also, is there any alternative in case PCS2 simply refuses to work no matter what I do?
"I thought the Medal Display thingy was a baking tray!"

 

Offline niffiwan

  • 211
  • Eluder Class
Are you using the version linked here? (which I think is the most recent)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
Alright, so that fixed the Array thing.
But now I'm facing a new problem: I have absolutely no idea how to use it.
"I thought the Medal Display thingy was a baking tray!"

 

Offline niffiwan

  • 211
  • Eluder Class
Well.. what do you want to do? Import some models from some modeling program (which one?) & make them ready to use in FSO?
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
Yes, exactly that. Modeling program is Blender.
"I thought the Medal Display thingy was a baking tray!"

 

Offline niffiwan

  • 211
  • Eluder Class
OK, I've never done that  ;)  Maybe this wiki page will help?

http://www.hard-light.net/wiki/index.php/Blender_to_POF_Conversions

edit: or maybe this thread, probably towards the end, would also help?

http://www.hard-light.net/forums/index.php?topic=84335.0
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
I tried both things, neither worked. According to the program, it loaded the model but the model won't show up.
"I thought the Medal Display thingy was a baking tray!"

 
If you're using blender make sure your model follow naming conventions  (detail0, detail1, debris01 etc...) then export in dae format with textures and triangulate options then load the dae in pcs2 it should appear

Edit: sorry I did not see if you followed the guide posted above it's strange that it did not show up in pcs2, anyway from experience I may say that if the model is loaded but does not appear it's probably because textures applied were not exported with it during dae conversion
« Last Edit: April 29, 2017, 07:45:23 am by krevett62 »

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
YES! After making sure I exported it with the texture, it finally showed up. It shows up inside out though, but I'll probably find a way to fix it.
Anyway, thanks a bunch.

EDIT: Nope. Still haven't found out how to make the thing normal again.
« Last Edit: April 29, 2017, 01:44:07 pm by Wet Orange Ostrich Toilet »
"I thought the Medal Display thingy was a baking tray!"

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
You mean that the textures are showing up on the opposite side of whatever face they should show up on?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Axem

  • Administrator
  • 211
It sounds like you have inverted normals. Either try inverting normals or making sure you don't have a negative scale modifier applied to your model. (That last one tripped me up a lot when exporting with Blender)

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
So, none of the solutions here really worked, but, weirdly enough, what DID fix it was applying a negative scale modifier to my model, for some reason.

EDIT: I am sincerely sorry but I still have one last(?) problem: I got the texture done and all, but it refuses to show up in PCS2, and when I load the ship in FRED, it only shows the wireframe when selected.
« Last Edit: April 30, 2017, 05:33:51 am by Wet Orange Ostrich Toilet »
"I thought the Medal Display thingy was a baking tray!"

 

Offline niffiwan

  • 211
  • Eluder Class
In Options -> Preferences, check that you have the correct path to your textures set. i.e. PCS2 doesn't know about mod.ini files (or mods in general) so you need to set the location of your textures manually.  e.g. FSO_INSTALL_LOCATION/MOD/data/maps.  Ensure you have a trailing slash (/) on each path you set (I think this bug is fixed now, but in the past it's caused me much :banghead:)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
Nnnngh.....nope... that didn't work....
"I thought the Medal Display thingy was a baking tray!"

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
In the past, I seem to recall also adding a ./ path so it finds textures in the folder with the model, for any WIP models I open.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
In Options -> Preferences, check that you have the correct path to your textures set. i.e. PCS2 doesn't know about mod.ini files (or mods in general) so you need to set the location of your textures manually.  e.g. FSO_INSTALL_LOCATION/MOD/data/maps.  Ensure you have a trailing slash (/) on each path you set (I think this bug is fixed now, but in the past it's caused me much :banghead:)
At least I only have the mod directories in the paths, not mod/data/maps directories.

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
I slapped every single directory on it, still nothing showing up.
Is PCS2 the only program I can use for clearing that last remaining step or am I essentially f***** right now?
"I thought the Medal Display thingy was a baking tray!"

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Where are the texture files, exactly, and what format are they in?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Wet Orange Ostrich Toilet

  • 26
  • Worst Modder HLP has ever seen
    • Skype
    • Steam
Where are the texture files, exactly, and what format are they in?
In a folder called "maps" and they're in a DDS format.
"I thought the Medal Display thingy was a baking tray!"

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Where are the texture files, exactly, and what format are they in?
In a folder called "maps" and they're in a DDS format.
But where is that "maps" folder located?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.