Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Pahkwa-thanh on March 23, 2012, 12:05:10 pm
-
i want to add a new fighter i downloaded from hardlight to an already existing campaign and make it flyable, but i have no idea how to do so... is there a tutorial anyhwere out there to read that up?
-
http://www.hard-light.net/wiki/index.php/Ships_and_General_Mod_Creation
-
the tutorial... didn't help :(
i got the example working like in the tutorial, that shivan cruiser and it showed up in the techroom alright... so i thought to move to my actual goal.
i wanted to make the Aurora Fighter you can download here http://www.hard-light.net/wiki/index.php/GTF_Aurora into a mod to use in various campaigns, thanks to the method mentioned in the tutorial. but the thing is, the fighter doesn't have an XXX-shp.tbm file like the tutorial Lamia cruiser did... so i am virtual stuck on what to do now :-( i tried to take a look at the entry about .tbm files, but its way over my head. basecally, the stuff shown in the tutorial with the lamia cruiser is the extent of my knowledge and skill about modding/programming/scripting...
so... what do i now?
-
Ok give the attachment a try. It's unusual for a model to be uploaded FSMods without table info of any kind.
the tbm is taken from BP:AOA with the model file reference changed to match the one in the FSMods download, I am not guaranteeing it will be error free but i don't anticipate a problem. Hope it helps
[attachment deleted by a ninja]
-
it did help a lot :-) the fighter shows up in the tech database now which i can only assume means that it is in the game. which is a very good start! :-)
now how do i put the ship into a campaign? any campaign? let's say the vanilla Freespace 2 campaign... how do i make the fighter now selectable in the ship selection of the first mission "surrender belisarius" ?
-
You'll need to edit the campaign and mission files.
-
More specifically:
1) You need to make it available to the player at the beginning of the campaign --> that would be something to do to the campaign file (I can't help you more than that as I never fiddled with the campaign file myself)
2) You need make it available for the current mission, which means editing any mission you want it to appear in, go to the team loadout editor and make it available there
Now, if you want to mod the main campaign, whatever happens, don't modify the original .vp files, extract what is in them using Maja (http://www.hard-light.net/wiki/index.php/Maja_Express) or some other tool, export the files into your mod folder and modify them here.
And you might want to extract the missions present in the mediavps_3612 over the original mission files.
(If I am suggesting something wrong or inaccurate, someone please correct me)
-
thank you all so much for sharing your knowledge with me :)
i got the Aurora fighter workings thanks to that new tablet file that headdie uploaded and from what you told me i was successfully able to put the playable fighter into the vanilla FS2 campaign :)
now that i know how to do it, i think i'm going to have a lot of fun to download and insert other fighters and bombers in both the vanilla and mod campaigns... thanks for the help guys. i really appreciate it :)