Author Topic: [Progress Update] In The Beginning  (Read 6852 times)

0 Members and 1 Guest are viewing this topic.

Offline Trivial Psychic

  • 212
  • Snoop Junkie
[Progress Update] In The Beginning
If anyone has been following my posts here and there, you may be aware that I've been in the process of updating Den5's classic pre-3.3 release (and possibly pre-3.0) of his campaign loosely based on the B5 telefilm "In The Beginning".  I've attempted this twice before over the past couple of decades, but something has always pulled me away from the project (and often FS in general).  Fortunately, I kept my work, copying everything as I've upgraded and replaced my PC over the years.  I am now much closer to getting this ready than I've ever been before.

For those of you not aware, ITB is 37 missions long, so it's quite the job, and is QUITE old.  It appears that Den5 originally created the campaign in Russian, as some audio clips from the movie (and a few other sources) are in Russian, and when I first started working with it, I found it quite difficult to interpret what was going on, as it appears that the original dialogue (not the voice-acted stuff from the film) was done in Russian, then translated (poorly) into English via a translation program, which was... as I said, difficult to interpret.  I had to look at what the events themselves did, to figure out what was supposed to be going on.

I've replaced some of Den5's stand-in models with newer ones, changed his dialogue to sound better in English, added a CONSIDERABLE amount of mission chatter, along with a number of other changes and upgrades.

Right now, I'm experimenting with adjusting vessel warping to look more like it does in the show, where ships can all appear to use the same warp vortex.  I've figured out a method (that is still being refined) to accomplish this.  For example, if a number of transports are about to jump out through a jumpgate, you need to first create a sexp-generated warp effect, big enough to fit the jumpgate.  Then you need to adjust the custom warpout parameters for the transports.  Give them a warpout speed of about 500, change the effect size to 0.01, and change the sounds to "0" for both start and finish.  If the ships are either larger or widely separated, you also need to add a waypoint at the far end of the gate and have them change course towards it just prior to the jump.  Otherwise they'll appear to emerge out the sides of the warp cone.  Just make sure that you include enough time for each ship to jump out, one after the other, otherwise they'll run into each other.  About a second or two would do.

My very latest efforts concern fighters and warships, trying to get them to appear to arrive all through the same warp vortex, at the same time, at the same speed.  I've experimented with a wing of fighters and a Hyperion.  I got best results by giving the Hyperion a warping speed of 300m/s, and expanding the effect to 1000m.  Tuck the fighter wings in fairly close to the hull... but not too close, have their arrival about a second after the Hyperion arrives, give them an arrival speed of 750m/s, an effect size of 0.01m, sounds of 0, and most important of all, give the fighters "play dead" initial orders.  If you don't, they'll curl around immediately upon arrival, even if you give the fighter no AI class.  You need to give about 5 seconds or so for the ship to decelerate before clearing the play-dead order though.

I have yet to string the missions back into a campaign to test out how well they work with each other.  My final set of changes will likely involve replacing the content included from the movie.  I'd like to get the audio files replaced, perhaps with some help get some new head anis, and maybe even some new CB anis, and cut-scenes.  Most of the 'perhaps' ones will involve either a learning curve on my part, some assistance, or both.

I'll try to keep you updated further.
The Trivial Psychic Strikes Again!

 

Offline wesp5

  • 29
Re: [Progress Update] In The Beginning
That sounds cool! But I am surprised that there shouldn't be a single mission in TBP where multiple ships come through a jump point...

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: [Progress Update] In The Beginning
Right now, I'm experimenting with adjusting vessel warping to look more like it does in the show, where ships can all appear to use the same warp vortex. 

That sounds really interesting. I am looking forward to the results.

To the resolve collision issues, you might want to try using collision groups for the arrival sequence. That way you can make the arriving ships unable to collide against each other (tl;dr ships that are currently in the same collision group do not perform collision checks with each other, so they treat each other like they are not there; ships can be added or removed from collision groups at will via SEXP).

Before my current engagement, I was experimenting with the using the ship-lat-maneuver to just give ships pushes for departure. I did not work on arrivals.

That sounds cool! But I am surprised that there shouldn't be a single mission in TBP where multiple ships come through a jump point...

Well, there are but until recently there was no fine tuning of the warp-in/warp-out that allowed to fake the accleration into/out of a jump point, so you will have a primary ship actually warping in/out and the other ships just pop-in/-out.
« Last Edit: March 19, 2022, 02:50:59 pm by 0rph3u5 »
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline wesp5

  • 29
Re: [Progress Update] In The Beginning
Well, there are but until recently there was no fine tuning of the warp-in/warp-out that allowed to fake the accleration into/out of a jump point, so you will have a primary ship actually warping in/out and the other ships just pop-in/-out.

So would this mean we would need to fix all missions with multiple ships coming out of a jump point to get this right now?

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: [Progress Update] In The Beginning
Well, there are but until recently there was no fine tuning of the warp-in/warp-out that allowed to fake the accleration into/out of a jump point, so you will have a primary ship actually warping in/out and the other ships just pop-in/-out.

So would this mean we would need to fix all missions with multiple ships coming out of a jump point to get this right now?

Not at all. If done right, the illusion is serviceable. If there is sufficent distance between the jump point and any possible position of the player, it will work.

And preserving these old slight-of-hand techniques has some value in itself.
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
The more difficult part is trying to get fighters to warp OUT with a warship.  You need an event to get all of the fighters to close in on the ship, when they get close enough you clear their goals, tell them to head for a waypoint that the warship is going towards, or at least aiming at.  If the warship is stationary, you then need to clear goals again and give it a play-dead order.  Once all of the fighters are in place, then you trigger the jump of the warship, followed by that for the fighters, with the 0.01 size, silence the sounds, and give it the 750m/s or so warpout speed.  I'd also suggest increasing the warship's warp side to 1000m.  It the warship is in motion, you need to cap the fighters' speeds to match the warship.  I haven't tried out the stationary warp yet, but that's what I've deduced.  Doing this in combat however would be a nightmare, as the fighters can't do evasive maneuvers while playing dead.  A warship could lose its entire fighter complement while waiting for them to all get in position.

In regards to collision groups, I have no idea how to use that sexp.  If it was simply flagging the ship as having no collisions, it would be much easier, but aside from these collision-group sexps, the only ones you can change in-mission are the no-collide-invisible ones.
The Trivial Psychic Strikes Again!

 

Offline wesp5

  • 29
Re: [Progress Update] In The Beginning
The more difficult part is trying to get fighters to warp OUT with a warship.

Gladly, most of the times this is not needed as the player has to destroy all fighters :)!

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: [Progress Update] In The Beginning
In regards to collision groups, I have no idea how to use that sexp.  If it was simply flagging the ship as having no collisions, it would be much easier, but aside from these collision-group sexps, the only ones you can change in-mission are the no-collide-invisible ones.

If you want to disable all collisions, you need to use the alter-ship-flag SEXP and use it turn "collides" from "true" to "false" (except when you ship already is no-collidable, which can be set in the Ships Editor) or vice versa.

But collision groups are more selective and so less prone to undesirable outcomes - as ships in a collision group still collide with everything that is not in that collision group.
There are two sets of "add" and "remove" which do the same thing only the way how you input the data is different (1 ship, multiple groups <> 1 group, multiple ships).
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
This is most perplexing.  I created a test mission to experiment with speeds for warping fighters, and when I found the right balance, I introduced it into existing missions, however it seems that in existing missions, they ignore my changes.  Regardless of my adjustments, they all act as though they've been given a simple no-warp-effect command, and arrive at a zero velocity.  I've tried a number of different things to see if it makes a difference, but to no avail.  It is as though there is a phantom mission code that is existing behind the text of the mission file, and it is overriding what the text says.  I'm gonna try to add new wings to the mission and see if they make any difference.  This is QUITE the annoying bug.

I've got another mission where I've got a transport departing through a warp effect, and regardless of my changes, it always generates a regular warp cone for it, even though I've shrunk it down to 0.01m in size.  I thought that perhaps the presence of the cargo pod docked to it might be having an effect, and so gave the cargo pod a 0.01m warp size, regardless of the fact that since it's docked, it has no departure.  It didn't make any difference.

For anyone who wants to know, I've been working with RC4.

 :mad:
The Trivial Psychic Strikes Again!

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
Well, first thing I've learned is that adding a docked object to something will override your custom warp effect size.  I've opened an issue on GitHub, and Goober is looking into it.

The second thing I've learned, is that trying to adjust warping effects on fighters from older missions leads to it ignoring your custom warping speed parameters.  I'm in the process of manually adding new wings to the missions, giving them the desired warp parameters, deleting the old wings, and then renaming the new ones to match the old ones.  I tried doing some of this via text, but it didn't work, so it has to be done one step at a time.  Make first change, test, stop.  Make second change, test, stop.  Make third change, etc.  In the mission I'm working currently, the fighters don't warp in until you've gone through about 8min of mission time, so its quite tedious.  Once I'm sure my method works properly, I can afford to be a bit less cautious, but it will still slow me down.

As an update to my update, I've been able to get my fighter wings to perform my high-speed warp exit properly, as expected, by replacing every affected wing with a newly-created one.  I am getting confident enough in my process that I believe I can do all of the changes for a mission at once, rather than make a change, test and confirm, make another change, test and confirm, etc.  The process should go quicker and smoother now.

Another update to my updated update.  I was having trouble getting some Minbari fighters to warp in side-by-side with their mothership, even AFTER replacing them with new fighters.  I eventually tried out a new trick, after doing a bit of testing outside the mission.  I've found that you can boost a ship's warping speed (either in or out) by adjusting the time factor.  The lower the number, the quicker it will move.  I gave the fighters a time of 0.02, and also reduced the cruiser's warping speed to 300m/s, and it worked out.  Just a new trick in the book.
« Last Edit: March 27, 2022, 12:06:04 pm by Trivial Psychic »
The Trivial Psychic Strikes Again!

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
More updates.  I've been through the entire thing, and aside from some further tweaks here and there, I've pretty much got all of the ships I need performing jump speed the way I want them.  I have found however, that invoking the time factor adjustment trick only seems necessary when dealing with Minbari for some reason.

Anyway, yesterday and part of this morning, I went on a ripping spree.  With a couple of pieces of software, I extracted and cut all of the voice files from the movie, and a couple of other sources, that are necessary to play the campaign with the English audio instead of the Russian that was included.  I haven't tested all of the missions with the new English audio though, so I may have to adjust the gain (volume) or re-cut them if it doesn't fit well enough.
The Trivial Psychic Strikes Again!

 

Offline den5

  • 27
Re: [Progress Update] In The Beginning
Wow cool! After so many years, you are still working on it :yes:

Since we now have custom warp parameters, how relevant is this feature and can be enable it?

https://wiki.hard-light.net/index.php/Feature_Requests#Warping_Without_Vortex

Also for more illusion one could add a couple of additional parameters to the custom warp:

Warping time effect
Warping ship deceleration/acceleration

If I'm right it should be something like this
https://drive.google.com/file/d/1BIVngdJUGhyWUNyEE75idaNPCyoH6IeT/view?usp=sharing

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
The accel/decel controls are only enabled with certain non-TBP warp effects.  What I've been doing is forcing a 0.1 warp size for anything that I don't want to generate an effect, and change the warp start and close sounds to zero.  The accel/decel speed is best controlled right now by combining warping speed and warping time.  Most of the time I just need to use warp speed, but for some reason Minbari fighters give me trouble when warping along with a war cruiser, so I sometimes have to set the time parameter to 0.2 or 0.1.

My latest efforts are involving attempts to secure more head anis.  I've found a piece of software that works for me to extract the video segments that I want, and I've secured a pledge of support from mjn.mixael to convert them to anis properly.  I went through the film to get a bunch, and I'm currently making a pass through the main series to find anything useful, but I've gone a bit overboard on that.  I'm mainly looking for more EA pilot heads, and people that can work as bridge officers.  Once I'm satisfied that I have everything I need, I'll sort through them for the best ones and then send them on to mjn for conversion.

I'm also considering creating names for the various pilots flying with you.  As the campaign creator, I'd appreciate any ideas you have on that.  PM me if you're interested.
The Trivial Psychic Strikes Again!

 

Offline wesp5

  • 29
Re: [Progress Update] In The Beginning
Regarding animations, take a look at Mag's Star Fury Missions. He converted a lot of German TV scenes which you can see because the logo is there ;)! Also I would guess a warp in effect at full speed but without the jump point vortex would look like ships jumping in from Star Wars, would it not?

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
I haven't tested out non-TBP warp effects, but what I've created works well for me.
The Trivial Psychic Strikes Again!

 

Offline den5

  • 27
Re: [Progress Update] In The Beginning
The accel/decel controls are only enabled with certain non-TBP warp effects.
Yes I know. This is a question for coders, but it seems not in this thread.

Quote
My latest efforts are involving attempts to secure more head anis.
Zathras contains a Revan.vp file with new head anis. You may find something suitable.

Quote
I'm also considering creating names for the various pilots flying with you.
Sounds logical since you added more chatter. But I'll leave pilots name up to you. I'm not good at names maker, sorry.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
Quote
My latest efforts are involving attempts to secure more head anis.
Zathras contains a Revan.vp file with new head anis. You may find something suitable.
All of the head anis from Revan are in the current TBP release, though they've been changed to a new naming standard.  Also, some of the ones included don't quite match my needs.  The messages seem to want to wait until the ani has finished playing before going on to the next message, and if the message is short but the ani is longer, then messages that are supposed to happen in rapid succession are spaced out more, and timing for events will be out of sync.  There are also instances when the included ani shows someone calmly saying something, when the message content should be shouting, so I need something that matches.  I'm being QUITE thorough, going through each episode one by one to look for good candidates.  I'm nearly through Season 4, but even after finishing Season 5, that still leaves 3rd Space, ACTA, ROS, and Crusade.  Some of them have already come from these sources, but I'd like to make my own pass through to be sure.  I'm mostly looking for EA pilots and EA officers.

I'm also considering custom mission loading screens, ship nameplates, and perhaps even some simple anis for command briefings.
The Trivial Psychic Strikes Again!

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
Thanks to considerable assistance and patience from mjn.mixael, I now have a significant boost to the number of Head ANIs available to me, though I may have to attempt a do-over on some of them, as they are under low lighting and so are very dark and have few details.  I'm gonna try to boost the contrast on the images and see if mjn.mixael will reconvert them for me.  For the moment however, I'm going through mission by mission and taking advantage of my new heads.  I'm also working on the character names and adding some interaction to make them feel like real people.

Thanks to some direction from Orph3u5, I've also succeeded in making my first custom loading screen.  The biggest challenge will be deciding on what image to display for the missions.

I also used some of the guides I found in the old Zathras packs to create my first custom nameplate.  It's a pity though, that TBP ships don't have the same nameplate style as FS2, which would make things much easier, but that would require an active modding team for TBP, as opposed to an individual making their own mod.  Anyway, my first attempt was more success through fortune rather than skill, making an attempt to make accompanying glow and shinemaps very difficult using my method.  I'll need to give it some more effort when I can spare the time.

I am considering inserting an in-game cutscene in place of the command briefing Den5 used.

I've still got a long way to go.
The Trivial Psychic Strikes Again!

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: [Progress Update] In The Beginning
The biggest challenge will be deciding on what image to display for the missions.

That is part of the beauty of Axem's script - you don't need to narrow it down to one, you can just tell the script to randomly pick one from a selection. :)

And since you don't need to crop screenshots down to the old UI resolutions and aspect ration (you just enter a base resolution into the script's table), you can use screenshots straight from the game, which you only have to process if you are also using the option to display text.
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: [Progress Update] In The Beginning
I saw that, I mean deciding which images to create that best set the stage for each mission.
The Trivial Psychic Strikes Again!