UFO:Alien Invasion

Development => Coding => Topic started by: Vio on July 25, 2009, 06:47:14 pm

Title: New Campaign Intro Sequence
Post by: Vio on July 25, 2009, 06:47:14 pm
I was never quite liked the broad, neon-on-black scrolling text intro to the campaign. While the text is well-written, it was not nice to the eyes, and the scrolling looked jumpy on my system.
So when someone mentioned that the .UFO files are easy-to-understand scripts, I gave it a try and made my own.

It's a first attempt, using only media from the game, and I haven't found any way to keep the text from stretching to the sides of the screen.
(Does anybody know how "enlarge" works?)

Still, I think it is quite an improvement. Just replace the ufos/seq_intro.ufo from the ufos.pk3 with this one.
Title: Re: New Campaign Intro Sequence
Post by: Kildor on July 25, 2009, 07:06:02 pm
I like it. Very nice and only one notice — about phalanx badge, it should be bigger.
Title: Re: New Campaign Intro Sequence
Post by: Vio on July 25, 2009, 07:31:03 pm
I know. But the bigger version is a .tga and apparently only .jpg works.

It's more like a placeholder at the moment.
Title: Re: New Campaign Intro Sequence
Post by: Mattn on July 25, 2009, 08:51:30 pm
i like it - much better than the old one - i've commited this to trunk - so please let future work base on the trunk script
Title: Re: New Campaign Intro Sequence
Post by: Mattn on July 26, 2009, 12:09:09 am
I know. But the bigger version is a .tga and apparently only .jpg works.

It's more like a placeholder at the moment.

tga should work, too - what exactly is the problem? tell me more and i will try to fix it
Title: Re: New Campaign Intro Sequence
Post by: Vio on July 26, 2009, 02:12:10 am
Scratch that... looks like it was just a typo.

I had another look at it, and now have an updated version with a nicer ending.
Besides, I found out a few more things that allowed me to clean up the code, tested it with other languages and tweaked some timings.

So here it is. Enjoy.
Title: Re: New Campaign Intro Sequence
Post by: Mattn on July 26, 2009, 09:04:56 am
thanks - commited it to trunk, too
Title: Re: New Campaign Intro Sequence
Post by: MXcom on July 27, 2009, 06:29:58 pm
I really like the new sequence, much better than the old one ;)

Only one remark:
When the text about the Mumbai incident appeared, a cross also appears where Mumbai is. That worked really well. (in fact it's awesome because it creates a nice connection to the game itself, where crosses appear on locations of alien attacks)
However, when the text goes on about three other cities being attacked (Bonn, Johannisburg and forgot the third), their crosses are not that effective because they're kinda hidden inbetween the text.

I know it's probably not that easy, but if you could somehow rearrange it so that these crosses are better visible...
Title: Re: New Campaign Intro Sequence
Post by: Vio on July 27, 2009, 09:42:13 pm
Actually, because those crosses appear later, they are above the text. It took me some tweaking to make them appear between the lines. ;)

They are less prominent, but that is deliberate. They also last not as long as the Mumbai one, because they are meant to be an "etc. etc." background thing.

If you have an idea how to improve the sequence, go ahead - it's still open, and the code is easy. But I agree that it is probably not so simple. Especially because whatever you do, it also has to work with all the translations.
Title: Re: New Campaign Intro Sequence
Post by: Mattn on August 04, 2009, 11:14:30 pm
it would be absolutely cool if you could do the same for the tutorials, too

maybe even adding new ones for our new players.
Title: Re: New Campaign Intro Sequence
Post by: Vio on August 16, 2009, 06:20:31 pm
I'll see what I can do. It certainly is an important step towards user friendliness.

Just little time right now.
And I have to learn how to create and implement text. - So far I used the strings already in the script.
Title: Re: New Campaign Intro Sequence
Post by: odie on August 25, 2009, 11:07:44 am
I'll see what I can do. It certainly is an important step towards user friendliness.

Just little time right now.
And I have to learn how to create and implement text. - So far I used the strings already in the script.

Hehe Vio,

I am already jumping around excitedly (See my dp? Yup. Lol) for your nx tutorial stuff.... hehe. I know nothing can be made so quickly, but once its out, let me know ok? :D

I wanna test it and see how intuitive it is. :D