Help using LogoSplash v3

Search, find and discuss about Mutators!
Locked
User avatar
itsbowseryt
Novice
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Personal rank: YouTuber
Location: Romania
Contact:

Help using LogoSplash v3

Post by itsbowseryt »

Hello everyone! This is my second topic here cause I need some help using LogoSplash v3.
Spoiler
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
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: Help using LogoSplash v3

Post by JackGriffin »

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.
So long, and thanks for all the fish
User avatar
itsbowseryt
Novice
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Personal rank: YouTuber
Location: Romania
Contact:

Re: Help using LogoSplash v3

Post by itsbowseryt »

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
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: Help using LogoSplash v3

Post by JackGriffin »

My email is agutgopostal@hotmail.com

Send me what you want to use and I'll make it for you.
So long, and thanks for all the fish
User avatar
UTPe
Masterful
Posts: 583
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy
Contact:

Re: Help using LogoSplash v3

Post by UTPe »

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 map database: http://www.ut99maps.net

"These are the days that we will return to one day in the future only in memories." (The Midnight)
User avatar
itsbowseryt
Novice
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Personal rank: YouTuber
Location: Romania
Contact:

Re: Help using LogoSplash v3

Post by itsbowseryt »

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
UTPe
Masterful
Posts: 583
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy
Contact:

Re: Help using LogoSplash v3

Post by UTPe »

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 163 times
Personal map database: http://www.ut99maps.net

"These are the days that we will return to one day in the future only in memories." (The Midnight)
User avatar
itsbowseryt
Novice
Posts: 21
Joined: Tue Dec 15, 2015 1:59 pm
Personal rank: YouTuber
Location: Romania
Contact:

Re: Help using LogoSplash v3

Post by itsbowseryt »

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
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Help using LogoSplash v3

Post by sektor2111 »

See also PM...
User avatar
esnesi
Godlike
Posts: 1018
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: Help using LogoSplash v3

Post by esnesi »

*got answerred by slade on discord.
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Help using LogoSplash v3

Post by Barbie »

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
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: Help using LogoSplash v3

Post by papercoffee »

@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.
Locked