New Class - How to select?


(OlMahum) #1

Hi!

I’ve created a new class called “sniper”.

How can i select it? Where can i add a button to change to sniper?

ty

OlMahum


(-xXx-Suicide) #2

I’m very much an amature at coding, but I’m going to take a shot in the dark and say that you could either try
A) add it to g_cmds.c so you can type it in the console (worked in RtCW for jetpilot)
B) looking in the UI project. I’m guessing it’s around there somewhere.

Kinda vague, but I’m not the most knowledgable. Hopefully that will help at least a little!


(Mr_Tickles) #3

Take a look at the SpecOps mod, it’s done exactly what you are trying to do. Email SpiderMonkey, he may be able to help you.
www.specops-mod.tk (Yes, it is very much in need for an overhaul and has been pending for a few months now :S)


(S. Monkey) #4

You could try getting your own ideas :stuck_out_tongue: