Author Topic: The BP2 Optional Extras thread  (Read 26955 times)

0 Members and 1 Guest are viewing this topic.

Offline niffiwan

  • 211
  • Eluder Class
Re: The BP2 Optional Extras thread
The wiki has some useful pages:

http://www.hard-light.net/wiki/index.php/Main_Page (modding section of sidebar)
http://www.hard-light.net/wiki/index.php/Portal:Modding
http://www.hard-light.net/wiki/index.php/Tables (Tables control practically everything, except some parts of models)
http://www.hard-light.net/wiki/index.php/VP (you need one of these to open the VP archive files)

Plus if you jump onto IRC, in #bp or #freespace (see links at the top of the page) someone will generally be around who can help out.
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 AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: The BP2 Optional Extras thread
Please make it compatible, BP team
That being said, the only thing needed to be done to make it compatible should just be for somebody to make a replacement table file. You might find that it's easier to do it yourself than you think it is.

I'm pretty mod-savvy from back in the day doing Source-related stuff, can you at least point me at where to start?
http://hard-light.net/wiki/index.php/Modular_Tables (pay particular attention to +nocreate)
http://hard-light.net/wiki/index.php/Ships.tbl#.24Cockpit_POF_file:

As I understand it, you just need a series of entries along these lines:
Code: [Select]
$Name: UEF Uhlan
+nocreate
$Cockpit POF file: <whatever>
for each ship, then put it into modular table named something like bp-cockpit-shp.tbm (important that it sort alphabetically before bp-shp.tbm or ships introduced in the latter won't exist when it's parsed).

But hey, that's just off the top of my head; do your own research if that doesn't work. Feel free to ask questions, either on the forums on on IRC (in addition to the channels niffiwan suggested above, you might also try #scp).
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 Aesaar

  • 210
Re: The BP2 Optional Extras thread
Or you can just add 'show ship' to the ship's flags.  That's the simplest way of doing it.

 
Re: The BP2 Optional Extras thread
Or you can just add 'show ship' to the ship's flags.  That's the simplest way of doing it.

yeah, but this way you will get glass reflections inside the cockpit.
Does anyone knows what texture is used for cockpit glass so I can nulify reflections? (replacing it with transparent texture for example?)

Cockpits or at least "showshippits" adds so much to the game... (because I use freetrack)
Apreciate your answers, gents...

 
Re: The BP2 Optional Extras thread
Steve-O's cockpits are pretty much compatible with the current build. The only thing that does not work for me is rearming/repairing. After support docks I enter a never ending spin. But apart from that no complaints...

 

Offline Logrus

  • 26
Re: The BP2 Optional Extras thread
Not only that. The mod also affects other ships. For example compare Nauticus and Pesedjet models with and without the mod.

 
Re: The BP2 Optional Extras thread
Heh. Odd. Never noticed that one before, though. Good catch.

 

Offline Logrus

  • 26
Re: The BP2 Optional Extras thread
Anyone had any luck with updating the cockpit mod?

 

Offline Logrus

  • 26
Re: The BP2 Optional Extras thread
Ok, I made some changes to the mod MetalDestroyer posted earlier. Now the cockpits appear for Uhlan, Kentauroi, Uriel and Ainsarii in BP Complete. There are now no issues with other ships' models or rearming sequence, but there is still tradeoff however:
1) No reflective canopy glass in external views for Uhlan, Kent & Uriel.
2) Kent is now back the way it was in previous BP release. This means 3D model and weapon layout.
3) If there were any changes to the other three fighters' 3D models in BPC, they are now effectively negated too.
4) Ainsarii cockpit looks a bit buggy.

Please be advised that I know nothing about FS modding and edited this mod for my personal use only as a temporary solution, until somebody makes it truly compatible with the current release. Doing so myself would require 3D modelling skills which I do not have.

Download link:
https://yadi.sk/d/C9UDtXrvqdVDP

bp_complete_cockpits.vp contains full mod with just tables edited (replaced).
bp_complete_cockpits_light.vp has effects, maps and sounds folders removed. All the same-name files of those folders are also present in main BP .vps, so replacing those may mess something else; I'm not sure. So far I did not notice any visible difference with those folders and without them.
If I am infringing any copyrights, please let me know and I'll remove the link.