Alliedassault           
FAQ Calendar Search Today's Posts Mark Forums Read
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Script for Quick DM Messages (instamsg_group_x)
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Old
  (#1)
CiD is Offline
Member
 
Posts: 63
Join Date: Jan 2002
   
Default 01-29-2002, 10:18 AM

I have looked all around for a script to accomplish this task and have found nothing so I put one together and figured I post it so others looking for this type of script could be helped.

The easiest thing to do is make a text file called custom.cfg in your MOHAA/main directory and it will be executed everytime you start the game. Then copy-and-paste the following text into it:

***Start Copy***
// CiD'z Voice Skriptz

// instamsg_group_a
alias move_in "say *11"
alias fall_back "say *12"
alias left_flank "say *13"
alias right_flank "say *14"
alias hold_pos "say *15"
alias cover_fire "say *16"
alias regroup "say *17"

// instamsg_group_b
alias cover_me "say *21"
alias cover_you "say *22"
alias follow_me "say *23"
alias take_point "say *24"
alias take_lead "say *25"
alias taking_fire "say *26"
alias charge_cmd "say *27"
alias attack_cmd "say *28"
alias open_fire "say *29"

// instamsg_group_c
alias yes_sir "say *31"
alias no_sir "say *32"
alias enemy_spot "say *33"
alias sniper_spot "say *34"
alias nade_cover "say *35"
alias area_clear "say *36"
alias great_shot "say *37"
alias thanks "say *38"
alias owe_you "say *39"

// instamsg_group_d
alias all_u_got "say *41"
alias out_men "say *42"
alias yellow_belly "say *43"
alias cowards "say *44"
alias target_practice "say *45"
alias come_prepared "say *46"
alias try_again "say *47"
alias shoot_better "say *48"
alias made_mess "say *49"

// instamsg_group_e
alias get_killed "say *51"
alias poor_leader "say *52"
alias good_rid "say *53"
alias get_killed_2 "say *54"
alias get_down "say *55"
alias out_foxhole "say *56"
alias own_hiding "say *57"
alias out_my_way "say *58"

***End Copy***
You can then type in binds below these commands like the following:
bind kp_end "out_my_way"
Then all you would have to do is press 1 on the numberpad and you will speak it.
You can change the names of the aliases above to something more descriptive, but be sure to use that new name in your bind statements and don't change the stuff in the quotes or it won't work.

This script works great on mine and friends machines, but I am not responsible for any damage these scripts do to your machine.. Just covering myself

Have fun and please be responsible w/ this script.

Thanks Coriolis for your help.

  
Reply With Quote
Old
  (#2)
MADMAX is Offline
Junior Member
 
Posts: 25
Join Date: Jan 2002
Location: australia
   
Default 01-30-2002, 12:01 AM

just tried it out truly awsome now my medal of honor is complete this rocks ..send the man a million bucks
  
Reply With Quote
Old
  (#3)
coax is Offline
Senior Member
 
Posts: 141
Join Date: Jan 2002
Location: Austin, Tx
 Send a message via ICQ to coax  
Default 01-30-2002, 11:10 AM

OMG, I've been trying to do this forever & a day!!! You are a life saver!! I hacked for 5 or 6 hours one night & couldn't figure it out. I'm not a scripting aliasing genious either ya know. Heh..

Damn why'd they make it so damn hard? when it's a quake3 engined game & so easy in other games that use it or games like UT.

I was browsing the forum tonight looking for just such a post as this!!! Thanks for posting it & the warning too. You know some ppl will be spamming though but this info would've come out anyway.

  
Reply With Quote
Old
  (#4)
coax is Offline
Senior Member
 
Posts: 141
Join Date: Jan 2002
Location: Austin, Tx
 Send a message via ICQ to coax  
Default 01-30-2002, 11:20 AM

Btw, people can go here to get the right syntax for some of the keys, mainly the keypad.. Those keys worked in Wolf anyway..
http://www.planetquake.com/thebind/bindlist.shtml
  
Reply With Quote
Old
  (#5)
CiD is Offline
Member
 
Posts: 63
Join Date: Jan 2002
   
Default 01-30-2002, 11:27 AM

I hope it doesn't get abused..
I am just thinking that if it was easier to give a voice message we be able to use them more. It is much easier to hit 1 on the numpad to warn of an incoming nade than to hit v,3,5 but accidently hit 4 and warn of a sniper instead so everyone gets down instead of running

[This message has been edited by CiD (edited January 30, 2002).]
  
Reply With Quote
Old
  (#6)
MADMAX is Offline
Junior Member
 
Posts: 25
Join Date: Jan 2002
Location: australia
   
Default 01-30-2002, 11:33 AM

Yes you are the man finally someone came out of the closet heheh well done!
  
Reply With Quote
Old
  (#7)
Pugilist is Offline
Senior Member
 
Posts: 144
Join Date: Jan 2002
Location: Brooklyn, USA
   
Default 01-31-2002, 06:08 AM

CiD, I pasted your script into a new file like you instructed, and then typed bind kp_end "out_my_way" below the list of commands and it doesn't work. Can you tell me what I might be doing wrong? thanks

------------------
  
Reply With Quote
Old
  (#8)
CiD is Offline
Member
 
Posts: 63
Join Date: Jan 2002
   
Default 02-01-2002, 04:32 AM

Pugilist,
First thing to try is to start up a multiplayer server game on your pc, select a team and weapon so you are in the game, then open the console and type out_my_way or any of the other alias names and hit enter. If the sound works then thats means the alias was created and there is something wrong w/ the bind.
If no sound plays that probably means that the custom.cfg file didn't get run. If that is the case then it could be a couple things. Double check that the custom.cfg file is in your MOHAA/main folder. Also if you created the file in notepad, it may be named custom.cfg.txt but windows is hiding the known file extension. Try going into your file options and uncheck 'Hide known file extensions', then get rid of the .txt extension.
If none of this helps, let me know.

[This message has been edited by CiD (edited February 01, 2002).]
  
Reply With Quote
Old
  (#9)
coax is Offline
Senior Member
 
Posts: 141
Join Date: Jan 2002
Location: Austin, Tx
 Send a message via ICQ to coax  
Default 02-01-2002, 06:55 AM

Good advice to Pugilist, CiD.. Btw, my "CiD'z Voice Skriptz" is working fine in my custom.cfg.


I got another couple of questions though.

1) Where did you find the information for these aliases? IE. the *34 & so on. I know that is just the #'s for the menus, but I'd meybe like to expand on it if possible. Which leads to Question#2.

2) Is it possible to make certain sayings said to all instead of just team? As in, "Yes Sir" to all instead of just team? I think that could come in handy in FFA matches or even sometimes in TDM or obj matches too.


Last, Pugilist, make sure your numlock key is on, otherwise it might not work. Least I encountered that problem with my UT taunt binds.

------------------

#~ridin'_the_wire~0

[This message has been edited by coax (edited February 01, 2002).]
  
Reply With Quote
Old
  (#10)
CiD is Offline
Member
 
Posts: 63
Join Date: Jan 2002
   
Default 02-01-2002, 08:18 AM

I believe most of the multiplayer commands, like instamsg_group_x, I found just looking through cgamex86.dll with my hex editor. Some of the commands have comments in the file as well.
Unfortunately, I think that most of the code to execute the DM voice messages is compiled.
As far as I could tell from looking around is the menus themselves are just .tga files that are loaded as part of the hud. That seems to me that the menus were never meant to be very dynamic.
I guess you could put together an alias yourself that does basically the same as the voice commands. Maybe play the sound you want and then execute a say command instead of a sayteam. But then you would not have the dynamic ability of the voice classes that are assigned to the models, like axis5, airborne, ranger, etc. because you would be stuck w/ one sound.
  
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.