Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Molaris on May 12, 2011, 08:29:35 pm
-
how do you upload ships from the other mods or player-created ships? i REALLY wanna see what the amaretsu is like in combat (looks like a BEAST) but dunno how to get it as a selectable ship in FRED. Anyone know? gracias!
-
Is there a basic tutorial for adding ships and making mod folders? If not, I might write one now that I have free time.
The Amaterasu should come with a ships tbm, a file called filename-shp.tbm. You'll need to make a new mod folder, put this tbm in the /data/tables/ subfolder of your mod folder, put the model (the filename.pof) in the /data/models/ subfolder, all the textures in the /data/maps/ subfolder, and any effects like laser blasts or explosions in the /data/effects/ subfolder. The mod folder will also need a mod.ini that points to your MediaVPs folder in the secondarylist; look at other mod.ini files to see how they do this.
After that, select your mod in the launcher and run FRED. If all went well, you can place the ship in a mission and shoot at it in FS.
-
in the modding -> tutorials section of the wiki
http://www.hard-light.net/wiki/index.php/Ships_and_General_Mod_Creation
everything you should need to know about adding ships, weapons and starting out in modding is there.
I strongly advise you don't stop with the article, and read get familiar with the modding section as a whole. From this and your other posts I would recommend getting familiar with table/tbm files, especially ships.tbl and weapons.tbl then you can move on from there but i suspect they will be the core of what you need. as a rule of thumb the order the entries appear in the wiki articles is the order they need to appear in the table though you dont need everything.
-
the guide says to just make a new folder under C:\Games\FreeSpace2. is that true? or do I put all the data into the Mediavps folder?!?
-
C:\Games\Freespace\<your mod>
Select <your mod> in the launcher, hit apply, and open FRED, the ships should be there.
-
well, it's in FRED, but it won't run. I'm selecting the mod (New Ship) made the .ini (pretty much copied one and just put in the path for the secondary like you said). hmm, I'm gonna do more research. it's just sometimes hard to find what you're looking for in the forum :-\
-
That tutorial is... comprehensive, but over complex, I think. Something like this gets asked pretty often, maybe an even more basic tut is in order.
-
It was also badly written at the time.
Molaris: What doesn't run? Post a fs2_open.log by running a debug build. If you want your questions answered faster, pop in Hard Light's IRC. Post your mod.ini as well, and make sure your mod.ini isn't mod.ini.txt.
EDIT: Fixed the Wiki a bit.
-
It was also badly written.
Please leave your comments about the tutorial here (http://www.hard-light.net/forums/index.php?topic=75959.0) and I will see to it
-
I kinda went on to edit the article myself. Proofread and made it more legible. The article is mostly the same otherwise. The content wasn't bad.
-
Fair enough :D
-
It's still a pretty complicated process.. though I don't know if it's possible make it any simpler..
-
sry it takes me forever to respond. I forget I post. not use to being part of a forum / gaming community.
anyway, the ship won't load in the game. It changes to a Ulysses fighter. I'm gonna go post about it asap. just ran the Debug. here are my results and mod.ini file
http://www.hard-light.net/forums/index.php?topic=76734.0
-
Time for threadnecro...
Why in god's name, do some ships appear in Fred, while others don't?^^
Current example...the Petbe...added the .pof to the models folder of the current active mod...but it won't show up-.-
-
table?
-
table?
Quoted for truth.
-
The downloadlink of the wiki just provides the .pof...
So?^^
-
So you need to write a tbl for it.
-
Oh...well...guess there a first time for anything...damn...
-
just copy and paste a table of a similar ship, then change the fields necessary.
such as the model file, the LOD details, and the turret->weapon assignment.
and then you can tweak its stats as necessary.
tabling is a fairly trivial matter, most of the tags are self-explanatory, though there are a few "uesless" ones >.>
-
Yeah I did exactly that...copy and pasted the Sobek...changed it...but nothing happend-.-
Look for yourself:
Fixed and working, althuogh it doesn't look quite as pretty as in the wiki, for example, the turrets are somehow...invisible^^
-
****-shp.tbm files need to begin #ship classes and have #end at the ummmm end ;)
-
Yeah, I simply copied the Sobeks tbm file from the root vp, I changed that^^
As I said, now it works, but you can't see the turrets, sure, you can target them by pressing "k"...but thats not the best thing.
Any ideas?
-
the turrets are textured and the faces/normals are not inverted?
-
Looking at the picture here:
(http://www.hard-light.net/wiki/images/GVCvPetbe.PNG)
Yes...but the modell I have...well, they are not visible...
Could this have something to do with the tbm?
-
You need to open the model in PCS2, count the number and names of turrets, and make sure to add just as many entries to the table entry. Say a ship has 5 turrets, and you currently have only 2 turrets tabled, the other 3 will 'not exist'.
Make sure to do the same for things like engines, fighterbays.
Then, test using the Debug build in FRED2 and FS2 and test if you still find any errors.
-
I have the number of turrets from the wiki, there's a veterans comment, that there's no table file included, but the loadout is the intended.
So I have the exact number of turrets and no PCS2(whats that anyway?^^)
Edit:So, heres my working .tbl-file, but why does the description of the Sobek appears in the techroom?^^
Edit2: So, I know it has something to do with the number after the description...
How do I find out, which numbers aren't already taken?
Edit3: Got it, -1 at the end of the tech description and it works just fine.:)
[attachment deleted by ninja]
-
You need the turret textures.
Get them here.
The wiki should really link to the thread...
http://www.hard-light.net/forums/index.php?topic=68802.0
You probably want to get PCS2, so you can open the POF, go to the "turrets" section, and figure which number is which. (ie. Turret01 is a forward beam turret so I'll put a VSlash there).
Your current -tbm has AAAfs on the multipart turrets, whereas from the looks of it you want flak guns there. :P (They're Turret03 and Turret04)
-
Thanks for your help Droid, with PCS2 I have the turrets no properly set.
Problem is my Pharaoh tbm.
I pasted that of the Hatshepsut and using PCS2 ordered the turrets the right way, thats what I'm hoping at least.
But the beauty won't appear, so heres the file:
[attachment deleted by ninja]
-
-tbm not -tbl maybe?
Other than that you could always try starting up FRED debug with your mod selected. It should tell you about any table errors you make :)
-
Oh my god-.-
I think a truck just rammed myself-.-
You are absolutly right^^
Damn it and thanks again^^
-
no problem :)
-
The wiki should really link to the thread...
Then go change it yourself!