Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Key
Key [message #267956] Thu, 21 June 2007 23:20 Go to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
i had a friend that made his own taunts in the key config file source by changing the animations form the game into it but when i open the file i had no clue what i was looking at how do i do this?
Re: Key [message #267975 is a reply to message #267956] Fri, 22 June 2007 00:47 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Place keys.cfg into your data folder, go ingame and just press numpad keys.
Re: Key [message #267979 is a reply to message #267956] Fri, 22 June 2007 00:58 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
I am not sure what you are asking to do, if you want custom taunts on your client then it is probably possible to open your always.dat and rename other taunts to the ones that the server calls from the client.
The server calls the following animations:
h_a_a0a0_l12
H_A_a0a0_L22
H_A_a0a0_L23
H_A_a0a0_L24
H_A_a0a0_L25
H_A_a0a0_L58
H_A_cresentkick
H_A_sidekick
H_A_punchcombo

Try to change other animations to these file names, I don't know if it will work, but it might give you other "moves" to everyone else. The worst it could do it crash your client and you have to restore your always.dat (this isn't going to be rengaurd friendly).

If you mean how do you edit the server so that when players press the numpad keys it plays other animations from the stock ssgm ones, then search the source code for "MDB_Taunt_Key" and change the above mentioned animation names.



[Updated on: Fri, 22 June 2007 00:58]

Report message to a moderator

Re: Key [message #268002 is a reply to message #267956] Fri, 22 June 2007 02:28 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
well i siad he made his own taunts in the key file u have to have ur custom one u put in ur data folder ok it only worked on the server he was modding (idk y) and i asked him how do you change them and he said change the animation
Re: Key [message #268003 is a reply to message #267956] Fri, 22 June 2007 02:33 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Then he used the second method I suggested (most likely).


Re: Key [message #268010 is a reply to message #267956] Fri, 22 June 2007 02:47 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
well idk how he ade it so they ONLY work on that serv and stuff (u also had to have the key file) how the heck do i test them i looked theres like a lot!!
Re: Key [message #268013 is a reply to message #267956] Fri, 22 June 2007 02:56 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
He made it for his server only because the keys.cfg file is only the key hook, the actual animation it triggers is defined on the server under "MDB_Taunt_Key".


Re: Key [message #268014 is a reply to message #267956] Fri, 22 June 2007 02:57 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ok there is where u lost me my next question was going to ask where do i type it all at but i have a feeling u just answered it?
Re: Key [message #268017 is a reply to message #267956] Fri, 22 June 2007 03:13 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
In SSGM there will be something that looks like this:

		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt1,h_a_a0a0_l12");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt2,H_A_a0a0_L22");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt3,H_A_a0a0_L23");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt4,H_A_a0a0_L24");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt5,H_A_a0a0_L25");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt6,H_A_a0a0_L58");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt7,H_A_cresentkick");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt8,H_A_sidekick");
		Commands->Attach_Script(obj,"MDB_Taunt_Key","Taunt9,H_A_punchcombo");



Just change the animation names to the new animations you want it to play. The animation names are the "H_A_punchcombo" ones...

To find the names of more animations just search the always.dat with xcc mixer, there are planty to choose from.



Re: Key [message #268018 is a reply to message #267956] Fri, 22 June 2007 03:16 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)

1)ok well what do i have to do in the key source files? do i have to make it to only work on my serv if so how?

2)or can i make it where it works in any serv o and btw this scripts are ssaow 1.5 Wink

3)also see where it says taunt 1 now which numpad button is tuant1?

4)and my friend also added taunts to buttons like n,m,u,t,i how do i change all that?

[Updated on: Fri, 22 June 2007 03:37]

Report message to a moderator

Re: Key [message #268037 is a reply to message #268018] Fri, 22 June 2007 04:43 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
joe937465 wrote on Fri, 22 June 2007 06:16


1)ok well what do i have to do in the key source files? do i have to make it to only work on my serv if so how?



If you can do moves in other peoples servers now, then you don't need to change anything on the client at all.

joe937465 wrote on Fri, 22 June 2007 06:16


2)or can i make it where it works in any serv o and btw this scripts are ssaow 1.5 Wink



That is a different thing alltogether. The onlt way that springs to mind is by changing the file names of other animations to the ones i listed before, this may trigger them instead of the one that the server is trying to make play for you. However this is just a guess.
I did mention it before, you have now been answered this question twice.

joe937465 wrote on Fri, 22 June 2007 06:16


3)also see where it says taunt 1 now which numpad button is tuant1?


That would be numpad "1"

joe937465 wrote on Fri, 22 June 2007 06:16


4)and my friend also added taunts to buttons like n,m,u,t,i how do i change all that?


Just add more key hooks, but I would take one thing at a time and try to modify the existing ones first. When yo uhave that working try expanding. One step at a time dude.



Re: Key [message #268258 is a reply to message #267956] Fri, 22 June 2007 17:22 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
also reborn i chanegd them to new one sin the aow.ccp and..................after they worked but none of my chat hooked things worked (by meaning the commands you gave me)
Previous Topic: For those people who don't know C++
Next Topic: More Questions
Goto Forum:
  


Current Time: Mon Jun 10 17:55:06 MST 2024

Total time taken to generate the page: 0.00813 seconds