kristoffer-tvera / autoexec

Online config file maker for CS:GO
http://bzl.no/
9 stars 0 forks source link

Merge krisskarbo.com crosshair generator into this Autoexec? #4

Closed ncla closed 9 years ago

ncla commented 10 years ago

https://github.com/Skarbo/CSGOCrosshair

The only problem I see is the ridiculous license he has chosed. http://creativecommons.org/licenses/by-sa/3.0/deed.en_US

kristoffer-tvera commented 10 years ago

Without the "preview on 6 different maps while moving cursor" functionality, this could be implemented witihn reasonable time.

Is his project worth building onto? I'm going to go out on a limb and say that it probably isnt.

Two of the cvars he uses to build the crosshair is already deprecated, and has no effect. He has a "color picker palette" composed of almost 2000 lines of javascript code that can spawn milions of different colors (when you can realistically only create something like 40-60 colors in the game).

The sheer fact that his php compoent that deals with keyboard interaction (keyboard.php) is a thousand lines of code is enough to put me off the idea of directly porting this.

ncla commented 10 years ago

Yeah, I was just thinking to port just the crosshair generator without the keybinds, bare minimum.

Is his project worth building onto? The HTML looks worrying because of the tables. Apart from that, only need to strip it and adjust the styling to match Autoexec site.

kristoffer-tvera commented 10 years ago

Entirely possible and if done right can add a great feature. If you do decide to look into it, and see that you can cut a lot of his dependencies (like some of the 13 different libraries for instance), it would look awesome. If it turns out too much of it relies on his nested tables of tables of tables (yup, i noticed that one too), then I will try to make a simple yet functional crosshair generator here.

From what I can make out, reduced to its bare elements, the crosshair cvars mostly surround around the idea of resizing rectangles, which can be done with css/js.

I'll be spending most of tomorrow making images / improved text explanations to better explain some of the more cryptic cvars.

I greatly appreciate all the help I can get making this project a more solid tool for the entire counterstrike community.

ncla commented 10 years ago

Alright, I will work on stripping it down today and will post an update later.

ncla commented 10 years ago

I checked the code how it works:

You can see my slow progress on my fork https://github.com/iamncla/CSGOCrosshair

kristoffer-tvera commented 10 years ago

Excellent work.

It also looks like he has functionality for creating multiple crosshairs (with keybinds attached). I dont see this as a necesity, and we would probably be better off without it.

Keep up the good work.