Help using LogoSplash v3

Search, find and discuss about Mutators!

Help using LogoSplash v3

Postby itsbowseryt » Sun Dec 20, 2015 8:07 pm

Hello everyone! This is my second topic here cause I need some help using LogoSplash v3.
Spoiler: show
LogoSplashV3 by [es]Rush
based on LogoSplash by PJMODOS (pjmodos@atlas.cz)

This Stuff is for UnrealTourment'99

About
--------
LogoSplash is a server addon that will show a logo and play an intro sound to every player joining your server. Additionally it can also
replace standard flag textures. One of the best things is it has a CSS-like logo positioning and resizing options. All options are
optional and logo, intro, flag replacement are independant.

Notes on Logo/Sound material
--------
I've put this section in the beginning so that you won't miss it!
1) To make an utx package in UnrealEditor your pcx file has to be 256 colors!! It's not a big deal since you can use any palette,
For example, open your ultra-super-duper quality .jpg logo in GIMP(Free OpenSource image editor), go to Image -> Mode -> Indexed..
and press OK. Now you can save it as pcx and properly import in UnrealEditor
2) If you want your logo to be always high quality regardless to the client world detail settings then do not check "Generate MipMaps"
when importing texture in UnrealEditor.
3) If you have followed my advice in point 2 when your logo must be 256x256 MAX cause it could otherwise cause problems on some renderers.
4) If you want parts of your logo to be transpart in bLogoTranslucent=False mode, "Masked" while importing has to be checked and the
transparent color will be the first color in the image's palette, sometimes it can be tricky to set it.
5) When importing a sound in UnrealEditor, your .wav file MUST BE "22Khz 8-bit Mono", I know it's harsh but if converted properly it
shouldn't be a problem.
6) In Flags.zip you can find original exported flag textures and the plain ones ready for modifying.

Installation
--------
Add the following to the end of [Engine.GameEngine] in UnrealTournament.ini:
ServerActors=LogoSplashV3.SplashLogoSA
ServerPackages=LogoSplashV3
* You have to also add your logo and intro packages as ServerPackages here

The below lines add to the end of UnrealTournament.ini, it is a sample config, I will explain it in the next section.

[LogoSplashV3.SplashLogoSA]
LogoTexture=samplelogopackage.logo
LogoDrawDelay=1.0
LogoFadeInTime=1.0
LogoDrawTime=6.0
LogoFadeOutTime=1.0
CaptionLineOne=MAKE YOUSELVES AT HOME
CaptionLineTwo=FEEL FREE TO CAP
CaptionLineThree=AND GL AND HF AND BLABLABLA
CaptionLineFour=
IntroSound=sampleintropackage.intro
IntroSoundDelay=1.0
CustomRedFlag=samplelogopackage.flagred
CustomBlueFlag=samplelogopackage.flagblue
bLogoTranslucent=True
Position=center,center
Size=byself:1

About Config
--------
LogoTexture - It has to point to a texture object inside a package like samplelogopackage.logo
LogoDrawDelay - Time from the join after which logo will start appearing
LogoFadeInTime - Duration of a fadein effect
LogoDrawTime - How long the logo should be between fadein and fadeout states
LogoFadeOutTime - Duration of a fadeout effect
CaptionLineXXX - Small text displayed under the logo, it will fadein/out along with it
IntroSound - It has to point to a sound object inside a package like sampleintropackage.logo
IntroSoundDelay - Time from the join after which intro sound will start playing
CustomRedFlag - It has to point to a texture object holding a replacement for a standard flag texture
bLogoTranslucent - If =True then Logo between fadein and fadeout will be translucent instead of opaque
Position - Allows to put a logo in any place on the screen - See 'Position variable syntax' section
Size - Allows to resize a logo - See 'Size variable syntax' section

Position variable syntax
--------
The Position variable takes two arguments, one specifying horizontal position and the other vertical, in the following format:
Position=horizontal,vertical
Each part must be set.

There are three modes for each position axis:
-absolute position from the edges of the screen
-relative position represented by %*screen width/height from the edges of the screen
-centered on the screen

Examples should say more than a hundred words, let's start:
1)Position=left:10px,top:30%
It will place the image so that the left border of the image will be 10 pixels from the left edge of the screen and the distance between
the top edge of the screen and top border of the image will be equal to 30% of the screen height.
See example1.png distributed with LogoSplashV3.zip

2)Position=right:30%,bottom:100px
Right border of the image will be 30% of the screen width from the right edge of the screen, and the bottom border of the image will be
100 pixels from the bottom edge of the screen.
See example2.png distributed with LogoSplashV3.zip

Simple ? I think so. So once again.

Position=left/right:XXpx/%,top/bottom:XXpx/%
where / means a choice you can make, and XX means the number

And the last but not least, center. It is the easiest one to use. To center the image on the whole screen set:
Position=center,center
To center it only vertically set:
Position=left/right:XXpx/%,center
To center it only horizontally set:
Position=center,top/bottom:XXpx/%,

!!! Remember, DO NOT USE SPACES, and keep the syntax right !!!

Size variable syntax:
--------
So you want to change the size of your logo ? It's simple. You can even keep the logo the same size in every resolution.

If you want to just scale the image, set:
Size=byself:(yourscale)
so, to double the size, you just do:
Size=byself:2

Now, the mose useful part of it. You can set the image size to be relative to the screen size. Example:
Size=byscreenx:30%
It will set the image width to be 30% of the screen width. The image height will keep the ratio.
Size=byscreeny:30%
It will set the image height to be 30% of the screen height. The image width will keep the ratio.

!!! KEEP THE SYNTAX !!!

ChangeLog
--------
V2 -> V3:
-Added Position and Size variables with special CSS-like syntax
-Added additional time controls for various logo drawing stages
-Separated Logo from Intro sound
-Added additional time control for IntroSound

Thanks to:
--------
-Guys from unrealadmin.org ;)
-PJMODOS of course :P

Feedback:
--------
-UnrealAdmin.org should be sufficient for now


I dont know what [es]Rush meant about "You have to also add your logo and intro packages as ServerPackages here". Please help!
the way it's meant to be played
Image
Image
User avatar
itsbowseryt
Novice
 
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Location: Romania
Personal rank: YouTuber

Re: Help using LogoSplash v3

Postby JackGriffin » Sun Dec 20, 2015 8:20 pm

Your logo is saved as a texture file (.utx). It's called in Logospash like this:
package.texture
For example if I used the texture "GoLogo" and it was saved in the utx called "GoServerLogo" then the call for it would be
GoServerLogo.GoLogo
in Spash and I would also have to add
ServerPackages=GoServerLogo
to the server's ini file so everyone would have to download it before joining.
"You damn kids, back in my time we made the items, maps and games ourselves with an unwieldy engine using counter-intuitive crash-prone tools and we liked it so much we built communities around this which nowadays look like cults because they're quasi-parallel societies based on the same old games." -Hellkeeper
User avatar
JackGriffin
Godlike
 
Posts: 3758
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: Hack coder

Re: Help using LogoSplash v3

Postby itsbowseryt » Sun Dec 20, 2015 8:22 pm

JackGriffin wrote:Your logo is saved as a texture file (.utx). It's called in Logospash like this:
package.texture
For example if I used the texture "GoLogo" and it was saved in the utx called "GoServerLogo" then the call for it would be
GoServerLogo.GoLogo
in Spash and I would also have to add
ServerPackages=GoServerLogo
to the server's ini file so everyone would have to download it before joining.


But Jack , how to create one?
the way it's meant to be played
Image
Image
User avatar
itsbowseryt
Novice
 
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Location: Romania
Personal rank: YouTuber

Re: Help using LogoSplash v3

Postby JackGriffin » Sun Dec 20, 2015 8:24 pm

My email is agutgopostal@hotmail.com

Send me what you want to use and I'll make it for you.
"You damn kids, back in my time we made the items, maps and games ourselves with an unwieldy engine using counter-intuitive crash-prone tools and we liked it so much we built communities around this which nowadays look like cults because they're quasi-parallel societies based on the same old games." -Hellkeeper
User avatar
JackGriffin
Godlike
 
Posts: 3758
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: Hack coder

Re: Help using LogoSplash v3

Postby UTPe » Sun Dec 20, 2015 8:33 pm

Add the following to the end of [Engine.GameEngine] in UnrealTournament.ini:
ServerActors=LogoSplashV3.SplashLogoSA
ServerPackages=LogoSplashV3
* You have to also add your logo and intro packages as ServerPackages here


Hi itsbowseryt,
the author means exactly what he writes in the help file, you have to add your custom gfx/audio packages to ServerPackages list of your UnrealTournament.ini file, nothing more, nothing less (as you already did for your custom server skins):

[Engine.GameEngine]
...
ServerPackages=LogoSplashV3
ServerPackages=YourCustomGfxPackage
ServerPackages=YourCustomAudioPackage

...


where YourCustomGfxPackage.utx and YourCustomAudioPackage.uax are the packages that contain textures and sounds used in LogoSplashV3:

[LogoSplashV3.SplashLogoSA]
LogoTexture=YourCustomGfxPackage.logo
LogoDrawDelay=1.0
LogoFadeInTime=1.0
LogoDrawTime=6.0
LogoFadeOutTime=1.0
CaptionLineOne=MAKE YOUSELVES AT HOME
CaptionLineTwo=FEEL FREE TO CAP
CaptionLineThree=AND GL AND HF AND BLABLABLA
CaptionLineFour=
IntroSound=YourCustomAudioPackage.sound
IntroSoundDelay=1.0
CustomRedFlag=YourCustomGfxPackage.flagred
CustomBlueFlag=YourCustomGfxPackage.flagblue

bLogoTranslucent=True
Position=center,center
Size=byself:1


cheers,
Pietro
Personal UT99 website: http://utdatabase.gamezoo.org | Personal forum: http://fragfinity.freeforums.org/index.php
Personal file database: http://ut99files.gamezoo.org | Personal map database: http://ut99maps.gamezoo.org

"These are the days that we will return to one day in the future only in memories." (The Midnight)
User avatar
UTPe
Adept
 
Posts: 458
Joined: Sun Jul 12, 2009 7:10 pm
Location: Trieste, Italy
Personal rank: Dude

Re: Help using LogoSplash v3

Postby itsbowseryt » Sun Dec 20, 2015 8:39 pm

UTPe wrote:
Add the following to the end of [Engine.GameEngine] in UnrealTournament.ini:
ServerActors=LogoSplashV3.SplashLogoSA
ServerPackages=LogoSplashV3
* You have to also add your logo and intro packages as ServerPackages here


Hi itsbowseryt,
the author means exactly what he writes in the help file, you have to add your custom gfx/audio packages to ServerPackages list of your UnrealTournament.ini file, nothing more, nothing less (as you already did for your custom server skins):

[Engine.GameEngine]
...
ServerPackages=LogoSplashV3
ServerPackages=YourCustomGfxPackage
ServerPackages=YourCustomAudioPackage

...


where YourCustomGfxPackage.utx and YourCustomAudioPackage.uax are the packages that contain textures and sounds used in LogoSplashV3:

[LogoSplashV3.SplashLogoSA]
LogoTexture=YourCustomGfxPackage.logo
LogoDrawDelay=1.0
LogoFadeInTime=1.0
LogoDrawTime=6.0
LogoFadeOutTime=1.0
CaptionLineOne=MAKE YOUSELVES AT HOME
CaptionLineTwo=FEEL FREE TO CAP
CaptionLineThree=AND GL AND HF AND BLABLABLA
CaptionLineFour=
IntroSound=YourCustomAudioPackage.sound
IntroSoundDelay=1.0
CustomRedFlag=YourCustomGfxPackage.flagred
CustomBlueFlag=YourCustomGfxPackage.flagblue

bLogoTranslucent=True
Position=center,center
Size=byself:1


cheers,
Pietro


But i need to convert the gfx/audio to the package? If yes , how?
the way it's meant to be played
Image
Image
User avatar
itsbowseryt
Novice
 
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Location: Romania
Personal rank: YouTuber

Re: Help using LogoSplash v3

Postby UTPe » Sun Dec 20, 2015 8:58 pm

itsbowseryt wrote:But i need to convert the gfx/audio to the package? If yes , how?

you have to start from your custom gfx/audio files and build your .utx/.uax packages with Unreal Editor 2.0...sorry, I thought you already knew how :?
well, I can't find now a doc for sounds but you can take a look at the doc file attached (by Epic Games), it can help you at least with textures.
Attachments
Unreal Textures.doc
(29 KiB) Downloaded 121 times
Personal UT99 website: http://utdatabase.gamezoo.org | Personal forum: http://fragfinity.freeforums.org/index.php
Personal file database: http://ut99files.gamezoo.org | Personal map database: http://ut99maps.gamezoo.org

"These are the days that we will return to one day in the future only in memories." (The Midnight)
User avatar
UTPe
Adept
 
Posts: 458
Joined: Sun Jul 12, 2009 7:10 pm
Location: Trieste, Italy
Personal rank: Dude

Re: Help using LogoSplash v3

Postby itsbowseryt » Sun Dec 20, 2015 9:37 pm

UTPe wrote:
itsbowseryt wrote:But i need to convert the gfx/audio to the package? If yes , how?

you have to start from your custom gfx/audio files and build your .utx/.uax packages with Unreal Editor 2.0...sorry, I thought you already knew how :?
well, I can't find now a doc for sounds but you can take a look at the doc file attached (by Epic Games), it can help you at least with textures.


I will try to understand something from that doc file but i think i don't need the logosplash. Maybe someday or never. Thanks all anyway!
the way it's meant to be played
Image
Image
User avatar
itsbowseryt
Novice
 
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Location: Romania
Personal rank: YouTuber

Re: Help using LogoSplash v3

Postby sektor2111 » Sun Dec 20, 2015 9:52 pm

See also PM...
User avatar
sektor2111
Godlike
 
Posts: 3959
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Help using LogoSplash v3

Postby iSenSe » Sat Apr 28, 2018 8:34 pm

*got answerred by slade on discord.
Image
User avatar
iSenSe
Skilled
 
Posts: 244
Joined: Mon Aug 31, 2015 12:58 pm

Re: Help using LogoSplash v3

Postby Barbie » Sat Apr 28, 2018 9:41 pm

iSenSe wrote:Got a custom *.uax file with the right samplerate and channel settings.

Want it to load in LogoSplashv3.

How do i check what the sampleintropackage.logo name is of this uax file?
As a shoot from the hip (what means the following is untested :mrgreen: ):
load the UAX file (let's say it it called MySounds.uax) in Unreal ED and look up the name of your desired sound (for example Welcome). Now add or edit this entry in Unrealtournament.ini:
Code: Select all
[LogoSplashV3.SplashLogoSA]
IntroSound=MySounds.Welcome
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Barbie
Godlike
 
Posts: 1654
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Help using LogoSplash v3

Postby papercoffee » Sat Apr 28, 2018 10:58 pm

@iSenSe
First you bumped a nearly 3 year old thread, then you edited your post and deleted the meaning for that bump.
Please read the House Rules. We doesn't like this kind of behaviour here.

Closed.
User avatar
papercoffee
Site Staff
 
Posts: 9149
Joined: Wed Jul 15, 2009 11:36 am
Location: Cologne, the city with the big cathedral.
Personal rank: coffee addicted !!!


Return to Mutators

Who is online

Users browsing this forum: No registered users and 2 guests