The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Thu Mar 28, 2024 4:47 pm 

 View unanswered posts | View active topics


 Board index » General Area » Modding
Post new topic Reply to topic Users browsing this forum: No registered users and 3 guests
Author
Message
TE-4ev3r


User avatar
Joined: Sat Jul 16, 2005 3:18 pm
Posts: 1251
Location: That sunshiny state.
Post Posted: Thu Nov 10, 2005 9:39 pm    Post subject: Action Wavs
Reply with quote
 
How do you get action wav files to work with your V-Chat sayings?


Image
Image
 Top Offline
Profile
Author
Message
TE-Deadman Inc.


User avatar
Joined: Wed Jun 08, 2005 9:07 am
Posts: 1320
Location: Ozzieland
Post Posted: Fri Nov 11, 2005 7:59 am    Post subject:
Reply with quote
 
I'm usually the one with the voice pack answers but I'm really not experienced with custom sound files.


Image
 Top Offline
Profile
Author
Message
_KILLER_


User avatar
Joined: Wed Jun 08, 2005 9:10 am
Posts: 535
Location: LooK outside ur window foo
Post Posted: Sat Nov 12, 2005 8:15 pm    Post subject:
Reply with quote
 
hm. Well. You should put them in your TRIBES/base folder

Then if your using Presto. (code) :
Code:
 Say::New( yellOops,      "oops2",   "Oops!")


Say::new /don't worry about
yellOops, /Shows up on Presto chat
"oops2" /name of wav file
"Oops!" /What you say

I think thats it. Nox would know.



Image
c0me g3t s0me
 Top Offline
Profile
Author
Message
TE-Deadman Inc.


User avatar
Joined: Wed Jun 08, 2005 9:07 am
Posts: 1320
Location: Ozzieland
Post Posted: Sat Nov 12, 2005 8:39 pm    Post subject:
Reply with quote
 
I might try that.


Image
 Top Offline
Profile
Author
Message
TE-Noxwizard


User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 942
Location: Texas
Post Posted: Sun Nov 13, 2005 9:12 am    Post subject:
Reply with quote
 
He wants the V chat menu ones. To do that you have to edit chat.cs in scripts.vol. Just find the ~.wav and edit to correspond to the new wav file.


Image
Image
 Top Offline
Profile WWWICQYIM
Author
Message
TE-4ev3r


User avatar
Joined: Sat Jul 16, 2005 3:18 pm
Posts: 1251
Location: That sunshiny state.
Post Posted: Mon Nov 14, 2005 6:45 pm    Post subject:
Reply with quote
 
I know how to edit it, but when I looked in the sound vol with the wav files, and tried use some of the sounds (like explosion, mortar reload, etc) it didn't work. I know how to edit the v-chat itself with the generic voice sounds, I just want the action sounds.


Image
Image
 Top Offline
Profile
Author
Message
TE-4ev3r


User avatar
Joined: Sat Jul 16, 2005 3:18 pm
Posts: 1251
Location: That sunshiny state.
Post Posted: Mon Nov 14, 2005 7:03 pm    Post subject:
Reply with quote
 
In other words, I need the names for the sounds (explosion, etc)
The ones I've tried using vol extractor didn't work



Image
Image
 Top Offline
Profile
Author
Message
TE-Noxwizard


User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 942
Location: Texas
Post Posted: Mon Nov 14, 2005 11:18 pm    Post subject:
Reply with quote
 
It could be that it's being called from player chat, so it automatically assigns your armor type to the front. The ~w gets put on by the function, so it might reference your gender as well.

For example, when you join an Annihilation server for the first time, it says "Hi" in a female voice, well it's not just calling ~whello.wav, the actual file is:
~wfemale3.whello.wav

So, it may not be possible to play non-human sounds to the commands. I'll look into it sometime.

Here's the command that gets called:
Code:
function addPlayTeamChat(%text, %msg, %sound)
{
   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   if($curPlayChatMenu != "")
      %text = $curPlayChatMenu @ "\\" @ %text;
   addCMCommand(PlayChatMenu, %text, say, 1, %msg);
}

As you can see it adds the ~w, the addCMCommand appears to be hardcoded into Tribes, it must be the part that figures out the armor gender to use.

These are all the ones found in sound.vol, just try a few and see what happens. Like:
Code:
addPlayTeamChat("aNo Problem", "No Problem.", Access_Denied);


    Access_Denied.wav
    activateBeacon.wav
    activateTele.wav
    ammo_activate.wav
    ammo_power.wav
    ammo_use.wav
    Button1.wav
    Button2.wav
    Button3.wav
    Button4.wav
    Button5.wav
    button_hard.wav
    button_soft.wav
    buysellsound.WAV
    BXplo1.wav
    BXplo2.wav
    BXplo3.wav
    BXplo4.wav
    CapturedTower.wav
    command_activate.wav
    command_power.wav
    command_use.wav
    crash.wav
    C_BuySell.wav
    debris_large.wav
    debris_medium.wav
    debris_small.wav
    DISCLOOP.WAV
    discreload.wav
    discspin.wav
    Door1.wav
    Door2.wav
    Dryfire1.wav
    elevator1.wav
    elevator2.wav
    elf_fire.wav
    energyexp.wav
    energypackon.wav
    Error_Message.wav
    EXPLO3.WAV
    Explo4.wav
    failpack.wav
    Flag1.wav
    flagcapture.wav
    flagflap.wav
    flagreturn.wav
    flierRocket.wav
    float_explode.wav
    float_target.wav
    flyer_dismount.wav
    flyer_fly.WAV
    flyer_idle.wav
    flyer_mount.wav
    forceclose.wav
    forceopen.wav
    generator.wav
    Grenade.wav
    heavy_thrust.wav
    hfootlhard.WAV
    hfootlsnow.WAV
    hfootlsoft.WAV
    hfootrhard.WAV
    hfootrsnow.WAV
    hfootrsoft.WAV
    inv_activate.wav
    inv_power.wav
    inv_use.wav
    jammer_on.WAV
    Land_On_Ground.wav
    laser.wav
    laserhit.WAV
    LeftMissionArea.wav
    lfootlhard.WAV
    lfootlsnow.WAV
    lfootlsoft.WAV
    lfootrhard.WAV
    lfootrsnow.WAV
    lfootrsoft.WAV
    lightning_idle.WAV
    LostTower.wav
    Machgun2.wav
    machgun3.wav
    machinegun.wav
    mfootlhard.WAV
    mfootlsnow.wav
    mfootlsoft.WAV
    mfootrhard.WAV
    mfootrsnow.wav
    mfootrsoft.WAV
    mine_act.wav
    mine_exp.wav
    mortar_fire.wav
    mortar_idle.WAV
    Mortar_reload.wav
    motion_activate.wav
    pda_on.wav
    Pku_ammo.wav
    Pku_hlth.wav
    Pku_weap.wav
    Plasma2.wav
    player_death.wav
    pulse_power.wav
    rain.wav
    repair.wav
    Ricoche1.wav
    Ricoche2.wav
    Ricoche3.wav
    rifle1.wav
    rmt_camera.wav
    rmt_radar.wav
    rmt_turret.wav
    rocket2.wav
    rockexp.wav
    seek_fire.wav
    sensor_active.wav
    sensor_deploy.wav
    shell_click.wav
    shell_hilite.wav
    shieldhit.wav
    shield_on.WAV
    shockexp.wav
    sniper.wav
    Sniper2.wav
    Snow.wav
    targetlaser.wav
    teleport2.wav
    tgt_laser.wav
    throwitem.wav
    thrust.wav
    turretexp.wav
    turretfire1.wav
    turretfire2.wav
    turretfire4.wav
    turretoff1.wav
    turretoff2.wav
    turretoff4.wav
    turreton1.wav
    turreton2.wav
    turreton4.wav
    turretturn1.wav
    turretturn2.wav
    turretturn4.wav
    turret_whir.wav
    usepack.wav
    Weapon5.wav
    wind1.wav
    wind2.wav



Image
Image
 Top Offline
Profile WWWICQYIM
Author
Message
TE-4ev3r


User avatar
Joined: Sat Jul 16, 2005 3:18 pm
Posts: 1251
Location: That sunshiny state.
Post Posted: Tue Nov 15, 2005 5:24 pm    Post subject:
Reply with quote
 
Nope, doesn't work.


Image
Image
 Top Offline
Profile
Author
Message
TE-Noxwizard


User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 942
Location: Texas
Post Posted: Tue Nov 15, 2005 5:47 pm    Post subject:
Reply with quote
 
You could probably alter the code to make it play it. Something like:
Code:
function addPlayTeamChat(%text, %msg, %sound, %sound2)
{
   %clientId = Player::getclient(%player);

   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   if($curPlayChatMenu != "")
      %text = $curPlayChatMenu @ "\\" @ %text;
   addCMCommand(PlayChatMenu, %text, say, 1, %msg);
   Client::sendMessage(%ClientId, 1,"~w" @ %sound2);
}


So you would put:
Code:
addPlayTeamChat("aNo Problem", "No Problem.", noprob, Access_Denied);


This is just a guess, so it may or may not work.



Image
Image
 Top Offline
Profile WWWICQYIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Modding
Previous topic :: Next topic  
Go to page 1, 2  Next
Page 1 of 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group