[T1 Request] Repair Kits

wrEk

Veteran X
I need a script for z0dd that will:
  • Buy, and use, a definable amount of repair kits at an Inv at the press of a button (or 6 repair kits if having the amount definable is too cumbersome)
  • With this same button, if I'm not at an Inv, it would use the one repair kit that I have
Wish I could script, then I could just do it myself :-| Oh well.
 
Code:
bindCommand(keyboard0, make, "h", TO, "z0ddkit::go();");
bindCommand(keyboard0, break, "h", TO, "");
function z0ddkit::go()
{
	for(%cnt = 1; %cnt <= 6; %cnt++)
	{
	    remoteEval(2048, useItem, 39);
	    remoteEval(2048, buyItem, 39);
	}
}

z0dd_hud has mute features which will let you ignore the "you don't have a repair kit to buy" or whatever message it says.
 
i cant get any mute functions to work, ive tried z0dd_hud ones, as well as independant ones, they never mute the messages.
anyideas why?
 
my brother edited the z0dd_kit so if someone can host it for me that would be very nice. its set up to where you do not need to press a key to buy health kits at an inv, it will automatically do it for you when you choose your load out. its stand alone so it should work with any script packs and what not. talk to my brother "savage" if you have any problems.

dcc me in irc if you need it, nick: valcom, #rez.
 
Last edited:
open z0ddhud, go down to here

Code:
/////////////////////////////////////////////////////////////////////////////////////////
// Proces and route all client messages
/////////////////////////////////////////////////////////////////////////////////////////

find

Code:
else if (%msg == "Station Access On") {
		z0ddhud::enteredStation(%msg);
		return (!$z0ddhud:filterMsgs);
	}

and change it to

Code:
else if (%msg == "Station Access On") {
		z0ddhud::enteredStation(%msg);
                z0ddkit::go();
		return (!$z0ddhud:filterMsgs);
	}
 
For the above to work, you need to have z0ddkit::go() functions in a file before z0dd_hud.cs or in z0dd_hud.cs
 
yeah sorry, you need to be using z0ddkit for it to work
i just assumed you were still using z0ddkit wrek

i use my own form of repair kit script, which exec's before z0ddhud
 
SuperSlug said:
For the above to work, you need to have z0ddkit::go() functions in a file before z0dd_hud.cs or in z0dd_hud.cs
you would just need the function defined sometime before you enter a station in the game, the load order doesn't matter in tribes 1 scripting
 
Back
Top