the mountain

Unreal Tournament 99 => Mutators, Tools, Utilities => Topic started by: 21 on Oct 28, 2017, 03:40 PM

Title: LogoSplashv3
Post by: 21 on Oct 28, 2017, 03:40 PM
Quick question, will this work on it's own? I don't know how to make images or sound files. I installed it and when I start a game it doesn't pop up.  I just want it to say a few lines. ServerAdds works in the top left corner, but I like the middle box that Helen's does.  Is it possible Newnet, Ace or Anti-tweak is interfering? I have attached the UT ini.  Thanks!

[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
Title: Re: LogoSplashv3
Post by: Helen on Oct 28, 2017, 06:12 PM
I see references to these packages:

samplelogopackage
sampleintropackage

Do they exist and have you added them to the ServerPackages?
Title: Re: LogoSplashv3
Post by: RiTALiN on Oct 28, 2017, 08:04 PM
If you figure it out let me know. I tried using it in the past with my user icon here and no go. I know the artwork has to be 8bit color in nature. That limits your options for a smoking hot image as Helen call's it lol.
Title: Re: LogoSplashv3
Post by: 21 on Oct 28, 2017, 11:48 PM
That is exactly as it comes. I assumed the sample was included with the u file.  I guess not. So you think if I add something in those 2 spots it might show up?  I'm such an ultra noob with video editing.
Title: Re: LogoSplashv3
Post by: Helen on Oct 29, 2017, 01:48 AM
It has a readme and it says you have to make your own utx package, so, there you go.

When I released my medFlag package, it included extensive readme as to how to create textures, and how to get them into a utx. I'll paste two sections from that readme here. Might want to do this sunday morning with a coffee :)


====================================
     | Making a Flag |
====================================

Open your image editor.
I have provided two flag template files, called JpflagBTEMPLATEBLANK.pcx and
JpflagRTEMPLATEBLANK.pcx. One is red and one is blue.

Open the JpflagBTEMPLATEBLANK.pcx in your editor.
Immediately do a Save As... because you don't wan't to screw up this template.
I will do a Save As....  myBlue1.pcx for reference.

RULE1 - the size of a UT pcx file must be a multiple of 2. The size of our templates
is 256 x 256, so do not change their size. This is the original size of the texture
when I exported it from UT.

RULE2 - The amount of colors must 256 or less.

-- Rule 2 kind of blows because you can't get a real smoking image in there, but we can
-- do not too bad. Just follow these steps.

In your editor, increase the color depth of myBlue1 to 16 million colors.
Ok now you are ready to paste in some picture. Obviously the size of your picture
should be such that it fits into the the blue square bit of myBlue1. This area is
roughly 210 pixels wide and 140 pixels tall.

-- The amount of blue you take up is up to you. It depends on what you want to paste in too.
-- If I have a nice small or medium image, I like leaving about 15 pixels of blue around the
-- edges, because they have those wrinkles, which makes the flag look more real. Or if I have
-- a bigger image, it is more important to me to get as much of the image in as possible, so
-- I go right to the edge of the blue.
-- But there is no point in going BEYOND the blue, because it just won't be shown.

-- Also I don't think the TYPE of image matters, what I mean is you don't have to paste a .pcx
-- into your myBlue1.pcx. I have always pasted in .jpg images with no problem.

Once you have your image ready, paste it in. If you don't like the result, try pressing CTRL + Z,
it might reverse it for you. Anyway, play around until you get it how you want.

When you are happy with how it looks, you now need to DECREASE the amount of colors in myBlue1.pcx
back down to 256.

-- Be prepared to be a LITTLE disappointed  :-)

Decreasing colors is a little more involved. It is just a matter of choosing the method that retains
as much of your image as possible. Ok, when I tell my editor I now want to decrease my color depth
back to 256, it is showing me some options. The options I choose are:
     - Optimized Octree
     - Nearest Color
You may or may not have similar choices. Just trying choosing different ones until you find the choices
that do the LEAST amount of visual change to your image (obviously).

Save your myBlue1.pcx. It is now ready to put into a texture file.


=================================================================
     | importing your flag images into a texture file |
=================================================================

Find the myFlags.utx I supplied in the package (or whatever you renamed it as by now!).
Copy that file into your UnrealTournament/Textures directory.
Now open up UnrealEd. (This should be at UnrealTournament/System/UnrealEd.exe).
Once that is started, you need to open the Texture Browser.
Hover over the icons in the toolbar until you find the one with the tooltip that says "Texture Browser".
Click this.

Now in the texture browser window, click File | Open.
Find the myFlags.utx and open it.
Now again in the texture browse window, select File | Import...
Find where you saved myBlue1.pcx, select it and open it.

You are now looking at a dialog where it has these three fields and values:
Package: myFlags
Group:       Flag
Name:       myBlue1

Leave Package and Group alone. Also leave the checkboxes alone. The one thing we can change is the Name.

-- Note, after I enter a name, UT tends to make it uppercase on me, so now I just enter them as uppercase.
-- (hey, if that's what UT wants, fine).
-- ALSO, not mandatory, but a lot of texture names have eight letters or less, so that is another informal
-- rule I follow.

Chose a name that describes your flag. For this example I'll use "MFMRed" (without the quotes).
Click Ok on the dialog.
There! Now it's in the texture package. Last thing is to save the package. Make sure to use the save button
that is on the Texture Browser window.
Now, when you hit Save, it kind of treats it as a "Save As..." which is weird. So what you do is...
- click the Save button.
- It then opens a file dialog, as if you wanted to save it under a different name, but you don't, so just...
- click the save button on the file dialog
- It then says "myFlags.utx already exists, do you want to replace it?". Click Yes.



Title: Re: LogoSplashv3
Post by: medor on Oct 29, 2017, 05:40 AM
QuoteQuick question, will this work on it's own?

Yes

QuoteI don't know how to make images

Flags
I ave make a tuto flags and note the UTV3 is ready for make one ... you ave just to edit names packages http://unrealtournament.99.free.fr/forum/viewtopic.php?f=9&t=173

Images see up and just remember bmp 256


QuoteI don't know how to make sound
You need wav pcm 11k 8bit mono before import as sound  "sound browser" "file"  "import".

QuoteI installed it and when I start a game it doesn't pop up

ServerActors=LogoSplashV3.SplashLogoSA
ServerPackages=LogoSplashV3
ServerPackages=you sound and other files....

[LogoSplashV3.SplashLogoSA]
LogoTexture=logo3F.logo3F
//LogoTexture=SplashLogo10.SplashLogo10
LogoDrawDelay=1.0
LogoFadeInTime=1.0
LogoDrawTime=6.0
LogoFadeOutTime=1.0
CaptionLineOne=Servermedor 1
CaptionLineTwo=Honor & Team Spirit
CaptionLineThree=Have Fun and Good Frag ;)
CaptionLineFour=
//IntroSound=intro3F.intro3F
//IntroSound=shpraout.shpraout
IntroSoundDelay=1.0
CustomRedFlag=
CustomBlueFlag=
bLogoTranslucent=True
Position=left:10px,top:30%
Size=byself:1

Give settings and files.
You can test with right one


if you want test with the file i ave http://unrealtournament.99.free.fr/forum/viewtopic.php?f=9&t=2305

QuoteServerAdds works in the top left corner

CaptionLine from LogoSplashV3 and ServerAdds do the same work ... i think you must do a choice.

Quotebut I like the middle box that Helen's does

extra if you want like a gif http://unrealtournament.99.free.fr/forum/viewtopic.php?f=9&t=2306

QuoteIs it possible Newnet, Ace or Anti-tweak is interfering?

No but you can test with remove it.

For info
Fore ACE you can set the V1 if you ave problem but you can't run it on a NFO server
Anti-tweak can be settable for flags like CTTree33.(there is a very more recent one) i can send you it with mp when your server is full working.It's private and secret.;)
NewNet not interfere at all.
Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 02:25 PM
Hi Medor and Helen,
Thanks for the help.  I find the process so overwhelming!  Anyway, I was up to 4am today trying to learn.


So I am looking to put a box in the middle of the screen when a new player arrives. Then disappears. Could be a picture or sentences, don't know yet.
Problems I have are:

1. The mod says to add ServerActors and all ServerPackages at the end of GameEngine. I did that. When I do that the server won't start. So I swapped my Game Engine with the default GE and readded LogoSplash packages,etc. It now starts but no logo.  So I also wiped out all mutators in the command line and still no logo.

2. I found a jpg called HarleyQuinn to test. Turned it into a pcx. Imported it to UE, and changed and saved it as UTX file (HarleyQuinn.utx). Put the UTX file in my server and my own UT texture files. Added the server package (ServerPackages=HarleyQuinn) to my server and placed it underneath LogoSplash ServerPackage and ServerActor.  Changed LogoTexture to new name LogoTexture=HarleyQuinn.logo    Still won't show.  Do I need to add a sound file for it to work or will the picture be enough? 

Also tried>>>

1. Removing everything and using Ultimate Package (mod that contain 25 mods, so need for adding 25 serverpackages) as it contains LogoSplashv3.  No luck there either. Even UltimateSmartDM packages didn't work, but that's a different issue.

2. Downloaded and read your Medflag 300.  It's pretty much the same I think. Do you have a logosplash mod for dummies hidden anywhere?

3.Put Logosplash ServerActor just with actors and LogoSplash ServerPackage with other serverpackages.

4.Removed LogoSplash Server Actor and made it a mutator in command line.  Which let me boot my server at least. But no logo....  :(

I'm so tired I can't remember why I wanted to do this anymore!  Lol

Thanks

Title: Re: LogoSplashv3
Post by: Helen on Oct 29, 2017, 04:29 PM
What is the name of the texture within your HarleyQuinn utx package?

When you imported your picture, what did you set for name?
(http://www.birdieman.com/pics/forum/whatIsTextureName01.jpg)

If you cannot remember, open the the package and it is below the texture, for example:
(http://www.birdieman.com/pics/forum/whatIsTextureName02.jpg)

The point is, that "Name" needs to appear here:

LogoTexture=HarleyQuinn.("Name" goes here)


[edit]Also, just post the log, we can look for any mentions of logosplash to see what is going right/wrong.
Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 06:16 PM
Package Name = MyPackage1
Group =  none - as in blank
Name =HarleyQuinn


I also Tried:
Package=HarleyQuinn
Group=None
Name=HarleyQuinn

Also, tried with and w/o mipmaps.  When I go to the Textures main screen it say "MyPackage1" in the heading where you see Botpack in your picture.  Down below is a black HarleyQuinn square. Also, when I saved my texture files they are only 1700 bytes.  That seems kind of low I think?

I made my texture files into zip files for you to look at..
Title: Re: LogoSplashv3 Textures
Post by: 21 on Oct 29, 2017, 06:21 PM
Here are the zip files....
Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 06:51 PM
I'm also wondering why the logosplash will not pop up even with a default UT.ini and using a different texture.  I attached it below.  I am going to try it on my UT.ini and see if it pops up in a Lan server or practice mode. Nope. Didn't work. Thanks..
Title: Re: LogoSplashv3
Post by: medor on Oct 29, 2017, 07:04 PM
No images in this two textures.

Try this logo3F ... you ave to extract it it's a .uz
http://medor.no-ip.org/index.php?dir=uz/&file=logo3F.utx.uz

ServerPackages=logo3F
LogoTexture=logo3F.logo3F

for no mistake
use bmp 256x256 to pcx to utx and for the name put all the same name

Here all votrenomteamFlagsB so the name is votrenomteamFlagsB.votrenomteamFlagsB
(http://unrealtournament.99.free.fr/images/votrenomteamFlagsB.jpg)


Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 07:16 PM
1. I can't open this file.  What will uncompress this UZ file back to a utx file?
2. Can I not use any UTX file from your Unreal Tournament 99 downloads page?


Thanks
Title: Re: LogoSplashv3
Post by: medor on Oct 29, 2017, 07:20 PM
You can take it here or try to the multiple you ave see in the video http://medor.no-ip.org/index.php?dir=images%2F&search=logo3F&search_mode=f
Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 07:36 PM
Okay I made a dedicated server on my copy of UT.


LogoSplash Test Medor  -  192.168.0.18:7777

I added LogoSplashv3.u  to my UT system folder

I added the ServerPackages=logo3F  under ServerActors=LogoSplashV3.SplashLogoSA
ServerPackages=LogoSplashV3

I added LogoTexture=logo3F.logo3F to my LogoSplash setup area at the bottom of my UT.ini

I added the logo3F.utx to my Textures folder

When I joined my server it downloaded the server packages.  Then.....didn't work.  What am I missing?

Thanks
Title: Re: LogoSplashv3
Post by: Helen on Oct 29, 2017, 07:37 PM
Well your texture in the utx file is simply blank, not sure what happened there. Did you read my medflag "how to make... " thoroughly? If not, try again.

For naming, sure use package name = HarleyQuinn, and Name = harleyquinn, so your ini line will be

LogoTexture=HarleyQuinn.harleyquinn

And what did the log file say?
Title: Re: LogoSplashv3
Post by: 21 on Oct 29, 2017, 10:13 PM
I checked Logs and old Logs and found nothing related to Logo Splash.  Probably because it doesn't start with it.  I'm just going to keep ServerAdds instead. I've spent too long on this and probably no one but me or Ritalin will see it. My servers are working and it's all good.  Thanks for the help guys.  Maybe NFO doesn't let it work like ACE 1.0E. I don't know. 

Have a good night!

21.
Title: Re: LogoSplashv3
Post by: medor on Oct 30, 2017, 03:32 AM
No it's ok for nfo and splash.

Give the config part with copy past ; make sure there is no space after lines.
Read your log server.

LogoSplash Test Medor  -  192.168.0.18:7777
bad ip for us we need you wan ip not the lan http://whatismyipaddress.com/fr/mon-ip
Title: Re: LogoSplashv3
Post by: Helen on Oct 31, 2017, 01:30 AM
I will try a test with LogoSplashV3 on the weekend and see how it goes.
Title: Re: LogoSplashv3
Post by: medor on Oct 31, 2017, 03:22 AM
Other way if you ave iptocountry.
Over 50 lines packages iptocountry make bugs, random packages lines do not work anymore.

You can try your config removing iptocoutry.
Or just skinsplayers lines remove for place
Title: Re: LogoSplashv3
Post by: 21 on Oct 31, 2017, 10:31 AM
Thanks for help guys.  No more logosplash for me.  I'll just use ServerAdds on my rental servers. They work, and one day someone might even use them!

Have a nice day.
Title: Re: LogoSplashv3
Post by: medor on Nov 01, 2017, 12:54 PM
Do you want i do it for you ?

Title: Re: LogoSplashv3
Post by: 21 on Nov 02, 2017, 12:46 AM
No thank-you Medor.  I appreciate the offer, but I don't even know what to display.
Thanks!
Title: Re: LogoSplashv3
Post by: Helen on Nov 05, 2017, 11:18 PM
Ok, I forgot to do this this weekend. But, I did get the breaking glass done today in Misery! Let me finish the next beta of Misery first, then I'll give this a go.
Title: Re: LogoSplashv3
Post by: 21 on Nov 06, 2017, 08:18 AM
I am so shooting out that glass!   

P.S  Please don't worry about the logosplashv3.  I don't need it anymore.

Thanks!
Title: Re: LogoSplashv3
Post by: RiTALiN on Dec 15, 2017, 10:12 AM
Lol, i'm well aware your not worried about this anymore but I'm slated to work on this tomorrow...well today heck its 7AM why bother sleeping....But will possibly be able to get this working for you. Stay Tuned. Definitely a cool feature.
Title: Re: LogoSplashv3
Post by: RiTALiN on Feb 02, 2018, 06:03 PM
Hey got LogoSplashV3 working on my server, if you want to check it out go to 185.122.59.73:6666 and open mapvote. If you ever need this again, send me your image and i'll make sure it registers for you.
Title: Re: LogoSplashv3
Post by: medor on Feb 03, 2018, 02:59 AM
So now you can make your flags to

http://unrealtournament.99.free.fr/forum/viewtopic.php?f=9&t=173
Hamps
http://medor.no-ip.org/index.php?dir=images%2F&search=hamp&search_mode=f
Title: Re: LogoSplashv3
Post by: RiTALiN on Feb 04, 2018, 02:09 PM
Did a screencap of my Import with a photo viewer comparison to show quality drop but tested it all & works fine. I did notice a problem though and a post from ut99.org actually helped me get it working. My problem seemed to be related to importing a file with the .PCX extension. Exporting the file from photoshop worked when I exported it as a bitmap (.bmp) The post had mentioned similar regarding problems importing .PCX However even regarding the flags like Medor just posted, never had a problem importing textures via PCX with Helen's medFlag or similar mutators. Just LogoSplash.... But 24bit color BMP worked nicely and quality didn't degrade too much. Next time i'll do the reduction myself first vs letting the editor/engine do it. So that may have been part of your original issue @ 21.

The image in photoviewer on the left is the base texture I used (Thx Syl!) The one on the far right is the bitmap direct from photoshop and the middle is the texture seen in MapVote.