Urban Terror Forums: Removing this type of messages ?!?...and move these ones to the middle of the HUD ? - Urban Terror Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Removing this type of messages ?!?...and move these ones to the middle of the HUD ? Rate Topic: -----

#16 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 17 November 2009 - 07:42 PM

That's really i9nteresting !

But how is the .pk3 file created by me loaded ?!? do i just need to put that file in same directory/folder than
the other .pk3 files with the maps ?!?

How does UrT knows where to search the custom WAV that i specify ? does i only need to keep the internal folder structure of my pk3 the same structure as the other pk3's so that this works automatically : "play sound\misc\nowUsingLR300" ?


TIA,
AJSB

This post has been edited by AJSB: 17 November 2009 - 07:43 PM


#17 User is offline   mitsubishi Icon

  • newbie player
  • Passport: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 9,351

Posted 17 November 2009 - 08:09 PM

mp3 is probably not supported, unless iourt was released at a point mp3 was in (it's not now). it's possible.

ioq3-urt; builds of ioq3 engine [with iKALiZER, Win64 support, Fixes, Improvements]

#18 User is offline   fda| ObScUrE Icon

  • newbie player
  • Passport: obscure
  • Main tag: fda|
  • Country:
  • Joined: 28-February 10
  • Posts: 735

Posted 17 November 2009 - 08:48 PM

a *.pk3 file is a simple zip file you have to zip your wave files in a directory and rename it to *.pk3 at the end.

Example:

mysounds.pk3 (sounds\mywave.wav)

~The quiter you become, the more you are able to hear.~
01101000 01100101 01100001 01110010 00100000 01101101 01100101
AKG-K702

#19 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 17 November 2009 - 09:40 PM

Yes, i did discovered that already but the issue here is now how to call with play command the WAV sound files in that pk3/ZIP file....
In your example the pk3 file has a folder "sounds" with a file called "mywave.wav" in it.

I tried to make a file called ut_ajsbSNDpak.pk3 with a folder inside called "soundAJSB" with a file in it called lz300ump45.wav.

Then i put that pk3 file in same folder where are the maps and used: "play soundAJSB\lz300ump45"

But nothing happened....i opened the console and it was written there that it couldn't find the lz300ump45.wav file.


Then i moved the pk3 file to the q3ut4 suffolder where are the UrT binaries like ioUrbanTerror.386 , ioUrbanTerror.exe etc. launched again, sames tests and still no luck and console continues to say that it can't fine the WAV file. Tried again putting the pk3 file directly in same folder than the binaries and still nothing...


I'm sure that i'm missing something, but have no clue of what it is :( ???

Where i'm supposed to put this pk3 ? and can you give an example of how to call the custom WAV file from inside the custom pk3 file using the "play" command ?

TIA,
AJSB

#20 User is offline   fda| ObScUrE Icon

  • newbie player
  • Passport: obscure
  • Main tag: fda|
  • Country:
  • Joined: 28-February 10
  • Posts: 735

Posted 18 November 2009 - 01:46 AM

The q3ut4 folder is the correct one.
You did it all right here and for me it works.
have you used the default zip function from windows?

~The quiter you become, the more you are able to hear.~
01101000 01100101 01100001 01110010 00100000 01101101 01100101
AKG-K702

#21 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 18 November 2009 - 09:01 AM

It's working !!! 8)


Here are the full details...

1st of all, i'm using Linux, but that wasn't the real issue....it only made necessary attention to a detail...

OK, i was using "Ark" to make the ZIP file but suddenly i remembered (thanks to your attention call about if i was using the zip function of windows) that when i read in the Net that a pk3 (or a pk4 , FWIW...) is simply a renamed ZIP file, that you need to make the ZIP file with WinZip .

So i downloaded a old version of WinZip (8.0 is my recommendation because more recent ones are not good with WINE) and proceed to make the ZIP....but there was a catch...

In "Ark" you can select a subfolder to archive all files in it and in the ZIP file it only stores the path from that subfolder on like we want/need in this situation (i.e. soundAJSB in my example) but in "WinZip 8.0" we only have the option to store the full path (i.e. because i'm using Linux that means: home/my_account/any_other_folder_eventually/soundAJSB)...sure, this will work but then with "play" command the path will be too long not to mention that i'm revealing my account name in this computer.



My solution ?

1st, create a temp ZIP file with "Ark" (i.e. test.zip) selecting the files with "Add Folder", this way the stored path in the ZIP file is simply soundAJSB like i wanted.

2nd, exit "Ark" and open the temp ZIP file with "WinZip 8.0" , open the "File" menu and select "Rename Archive" .
With "Rename Archive" you gonna create a new ZIP file with the final name for it that you want (i.e. ut_ajsbSNDpak.zip (the .zip extension is automatic)) with the correct ZIP structure that will be understood by UrT.
Exit "WinZip".

Finally, rename final ZIP file changing extension manually from .zip to .pk3 and it's done !
(i.e. from ut_ajsbSNDpak.zip to ut_ajsbSNDpak.pk3).
Now simply move the pk3 file to correct folder needed by UrT, q3ut4 , and it will work .


Now i can get rid of all those pesky text messages (except the ones from Chat that i prefer to keep and that don't interfere with the minimap ) about kill, hit,etc. and put back the minimap where it bellongs, position 1.

Thanks for all your help/info ObScUrE 8-)


AJSB

This post has been edited by AJSB: 18 November 2009 - 09:11 AM


#22 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 18 November 2009 - 09:37 AM

Ok, i celebrated too soon :-(

It now works if i open console and use /devmap or /map (used not to work in any case)...if i go instead online, it still not work....console restarts to say that it can't find the WAV file just like used to say.

Any ideas about what could be this final problem ?!?

TIA,
AJSB

This post has been edited by AJSB: 18 November 2009 - 09:57 AM


#23 User is offline   fda| ObScUrE Icon

  • newbie player
  • Passport: obscure
  • Main tag: fda|
  • Country:
  • Joined: 28-February 10
  • Posts: 735

Posted 18 November 2009 - 01:28 PM

is your wav file in 16bit(22khz) Mono?

here something I found:
search1
search2

This post has been edited by ObScUrE: 18 November 2009 - 01:29 PM

~The quiter you become, the more you are able to hear.~
01101000 01100101 01100001 01110010 00100000 01101101 01100101
AKG-K702

#24 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 18 November 2009 - 04:00 PM

I checked and double checked, yes, my WAV files are 16bit MONO 22050 hz....but the problem continues.
My .pk3 audio files made with WinZip work now just fine if i launch the maps via console with /devmap or /map , but when i go online to play in any server, the WAV files files no longer work and console gives errors no matter the map that the server to what i connect is using.


TIA,
AJSB

This post has been edited by AJSB: 18 November 2009 - 04:00 PM


#25 User is offline   klabauterman Icon

  • newbie player
  • Passport: klabauterman
  • Country:
  • Joined: 28-February 10
  • Posts: 93

Posted 25 November 2009 - 10:37 AM

View PostAJSB, on 06 November 2009 - 10:55 AM, said:

BTW, is it possible to move the echo messages to the center of screen ?


I just remebered that you actually CAN: use tell instead (won't work with cg_teamchatsonly 1), you get a chat sound too and can use $location etc

#26 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 26 November 2009 - 12:28 AM

YES !!!

I didn't knew even about that command because i didn't noticed it listed by cmdlist !

I tried to use it with a /devmap and it seems to work....i also put to 0 a series of CVARS to cut kill/hit messages to disable them and "tell" continued to work (as opposed to ut_echo)....and yes, the position of the text where is the usual chat messages is even better....now i can put minimap where it belongs, position 1, w/o text interferences.

However, i have a question....are those "tell" messages send only to me like the ones of "ut_echo" or are my team mates and/or all players reading them also ? please tell that they are send only to me :D

#27 User is offline   AJSB (old) Icon

  • Passport: AJSB_old
  • Joined: 01-April 09
  • Posts: 8
  • LocationPortugal

Posted 26 November 2009 - 04:59 AM

well, i celebrated too soon again :(

Again, this also works in /devmap or /map but not online :(

no text or discreet sound at all....

#28 User is offline   mitsubishi Icon

  • newbie player
  • Passport: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 9,351

Posted 26 November 2009 - 12:58 PM

So what exactly do you want to do? Print something somewhere or also play a sound?

ioq3-urt; builds of ioq3 engine [with iKALiZER, Win64 support, Fixes, Improvements]

#29 User is offline   klabauterman Icon

  • newbie player
  • Passport: klabauterman
  • Country:
  • Joined: 28-February 10
  • Posts: 93

Posted 26 November 2009 - 03:58 PM

using tell is a private message (pm), just like the ones, bots send and are surrounded by []

ingame I use them with the player number and not the name (faster anyway, the names will be shown in console with /playerlist)
only with cg_teamchatsonly 1 I can't see them, so I have no other idea what can prevent them showing up

ut_echo only can be seen by yourself and not by someone spectating you.
with the private tell messages I'm not sure, but they wouldn't be private messages when spectators could see them (anyone else knows?).

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users