GMod - What are you working on? January 2015 (#41)
781 replies, posted
What changes were made to actually make it work with 3D? Like why does your material edit but the old one doesn't?
Just curious. I'm really not familiar with valve's texture system at all, the documentation is quite le mess.
[QUOTE=thelastpenguin;46974187]What changes were made to actually make it work with 3D? Like why does your material edit but the old one doesn't?
Just curious. I'm really not familiar with valve's texture system at all, the documentation is quite le mess.[/QUOTE]
I have no idea, compare pp/dof.vmt (or my vmt) and pp/blurscreen.vmt and see for yourself.
Liberty Prime stuff
[video=youtube;dd_XLNfiMOY]http://www.youtube.com/watch?v=dd_XLNfiMOY[/video]
This thread causes me a specific kind of pain.
...
"I could have made this"
:suicide:
[QUOTE=MasterDaPro11;46977426]This thread causes me a specific kind of pain.
...
"I could have made this"
:suicide:[/QUOTE]
[t]http://blogs-images.forbes.com/insertcoin/files/2014/06/flappy-bird.jpg[/t]
[QUOTE=bobbleheadbob;46977598][t]http://blogs-images.forbes.com/insertcoin/files/2014/06/flappy-bird.jpg[/t][/QUOTE]
Time to fap that Agree button.
[editline]21st January 2015[/editline]
[QUOTE=MasterDaPro11;46977426]This thread causes me a specific kind of pain.
...
"I could have made this"
:suicide:[/QUOTE]
We should make a hashtag for this.
[B]#couldvemadethat[/B]
[IMG]http://screenshots.en.sftcdn.net/en/scrn/45000/45182/super-mario-3-mario-forever-08-700x525.png[/IMG]
There's too much stuff for everyone to make, so don't feel bad. Make something new.
[QUOTE=vrej;46977167]Liberty Prime stuff
[video=youtube;dd_XLNfiMOY]http://www.youtube.com/watch?v=dd_XLNfiMOY[/video][/QUOTE]
i'm always so, so very envious of people who can actually make effects. Those are so, so very beautiful and fitting, and the sounds add to it even more and it all comes together amazingly!
Second day back into GLua, and so far I've got certain things to work, including returning the crosshair back to the pitch value of your first bullet after a series of bullets (like in Counter-Strike), as well as somewhat randomized recoil as a whole. (I don't like guessable/easy to memorize recoil patterns.) I haven't done anything with inaccuracy/cones yet, because I'm working on my own ShootBullet function, which does multiple traces to simulate bullet drop:
[video=youtube;TCQcqOI4awQ]http://www.youtube.com/watch?v=TCQcqOI4awQ&feature=youtu.be[/video]
I'm not a huge fan of bullet drop, though, so in my gamemodes it will probably be super negligible. I've exaggerated it for this demonstration.
Like, two weeks ago I sent Rockmania a message on ScriptFodder asking if I could make an achievement pack for him and sell it as DLC. Since he never responded I was like 'you know, I think I'm at a stage where I can make a whole achievement system'
I still haven't found a colour scheme I really like. I know the close button and scroll-bar are out of place and need work. The small extra bit at the bottom was going to be, like, a search bar but I may scrap it entirely. I showed my friend and he said that the font on the left buttons looks bad, which is fair enough since it's fuckin default
[img]http://i.imgur.com/OJ05FHg.png[/img]
I drew all the icons in white and greys, so users can decide their own colour in the config, as well as highlight them when the user has completed the achievement.
Completion message:
[img]http://i.imgur.com/2LlWHBJ.png[/img]
I've also made a bunch of trails as completion rewards:
[img]http://puu.sh/eOGe9/06b5735c5b.jpg[/img]
I've so far written 56 achievements, each with their own icon, and have a [url=http://codepad.org/SjENPR08]config[/url] to go with it, too. Progress has kinda slowed this last week since I need to figure out how to handle saving/retrieving data. Like, my friend is helping with do MySQL for it, but I'm kinda struggling a lot.
[QUOTE=NiandraLades;46978456]Like, two weeks ago I sent Rockmania a message on ScriptFodder asking if I could make an achievement pack for him and sell it as DLC.[/QUOTE]
Have you tried message him with korean? :v:
Well, Enough of joke, I'm just fixing bugs and coding small stuffs for NutScript.
Not really visually impressive, I'm currently figuring out how to gather generic hl2 vehicles and other script vehicles in one piece.
Currently I've made common fuel system for generic hl2 and scar vehicles.
[t]http://i.imgur.com/mZ9Bj1z.png[/t]
[t]http://i.imgur.com/l8J1B7u.png[/t]
[t]http://i.imgur.com/rkWmnLy.png[/t]
Decided to finish my adminmod UI.
[IMG]http://p.sup.sx/i/1421831894.gif[/IMG]
[QUOTE=StonedPenguin;46978641]Decided to finish my adminmod UI.
[IMG]http://p.sup.sx/i/1421831894.gif[/IMG][/QUOTE]
I quite like the black colored one you have, Are you going to be releasing your admin mod or ? Because I wouldn't mind using it if you did release it, I need a replacement for ULX
[editline]21st January 2015[/editline]
[QUOTE=NiandraLades;46978456]Like, two weeks ago I sent Rockmania a message on ScriptFodder asking if I could make an achievement pack for him and sell it as DLC. Since he never responded I was like 'you know, I think I'm at a stage where I can make a whole achievement system'
I still haven't found a colour scheme I really like. I know the close button and scroll-bar are out of place and need work. The small extra bit at the bottom was going to be, like, a search bar but I may scrap it entirely. I showed my friend and he said that the font on the left buttons looks bad, which is fair enough since it's fuckin default
[img]http://i.imgur.com/OJ05FHg.png[/img]
I drew all the icons in white and greys, so users can decide their own colour in the config, as well as highlight them when the user has completed the achievement.
Completion message:
[img]http://i.imgur.com/2LlWHBJ.png[/img]
I've also made a bunch of trails as completion rewards:
[img]http://puu.sh/eOGe9/06b5735c5b.jpg[/img]
I've so far written 56 achievements, each with their own icon, and have a [url=http://codepad.org/SjENPR08]config[/url] to go with it, too. Progress has kinda slowed this last week since I need to figure out how to handle saving/retrieving data. Like, my friend is helping with do MySQL for it, but I'm kinda struggling a lot.[/QUOTE]
I swear you're by far the best Graphics designer I've seen, I love seeing you post your work since it's so good looking
[QUOTE=BigBadWilly;46978656]I quite like the black colored one you have, Are you going to be releasing your admin mod or ? Because I wouldn't mind using it if you did release it, I need a replacement for ULX
[/QUOTE]
It will probably stay private as long as I have a use for it.
[QUOTE=Handsome Matt;46978752]I keep saying this to you over and over but please just use a NoSQL solution, either JSON encoded data saved to a text file or MongoDB or anything but relational SQL; your data is going to be wide column and MySQL simply isn't designed for that, which is why you're having trouble getting anywhere.[/QUOTE]
I can't remember how to print screen on a MAC but I looked up MongoDB because I've never really seen it mentioned on FP. Found this and apparently it's windows only which could be pretty bad:
[url]https://github.com/Slidefuse/gmsv_mongolink[/url]
[QUOTE=NiandraLades;46978773]I can't remember how to print screen on a MAC[/QUOTE]
Cmd-Shift-3 (Cmd-Shift-4 to select a region to capture).
Auto saves to desktop.
[QUOTE=vrej;46977167]Liberty Prime stuff
[video=youtube;dd_XLNfiMOY]http://www.youtube.com/watch?v=dd_XLNfiMOY[/video][/QUOTE]
Did the soldiers set themselves in a line formation or did you just spawn them like that?
Anyway, that's pretty fucking cool.
[QUOTE=Handsome Matt;46978752]I keep saying this to you over and over but please just use a NoSQL solution, either JSON encoded data saved to a text file or MongoDB or anything but relational SQL; your data is going to be wide column and MySQL simply isn't designed for that, which is why you're having trouble getting anywhere.[/QUOTE]
How is that wide column? Relational databases are pretty much perfect for storing achievement data, because you can do things like querying how many players have specific achievement id or whatever.
[video=youtube;-aiHd-_dMso]http://www.youtube.com/watch?v=-aiHd-_dMso&feature=youtu.be[/video]
"don't struggle honey"
Working on getting existing software more compatible with garrysmod :v, I want my wii remote fully working.
So far i've got the A B 1 and 2 buttons to register properly, but no dice on the plus minus home or directional pad.
The pointing just controls my cursor, the lazy way. If i tried to implement it in any other way, it would woosh my camera.
[QUOTE=Handsome Matt;46978752]I keep saying this to you over and over but please just use a NoSQL solution, either JSON encoded data saved to a text file or MongoDB or anything but relational SQL; your data is going to be wide column and MySQL simply isn't designed for that, which is why you're having trouble getting anywhere.[/QUOTE]
No good/finished nosql modules for gmod are released afaik. But it's so little data, a simple json encoded text field in mysql will still perform better than json files (because you can run the queries async). If you use json files you also can't do cross server achievements which would suck.
[QUOTE=Handsome Matt;46979051]please no[/QUOTE]
I know that this is not true for all cases but in gmod we don't have async file I/O so every read/write will block the server. Even if the actual read/write is faster the server will still perform worse.
[QUOTE=Kamshak;46978965]a simple json encoded text field in mysql will still perform better than json files.[/QUOTE]
What do you think is faster? Reading from a file or from a remote database?
What if you have to search on a property that is within the json?
If json in a MySQL database is a good solution, why not have one table with one column and one row with [I]all[/I] data in json format?
Anyway if achievements can always be described as progress/total I guess it could be done in a relational database:
[B]Achievement[/B] | [U]id[/U], name, description, total
[B]PlyAchievement[/B] | [U]ply, achievement_id[/U], progress
Where PlyAchievement.progress >= Achievement.total means the achievement is achieved. Retrieving a list of Achieved achievements is expensive, but that could be resolved with a redundant PlyAchievement.Achieved field.
Where total could be "1" for things you need to do only once (e.g. say secret phrase).
This would get problematic when there are achievements with no discernible "progress" or when you want to keep track of how far you got in a last attempt. E.g. "Play for over 8 hours" -> "best attempt: 4 hours".
In that sense relational databases can limit the kind of achievements you can make and their functionalities.
can i just pay someone to do it for me
[QUOTE=FPtje;46979095]What do you think is faster? Reading from a file or from a remote database?
What if you have to search on a property that is within the json?
[/QUOTE]
That's absolutely not what i meant, please read the rest of the statement! It performs worse because the file operations will block and depending on the disk used (perhaps even a symlink to a network share or something to keep it in sync with other servers) that can cause quite some lagg.
[QUOTE]
If json in a MySQL database is a good solution, why not have one table with one column and one row with [I]all[/I] data in json format?
[/QUOTE]
I know how databases work. Let me instead explain what i ment:
1) We have some kind of unstructured data, achievements could be anything and lots of data needs to be tracked. Difficult to express in a RDBMS.
2) In my opinion the best solution would be a nosql solution. Now this doesn't work because we have no multi-os nosql modules.
3) Next best solution is text files, they don't work because you need to sync achievements over multiple servers.
4) Might use some tricks to sync the filesystem across servers. Network shares would be an option. Now reading/writing to them can be very slow. We only get synchronous file I/O in gmod so this is a bad option.
5) Store JSON to MySQL:
- Cross Server
- Reasonably Fast
- Easy for the developer
- Easy for the user to set up
=> Best solution i can think of
[QUOTE=Freezebug;46978960][video=youtube;-aiHd-_dMso]http://www.youtube.com/watch?v=-aiHd-_dMso&feature=youtu.be[/video]
"don't struggle honey"
Working on getting existing software more compatible with garrysmod :v, I want my wii remote fully working.
So far i've got the A B 1 and 2 buttons to register properly, but no dice on the plus minus home or directional pad.
The pointing just controls my cursor, the lazy way. If i tried to implement it in any other way, it would woosh my camera.[/QUOTE]
This + TrackIR = Victory
[QUOTE=Melted Bu11et;46977841]i'm always so, so very envious of people who can actually make effects. Those are so, so very beautiful and fitting, and the sounds add to it even more and it all comes together amazingly![/QUOTE]
Thanks bro
[editline]21st January 2015[/editline]
[QUOTE=ManFlakes;46978821]Did the soldiers set themselves in a line formation or did you just spawn them like that?
Anyway, that's pretty fucking cool.[/QUOTE]
Their AI works like that, they help each other and make formations.
I use MySQL for storing achievements and I see no issues with it.
Columns: plyid, achievementname (ENUM), progress
I store the achievement types and totals in the code, which I guess can be put in a table aswell as FPtje said. Progress is set to -1 whenever the achievement is completed, which makes it easier to process such info.
[QUOTE=wauterboi;46977767]There's too much stuff for everyone to make, so don't feel bad. Make something new.[/QUOTE]
*In the End by Linkin Park plays*
I've been taking a look at a new indie game that is in alpha at the moment, called "Due Process". It's a strategy and tactics related game where you have to plan out and attack a procedurally generated building with enemies inside (the enemies being another team of players).
Anyway, in this game they have a feature that lets you draw on the in-game map to plan out where to do stuff, which you can then see on the ground as you are walking around. I decided to recreate it in Garry's Mod. Turned out pretty cool!
[video=youtube;D7RW1AutxaU]http://www.youtube.com/watch?v=D7RW1AutxaU[/video]
[video=youtube;uf-bMjjTWfg]http://www.youtube.com/watch?v=uf-bMjjTWfg[/video]
I hope you realize people are going to draw nothing but dicks everywhere
Sorry, you need to Log In to post a reply to this thread.