Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: --Steve-O-- on June 27, 2014, 04:12:55 pm
-
just gave 3.7.2 rc3 a test drive...here's the glitch. external primary and secondary models do not show while in cockpit view (using "show ship" tbl flag) and sub-object animations do not play in cockpit view (show ship again). the animations and external weapons show in external view however. the updated Saracen was the test vehicle for this, the bomb bay doors and primary mounts above them are the most visible. did something change in ships.tbl/tbm and weapons.tbl/tbm that i need to update or is this something related to the engine itself?
-
Did this ever work? I just looked at the code and neither animations or external weapon models are or were ever drawn.
-
Uhhh
External weapon models are drawn. I mean, we use them a lot in BP.
-
Are they drawn when you are in the cockpit and the ship has the "show ship" flag? At least that's how I understood the initial question.
-
Ah, right. No, they aren't.
-
Well, it's a bug then, and a pretty bad one. They certainly used to show when in cockpit. Especially visible on Jackal/Kentauroi.
-
show ship was deprecated even when i was still making stuff. i only used it (initially to see guns, which didnt work in the cockpit models at the time) to allow scripting interfaces to model subobjects so i could do all those cockpit goodies i added with scripting, texture replacement, rtt, cockpit submodel animation, the works (some of which were depricated by swifty's cockpit code). even before that most of the coders were good and ready to pull support for the show ship flag around the time cockpit models were implemented. i remember protesting that.
-
Show Ship is the only way you could see external guns and animations, which is why I'm not that fond of cockpit models. There should be a way to allow animations to play and weapons to show on a cockpit model.
-
thats the obvious solution.
i think it was supposed to implemented so that if a subobject had a name similar to one on the ship model, its local animations would be copied over to the cockpit model. i dont know if it was ever implemented though.
i found the post about it (see taylor's reply to my post):
http://www.hard-light.net/forums/index.php?topic=50537.msg1021952#msg1021952