class script + custom scope

Discuss our favorite gametype.

class script + custom scope

Postby ozzeh on Fri Apr 16, 2010 7:17 pm

few people told me to post this so w/e

support for Hoth, Desert, and Korriban classes.

made this out of bordem based on my jk2 name script
click here to download k
*changed to zip..
binds are on top of class.cfg
Code: Select all
// Jk3 Bindings
bind kp_pgdn "vstr sel_change"
bind kp_plus "vstr prv_change"
bind kp_downarrow "vstr nxt_change"
bind kp_enter "vstr set_change"

Code: Select all
set_change - changes class
nxt_change - next class
prv_change - prev class
sel_change  - select map

retarded keys? just an example k
if you already got a class changing script, forget this, yours is probably better k

----------------
EoS scope from jk2, modified
click here to download scope k











.
Last edited by ozzeh on Wed Apr 21, 2010 10:19 pm, edited 4 times in total.
Image
User avatar
ozzeh
 
Topic author
Posts: 59
Joined: Mon Oct 05, 2009 12:07 am
Local time: Tue May 14, 2024 1:08 pm
Karma: 0

Re: class script + custom scope

Postby A nub is In Ur Forum on Fri Apr 16, 2010 11:33 pm

Hmmmmm... Interesting! I didn't know anyone else had made serious yews of a console menu like this - I've been using a scheme like this of my own for years and find it very convenient. Though, you yews lots of cvars for it... that has the downside of potentially overflowing MAX_CVARS faster, especially if you were to add more maps. And the upside of keeping almost everything in one config, though, granted - my original implementation from several years ago was very similar in that respect before I revamped it. Aren't those initial "set Assignments" off a bit? Personally I'd just put a "vstr sel_chclass1" at the bottom to initialize all 4 properly automatically. Since you're not using seta, this has to go in autoexec.cfg or be executed manually every time, I assume, or did I miss something?

My own latest iteration uses some (optionally) CVAR_ARCHIVE CVARs to save state across exits, and a large number of configs to keep the total number of CVARs used down around 20. I keep it packed into a pk3 most of the time, heh. I've actually been considering releasing it for a while now, but haven't gotten around to it... maybe I'll check it over and release it soon. The only other classbinds I'd heard of before now just used f1-f6 for specific classes, fairly different - it has its benefits, and mine support using that method to supplement (or replace) the menu, but it takes a lot of keys if you yews a lot of classes - and I think they hardcode the binds across multiple configs, too, so you can't easilly change the keys used. Never actually had a copy of that implementation so I don't know for sure, I just made mine able to workalike based on what I heard.

Do you actually yews those example key assignments? I'd consider putting an example config in mine that would set those key assignments if it'd be useful to you if you ever wanted to try or switch to mine sometime once I release it, as a convenience for you. I already have multiple example bind sets in it anyways.
A nub is In Ur Forum
 

Re: class script + custom scope

Postby ozzeh on Sat Apr 17, 2010 1:07 am

yea I just added it to autoexec.cfg, I usually try stay away from seta whenever I can, most of the stuff in the config file for my jk2 server just yews set ... and I've never actually hit the cvar limit before lol

And no those were just examples, I yews F1-F4.

gonna fix the link and make it a pk3...


also, feel free to check out the sniper scope and tell me what you think
ported it from jk2 so..
Image
User avatar
ozzeh
 
Topic author
Posts: 59
Joined: Mon Oct 05, 2009 12:07 am
Local time: Tue May 14, 2024 1:08 pm
Karma: 0

Re: class script + custom scope

Postby Darth_Wayne on Sat Apr 17, 2010 2:54 am

wflz classhax > *
whoracle scope > *
Image
Darth_Wayne
kera and sfail's fiend
 
Posts: 898
Joined: Wed May 27, 2009 5:11 pm
Location: In the projects with Puff, the Magic Dragon
Local time: Tue May 14, 2024 1:08 pm
Karma: -73

Re: class script + custom scope

Postby Kerafym on Sat Apr 17, 2010 3:34 am

I used f1-f6 and a client side mod (the function a nub basically did for me :x) to make it map dynamic. I liked this system because I had f1-f6 mirror the order that the join menu was oriented, so I could easily change class just as fast as SKing with minimal though and delay involved. I could literally kill someone 3 seconds before respawn, and be changed classes in time for a perfect. Sometimes as close as 2 seconds from a respawn.

I also created base compliant .cfg versions of this for a few friends (2 of whom have repacked and distributed it as their own omfd) using f1-f6 for the classes, f7 and f8 for teams (o or d), and f9-f12 for maps.

The team and map binds are unnecessary with the client side mod as it automagically determined the proper class for your current team just by entering in "jan" or whatever class you wanted.
Hi. I'm angry on the internet.
User avatar
Kerafym
jkb's bro & svail's fiend
 
Posts: 1224
Joined: Fri Jun 26, 2009 5:07 pm
Local time: Tue May 14, 2024 2:08 pm
Karma: -1

Re: class script + custom scope

Postby Max Rambone on Sat Apr 17, 2010 5:47 am

My classbinds yews PGUP/PGDWN tp cycle through 'Hoth Defense/Hoth Offense...etc" and I yews:

7= snowtrooper
8= chewie
9= Demo... and so on.

Home = Spec
Del= kill

:)

~archi
Eventus stultorum magister.
User avatar
Max Rambone
Ramboner
 
Posts: 2662
Joined: Thu Jun 11, 2009 5:55 am
Local time: Tue May 14, 2024 12:08 pm
Karma: 16

Re: class script + custom scope

Postby Kerafym on Sat Apr 17, 2010 6:09 am

Del is a bit of a reach :O Also spec bind is for gays, real men bind spec to "~team s{enter}"

I yews "2" for SK. 3 is forcenext, alt is to yews, and q,e,f,z,x,c are various force powers.
Hi. I'm angry on the internet.
User avatar
Kerafym
jkb's bro & svail's fiend
 
Posts: 1224
Joined: Fri Jun 26, 2009 5:07 pm
Local time: Tue May 14, 2024 2:08 pm
Karma: -1

Re: class script + custom scope

Postby ozzeh on Sat Apr 17, 2010 10:49 am

apparently a similar scope was posted on filefront already

.....
i know the 1 i got was EoS in jk2, just modified it a little

can upload the EoS hud if you dont believe me...
Image
User avatar
ozzeh
 
Topic author
Posts: 59
Joined: Mon Oct 05, 2009 12:07 am
Local time: Tue May 14, 2024 1:08 pm
Karma: 0

Re: class script + custom scope

Postby Turky on Sat Apr 17, 2010 11:32 am

Darth_Wayne wrote:wflz classhax > *


u sure it wasnt the one he got from me? (pretty sure he never made one himself hehe)
Image
Image
Image
User avatar
Turky
dude weighs like 90 pounds
 
Posts: 3012
Joined: Mon May 25, 2009 4:32 pm
Location: the great communist world of china
Highscores: 1
Local time: Tue May 14, 2024 1:08 pm
Karma: -132

Re: class script + custom scope

Postby Darth_Wayne on Sat Apr 17, 2010 2:08 pm

duo sent it to me suz
Image
Darth_Wayne
kera and sfail's fiend
 
Posts: 898
Joined: Wed May 27, 2009 5:11 pm
Location: In the projects with Puff, the Magic Dragon
Local time: Tue May 14, 2024 1:08 pm
Karma: -73

Next

Return to JKA Siege

Who is online

Users browsing this forum: No registered users and 0 guests

cron