Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 13 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD+UO General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: one final question
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD+UO General
Posted: Saturday, Sep. 22, 2007 09:27 pm
one last thing i would love to know and able to incorporate into the mod guys please.

let me see if i can explain what it is i would like to do and if anyone could help me achieve this.

when the client joins the game and the gametype which you have to wait for 20 seconds to join in i would like to know how to script a piece of music playing in the background while they wait,also i would like to know how to script a piece of music playing in the background when the client joins the gametype where once you get killed you have to wait for the map to restart or wait for everyone on the opposite team to be killed,the music volume only needs to be playing just so you can hear it so not to loud.

i hope you follow what it is i would like to know how to do please guys.

this is indeed the last piece to my puzzle.

many thanks in advance
Share |
playername
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD+UO General
Posted: Sunday, Sep. 23, 2007 04:44 am
Ok i think i get what you are saying, When a player connects he has to wait 20 seconds to join, and in that 20 seconds he will hear music. Also once someone dies he will hear music untill the next round.
I have one qestion so far, when the player connects is he able to move around like in spectate? If he is this might be a challenge. So really just play music when a player is in spectate?
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
sk8r196
General Member
Since: Aug 30, 2005
Posts: 139
Last: Jan 9, 2008
[view latest posts]
Level 4
Category: CoD+UO General
Posted: Sunday, Sep. 23, 2007 05:25 pm
A new script would have to be made for this as when you are a spectator or dead you still hear the ambient sound of the map. You could just change the ambient sound to a music track and edit the sound alias accordingly, but regular players would still hear it while they play.
Share |
playername
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD+UO General
Posted: Sunday, Sep. 23, 2007 05:53 pm
I was thinking more of a script that only plays sounds when you are in spectate. When you die you are in spectate really.
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD+UO General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»