Author Topic: silly feature request: splash screen.  (Read 3302 times)

0 Members and 1 Guest are viewing this topic.

Offline bfobar

  • 28
silly feature request: splash screen.
I was thinking that it would be cool if the code could take the PreLoad.tga (or 2_PreLoad.tga) image that you see when the game starts up in the format of PreLoadxx.tga. Then we could make 10 or 99 or whatever preload splash screens and the code could cycle through them, showing off eyecandy.

 

Offline AqueousShadow

  • Devil
  • 28
  • Imperial Highway
Re: silly feature request: splash screen.
But then we'd end up with, "Ugh. His screenie got in but not Mine?!" :lol: Probably not worth it atm. Eh.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: silly feature request: splash screen.
But then we'd end up with, "Ugh. His screenie got in but not Mine?!" :lol: Probably not worth it atm. Eh.
...so what's to stop the complainer from putting in their own PreLoadxx.tga ?  Not to mention right now we're stuck with ONE thing to say "his screenie got in but not mine"  :p  But hey thanks, now you inspired me to change my own   :)

 

Offline bfobar

  • 28
Re: silly feature request: splash screen.
But then we'd end up with, "Ugh. His screenie got in but not Mine?!" :lol: Probably not worth it atm. Eh.
...so what's to stop the complainer from putting in their own PreLoadxx.tga ?  Not to mention right now we're stuck with ONE thing to say "his screenie got in but not mine"  :p  But hey thanks, now you inspired me to change my own   :)

I figured that the screenie packs should stay out of the media_vps. The TGA files take about 2 megs a pic, and I wouldn't want to sit through a mandatory download of that if I didn't want one. I was changing my own and had two nice screenies, and was thinking, "Darn! I want both of them!" That was where the idea came from. I think Transcend and the FSPort had their own preload pic. Cool idea there too for all mod campaigns.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: silly feature request: splash screen.
Why not just make some loading screens for all the campaigns you like that don't have them? :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: silly feature request: splash screen.
I was thinking that it would be cool if the code could take the PreLoad.tga (or 2_PreLoad.tga) image that you see when the game starts up in the format of PreLoadxx.tga. Then we could make 10 or 99 or whatever preload splash screens and the code could cycle through them, showing off eyecandy.

Code: [Select]
#Global hooks
$Splash: [
random_number = ma.getRandomNumber(0, 99)
if gr.getScreenWidth() < 1024 then
gr.drawImage("PreLoad" .. random_number, 0, 0)
else
gr.drawImage("2_PreLoad" .. random_number, 0, 0)
end
]
+Override: YES
#End
-C

 

Offline Ferret

  • 28
  • A very hungry Fiona.
Re: silly feature request: splash screen.
My god the scripting stuff is fifty shades of awesome.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: silly feature request: splash screen.
Would it be possible to gather all various scripting examples to their own 'script' library (for example into FSwiki) so that scripting noobs like me could simple go there and grap the scripts needed for some particular use without having to learn to script the whole thing?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: silly feature request: splash screen.
It's theoretically possible...
-C

 

Offline bfobar

  • 28
Re: silly feature request: splash screen.
woah.

So uh, where do I stick that snip of script?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: silly feature request: splash screen.
data/tables/scripting.tbl

If you look closing, it's just a normal TBL with scripting inside the [ and ] :)
-C

 

Offline bfobar

  • 28
Re: silly feature request: splash screen.
Huh. So I'm trying that script with 8 preload images (random number set from 1 to 8) and it only pics the same one over and over again. I rebooted and it changed finally to another image. Is there a way to set the random seed to the seconds of the systime or something? Also, that script seems to lose the logo bit, and everyone wants to see the SCP logo I'm sure. What is the command for the logo?

gr.drawImage("PreLoadLogo", 0, 0) ?
« Last Edit: March 27, 2006, 01:45:24 am by bfobar »