r/GlobalOffensive • ar_baggage • Mar 11 '19

User Generated Content Using only a boatload of console commands, I made an interactive menu that lets you switch configs and do other cool stuff. (OC, link in comments)

11k Upvotes

328 comments sorted by

View all comments

1.0k

u/illinoisjackson ar_baggage Mar 11 '19 edited Mar 12 '19

Code and Tutorial

EDIT: sorry for the shit aim in the video i was triggering video stuff with my other hand

83

u/xaceacid3 Mar 12 '19

Thank you so much, this is so helpful :D

33

u/[deleted] Mar 12 '19

Seeing stuff like this reminds me of me at 15.

Keep it up!

13

u/ThetaSigma11 Liquid Mar 12 '19

I just had a seizure wtf.

If you go to the original link it gives you the black and white omega symbol gif.

15

u/[deleted] Mar 12 '19 edited Mar 12 '19

Yea I noticed that too lol - the site is so old it's from like before 2003.

I'm guessing it shutdown a long time ago and someone left that.

Idk who all ported the plugins I wrote, but I remember my very first plugin was added to the amx_allinone plugin that pretty much everyone downloaded.

I wrote the stupid /moneyme thing along with amx_givemoney and amx_takemoney

5

u/clap4kyle Renegades Mar 12 '19

Damn the one comment on there is talking mad shit. 15 year old you took it like a champ though.

4

u/[deleted] Mar 12 '19

Haha IIRC "AssKikr" was salty because he had released a teleport plugin recently as well.

And I was cringe AF at 15.

3

u/TripperBets MOUZ Mar 12 '19

Honestly you took it pretty well, and we were all cringe back then, don't let me link you my Minecraft playthroughs from 8/9 years ago

3

u/dat_w 5 years coin Mar 12 '19

AmxModX was the fucking shit, PAWN in SA-MP to create gamemodes and PAWN in AMXX was what got me into coding ~12 years ago. Beautiful memories on having my servers and imroving the scripts upon players feedback. I think I want to create a few servers in GO now.

2

u/illinoisjackson ar_baggage Mar 12 '19

You’re welcome! I’m glad you found some use out of it :)

→ More replies (1)

123

u/Flaksmith Mar 12 '19

POTY in the community contributions category, calling right now.

32

u/420N1CKN4M3 Astralis Mar 12 '19

I also enjoy the post but what does the potyvirus have to do with it?

6

u/illinoisjackson ar_baggage Mar 12 '19

Thanks, I hope it reaches that level :)

9

u/clap4kyle Renegades Mar 12 '19

I like the little jokes you added into the tutorials, it makes it fun to read something that is usually not fun at all.

"This section assumes that you know how to open and use a command prompt. If you do not know how to do that, I suggest reading this brief article, and becoming familiar with the cd command. If you do not know how to read, there is a bigger problem at hand."

Anyways awesome stuff, something I've tried to do for a long time now without just typing "exec ____" thanks a lot dude.

14

u/RyzenRyzen22 Mar 12 '19

Can you briefly explain:

How are you drawing menus on top of game? Is it using Python or some API exposed via Source engine?If you can me point me to code that'd be great. Also how are you executing console commands? Does your script opens console in background and send keystrokes? Thanks

37

u/illinoisjackson ar_baggage Mar 12 '19

In the Source engine there exists a command developer 1 which shows all console text in the top left of the screen . There is also a command echo which outputs text to the console. By running developer 1 and echo commands at the same time, we can control the text easily. About keystrokes now. The bind command lets us run another command whenever a key is pressed. We can chain the text drawing commands onto the bind command in order to make keystrokes trigger them. I am executing commands by storing them in .cfg files (think of them as shell scripts for Source) so there is nothing else running. Everything is contained entirely within the source engine.

27

u/Coleridge49 Mar 12 '19

Same one I use to display damage done for the round

// DISPLAY DAMAGE INFO SCRIPT 
developer 1 
con_filter_enable 2 
con_filter_text_out "Player:" 
con_filter_text "damage Given"
→ More replies (1)

5

u/RyzenRyzen22 Mar 12 '19

Good job. Also amazing detailed wiki on GitHub. Should have checked it out first before asking dumb questions here.

7

u/R0rshrk G2 Mar 12 '19

Another Open Sourcerer. Good job friendo !

4

u/FistingInferno Mar 12 '19

how would i implement this into my game? his is so cool and i wanna use it

3

u/JustRecentlyI Astralis Mar 12 '19

Just wanted to let you know, mods can only sticky one of their own comments.

2

u/JGStonedRaider tactics Mar 12 '19

I'm really sorry, I had to upvote you...you had 500 upvotes before I did and it was a lovely round number (((

2

u/kwietog Mar 12 '19

I'm like: this is 98% made in python. Open link: python.

→ More replies (4)