...

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
te_inc
Private
Posts: 8
Joined: Sat Jan 03, 2004 12:20 am

...

Post by te_inc »

...
Last edited by te_inc on Sat Aug 19, 2006 9:02 am, edited 1 time in total.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hi te_inc, if I'm really honest I didn't understand half of what you posted there :oops: but that's probably because it's late and me = tired :?

Anyway it sounds like you've been performing interesting experiments :)
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I understood just a few words of that, and if jv didn't understand it either: it must be pretty high level...

Are you saying you can do really cool things with jv:s workaround? :oops:
Admin .MAP Forums
Image
Head above heels.
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

maybe he could explain why it doesnt work with spearhead ?? or how to get it working with spearhead ?? And i as well didnt understand alot of what was said. i have been working with ubersounds for like 6 to 8 hours a day for 7 to 8 months,,,im finally getting pretty decent at it now after 8 months of trail and errors and lots of sound crashs..some times the best way to learn how to do something is just dive in deep,,and i can honestly say ive oversome many obstacles.and have currently 99% sounds in all m,,t,,dm,obj,,and tow maps with no sound crashs or conflicts,,and very close to completing this,,my poor comp those 1st couple of months,, lol,,of course i still have a couple of obstacles that i have to figure out how to overcome,,for instance im now using a custom sound script to load up all the missing sounds only,,problem with this is it works in conjuntion with the spearhead ubersound,and i must admit works much better than using a custom ubersound2 that would have to contain many more lines and alot more variations in the lines,,well anytime the tank sound crashs are enabled it crashs the server,,enabled them in a obj match just for a test,,,,tank crash sounds are not really needed in dm,,,for most of the tanks there just follow the standard path nodes created,,,but if i would want to load the same custom tank into a spearhead t map,,then that poses a problem,,,because the tank crash sounds load by default in all the t maps using the current configuration,,,things i have tried so far to overcome this obtacle is this,,,i loaded all the tank crash sounds into a tiki file ,,,removed the obj from the lines,,and precached them in the obj map i was testing thinking maybe the tiki file would overide the stock spearhead ubersound,,still same results,,a crash,,the next thing i tryed was using a ubersound2 file and loaded only the tank sound crashs in it without the "obj" thinking maybe that would overide the stock spearhead ubersound,,same result a crash,,,maybe its just something simple im overlooking,even at the risk of looking somewhat ignorant im still willing to ask,knowing i still have much more to learn,after looking at ubersound lines for 8 month it tends to wear on ya a little heh,,any help or suggestions to overcome this obstactle would be great so in the future if i wish to load a custom tank into a t map i could do so,,the above problem doesnt effect the m ,,obj,,or dm maps,,because the stock spearhead ubersound doesnt load tank crash sounds for those
Gold<<mohha freak
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

When a server starts it load aliases from the files on the server and when a client joins the map starts loading and the aliases are loaded from the clients files before comunication with the server starts . I am wondering if the server kept loading aliases after a client joins will that do anything ?
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

thanx for reply bdbodger ,,,,i got it resolved this morning,,,guess i just needed some eye rest :) i have learned that some mohha lines just want work correctly in spearhead,,but when ya use the spearhead lines instead it seems to do the trick:))) i now in the last 2 hours have converted all the lines over to spearhead except for the needed mohha ones ,,,and i have been testing,,,so far seems to run much better:) now im off to do much more testing,,,what fun lol
Gold<<mohha freak
te_inc
Private
Posts: 8
Joined: Sat Jan 03, 2004 12:20 am

...

Post by te_inc »

...
Last edited by te_inc on Sat Aug 19, 2006 9:06 am, edited 1 time in total.
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

lotta word for 2 post, dang, its like the work around bible, well not really i guess. i didnt read it all but im pretty sure its a compliment.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I don't understand Gold you have what resolved ? Do you mean you have sounds for clients working on a server ?
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

So if you make an ubersound file with obj and dm on all aliases then put it in a pk3 file named with a dozen z,eds problem solved?


...............
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

no ya dont just add whatever ya want to any line,,,,,,and to answer ya question bdbodger,,heres more detail of what is being used currently,,,a stock spearhead ubersound is being used with very little changes within it,,,except for two to four custom plane sounds ,,,and some modifications to add footsteps and explosions to the m maps,,,and then i created a custom sound.scr file that loads after the ubersound loads to load up some other sounds for the m maps such as
//m1l3c
aliascache lighthouse_lever sound/mechanics/M1_LeverPull.wav soundparms 1.5 0.0 0.8 0.0 160 1600 item loaded maps "m1l3c"
aliascache lighthouse_run sound/mechanics/M1_LightTurn.wav soundparms 1.2 0.0 1.0 0.0 500 5000 item loaded maps "m1l3c"

which was needed since the lighthouse switch is now operational

now if this isnt the best way possible to do the above without having any sound conflicts i would appreciate a better method because up to this point i have tryed everything,,,the current configuration is now being tested,,,i myself hopes it works correctly,,,last i checked everything was running fine,,,and if ya asking if i can run a nondedicated server here and join my own server and have all the sounds in all maps,,,including dogs if im using the serverside setup instead of the clientside one i made,,the answer would be yes,,the client was very easy to make and is also now currently being tested by me and some users ,, now with not one missing sound that i know of except for a toilet flush wave i need to add lol for certain maps in the client,,the serverside one was much more complicated as i have found,,now if anyone would like to see if they can create a better one then more power to ya hehehe,,,i would welcome any help:)))

Gold<<mohha freak
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

good news,,,the last modification i did to the ubersound,,,in conjunction with using a sound.scr for needed sounds for the m maps that have been converted to multiplayer was a complete success,,,i would like to thank Parts for that info i found in another thread here,,,thank ya Parts!!!
Gold<<mohha freak
WarTech
Colour Sergeant
Posts: 88
Joined: Mon May 05, 2003 3:15 am

Post by WarTech »

Gold wrote:good news,,,the last modification i did to the ubersound,,,in conjunction with using a sound.scr for needed sounds for the m maps that have been converted to multiplayer was a complete success,,,i would like to thank Parts for that info i found in another thread here,,,thank ya Parts!!!
Gold<<mohha freak
Hi there Gold!!

I wanted to take a minute to give thanks to GOLD with all of the hard work he has put into the ubersound. The man has put in endless hours behind that one FRICKING file that hardly anyone out ther has been wanting to touch with a 10 foot stick. Any how due to he's contribution I can now say that I am now about 2 weeks away from completing the MOD for Spearhead. Its been running on 3 <TWZ> server and on 1 {UDT-2} server very successfully. As soon as I complete the few remaining maps for the mod I will try to follow Small_Sumo's advice and try to do a retro so the mod can be use in MOHaa also.

I also want to thank the .MAP and TMT community for providing all kinds of tips/support and ideas on how to get around some of the obstacles that I encounter during this project. Name that I can recall right of the top of my head are:

MANY THANKS TO:

JV_MAP
BDBODGER
MPOWELL1944
TLTRUDE
BIG_HEAD
STATT
SGT PEPPER
ALCOHOLIC

<TWZ> and {UDT-2} and {UDT-1} clan members for providing endless hours for testing and bug reports.

and many more others that I just cant recall their names at this moment.

PS:
Gold is my other half in this project GREAT work FREAK MAN!!! :P

ANY WAY THANKS TO ALL
<TWZ>Wartech
Fragon on!!!
Post Reply