GMod - What are you working on? November 2015 (#51)
264 replies, posted
[QUOTE=immibis;49131229]Hey! I never called you a massive cunt!
[/QUOTE]
Well no, you didn't rate me artistic :v:
[QUOTE=Jcw87;49131620]I made something that somewhat resembles a MIDI player.
[video=youtube;s5AomLeZvOQ]https://www.youtube.com/watch?v=s5AomLeZvOQ[/video]
I suppose now I have to get soundfonts working with it.[/QUOTE]
Why not just use MP3s?
BTW, you can't look up or down in DOOM, not even a little bit.
in basically every doom engine port you can though
[QUOTE=immibis;49132002]
Why not just use MP3s?
[/QUOTE]
The Doom wads don't have MP3s inside them. They have MUS, which is really similar to MIDI. All the assets for gmDoom (except the sounds) and gmDoom Maps are loaded from actual Doom wads. It's a neat way to avoid any issues with distributing copyrighted content.
[QUOTE=immibis;49132002]
BTW, you can't look up or down in DOOM, not even a little bit.
[/QUOTE]
I'm fully aware of that. gmDoom has a doomguy mode that disables jumping and looking up and down, as well as a Doom HUD. However, due to how Source calculates stepping up to higher floors, you can't enter some passageways without jumping, so I don't use it.
[video=youtube;5XGOD2b00RE]https://www.youtube.com/watch?v=5XGOD2b00RE&feature=youtu.be[/video]
Thanks to zombine I now understand 3D2D a lot better.
Any idea why its not moving when I'm in firstperson?
Heres the code.
[CODE]
local eyePos = Vector( 0, 0, 0 )
local forward = Vector( 0, 0, 0 )
local forwardAngle = Angle( 0, 0, 0 )
hook.Add("HUDPaint", "myHud", function()
eyePos = LocalPlayer():EyePos()
forward = LocalPlayer():EyeAngles():Forward()
forwardAngle = forward:Angle()
cam.Start3D()
cam.Start3D2D( EyePos() + forward*20, Angle(0,EyeAngles().y-90,-EyeAngles().x+90), .2)
local DrawHealth = LocalPlayer():Health() or 0
local EchoHealth = LocalPlayer():Health() or 0
if DrawHealth > 250 then DrawHealth = 250 end
if DrawHealth < 0 then DrawHealth = 0 end
if DrawHealth == 0 then DrawHealth = 0 end
if DrawHealth != 0 then
draw.RoundedBox(1, 0, 0, (100) * DrawHealth / 100, 10, Color(204, 0, 0, 255))
end
draw.SimpleText( LocalPlayer():Health(), "TheDefaultSettings", 0, 0, Color(255,255,255,255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
cam.End3D2D()
cam.End3D()
end)
[/CODE]
Fix the font quality by increasing the size of the whole thing and then reduce it in cam.Start3D2D last arg.
[QUOTE=CGHippo;49132097][video=youtube;5XGOD2b00RE]https://www.youtube.com/watch?v=5XGOD2b00RE&feature=youtu.be[/video]
Thanks to zombine I now understand 3D2D a lot better.
[B]Any idea why its not moving when I'm in firstperson?[/B]
Heres the code.
[CODE]
local eyePos = Vector( 0, 0, 0 )
local forward = Vector( 0, 0, 0 )
local forwardAngle = Angle( 0, 0, 0 )
hook.Add("HUDPaint", "myHud", function()
eyePos = LocalPlayer():EyePos()
forward = LocalPlayer():EyeAngles():Forward()
forwardAngle = forward:Angle()
cam.Start3D()
cam.Start3D2D( EyePos() + forward*20, Angle(0,EyeAngles().y-90,-EyeAngles().x+90), .2)
local DrawHealth = LocalPlayer():Health() or 0
local EchoHealth = LocalPlayer():Health() or 0
if DrawHealth > 250 then DrawHealth = 250 end
if DrawHealth < 0 then DrawHealth = 0 end
if DrawHealth == 0 then DrawHealth = 0 end
if DrawHealth != 0 then
draw.RoundedBox(1, 0, 0, (100) * DrawHealth / 100, 10, Color(204, 0, 0, 255))
end
draw.SimpleText( LocalPlayer():Health(), "TheDefaultSettings", 0, 0, Color(255,255,255,255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
cam.End3D2D()
cam.End3D()
end)
[/CODE][/QUOTE]
You have to use LerpVector and LerpAngle with the same "velocities".
Just define two variables outside of the cam start3d2d and change them with lerp inside of it with the actual vectors and angles, and use the two variables in the 3d2d.
Ill show some code when im able to
-snip- didn't read
[QUOTE=Jcw87;49132052]The Doom wads don't have MP3s inside them. They have MUS, which is really similar to MIDI. All the assets for gmDoom (except the sounds) and gmDoom Maps are loaded from actual Doom wads. It's a neat way to avoid any issues with distributing copyrighted content.
I'm fully aware of that. gmDoom has a doomguy mode that disables jumping and looking up and down, as well as a Doom HUD. However, due to how Source calculates stepping up to higher floors, you can't enter some passageways without jumping, so I don't use it.[/QUOTE]
SetStepSize
[B]Gmod SpaceRP Gamemode[/B]
STILL IN VERY EARLY ALPHA
will get updated alot and made more nice and get some more custom fonts soon
ship core designer
[IMG]http://i.imgur.com/TnLBZSu.png[/IMG]
working on the designer menu now so NOT DONE havent even fonted it
[IMG]http://i.imgur.com/7XjiHa5.png[/IMG]
some stargate will be added to the gamemode so you can buy cores
[IMG]http://i.imgur.com/YMz2uiE.png[/IMG]
ideas to the gamemode are much appreciated
remeber you just saw 1 thing in the gamemode more images will come as i further update
:snip:
No.
Hes talking about the firstperson movement.
Why does it look like a "normal" hud.
I said its beacouse he has to use lerp
[editline]17th November 2015[/editline]
I know it beacouse i had the same problem once
[QUOTE=geferon;49135111]No.
Hes talking about the firstperson movement.
Why does it look like a "normal" hud.
I said its beacouse he has to use lerp
[editline]17th November 2015[/editline]
I know it beacouse i had the same problem once[/QUOTE]
Are you able to add me on Steam so we don't clog the thread? I really hate to ask for help on a thread about WAYWO.
Im working on a simple client side modmenu nothing much really.
Main Menu:
[IMG]https://i.gyazo.com/8cb15125a393c594f4ef6ac34281e7e4.png[/IMG]
Rank board:
[IMG]https://i.gyazo.com/879b07933cd160c1ca3b45c7e083c398.png[/IMG]
[QUOTE=zippy36jr;49135570]Im working on a simple client side modmenu nothing much really.
Main Menu:
[IMG]https://i.gyazo.com/8cb15125a393c594f4ef6ac34281e7e4.png[/IMG]
Rank board:
[IMG]https://i.gyazo.com/879b07933cd160c1ca3b45c7e083c398.png[/IMG][/QUOTE]
Do you do free modded lobbies? Remember waiting hours on end to get into them dam things.
Remade a SWEP for my gamemode!
[video=youtube;nHn70Sqo1BU]http://www.youtube.com/watch?v=nHn70Sqo1BU[/video]
I can get fully back into development of the gamemode ( 4 hours a day ) soon! Just finishing up some school work that has been holding me back
[t]http://puu.sh/lmtMa/4d15084142.png[/t]
Also finished up the raid / war system.
QQ
[QUOTE=SkitZz;49139007]:idiotcull:[/QUOTE]
I learned how to code lua from trying to make my own cheat. It helped me get really fluent in the language and also helped me understand hooks and functions. I don't see why you're being an ass.
[QUOTE=Melted Bu11et;49139599]I learned how to code lua from trying to make my own cheat. It helped me get really fluent in the language and also helped me understand hooks and functions. I don't see why you're being an ass.[/QUOTE]
Pretty sure at least 1/5 of people in this thread learned this way. It isn't uncommon at all.
Sometimes the seed of evil bears the fruits of things great to come.
Wait, isn't this the origin story of the Nobel-prize?
[video=youtube;A5SHybTRcLQI]http://www.youtube.com/watch?v=A5SHybTRcLQ[/video]
Saw a guy working on DoD animations in the previous thread which inspired me to try my hand at some player model work. I've never worked on player models before, I'm not really happy with the result so far and I'm having some trouble but, it's a learning experience and it's quite fun. Some animations appear to be broken when I view them in Maya which is kind of weird. Here's a short video of the MW3 Assault Rifle Sprint animation. I don't like the clipping through my hand that happens, but it's neat to see the progress I've made.
[QUOTE=zeaga;49139811]Pretty sure at least 1/5 of people in this thread learned this way. It isn't uncommon at all.[/QUOTE]
I did it backwards.
[QUOTE=immibis;49132002]Why not just use MP3s?
BTW, you can't look up or down in DOOM, not even a little bit.[/QUOTE]
You can with a little modification.
[QUOTE=Melted Bu11et;49139599]I learned how to code lua from trying to make my own cheat. It helped me get really fluent in the language and also helped me understand hooks and functions. I don't see why you're being an ass.[/QUOTE]
I understand that it's gotten a lot of people into Lua, but I still find it pretty annoying that cheating can be the main motivation for learning to code. It's still a pretty popular motivation for some really talented people. A lot of what I see in the Gmod Coders chat is people circlejerking over their 1337 C++ cheats. I don't claim to be the most creative person but I wish people would at least try to make something besides another goddamned aimbot.
[QUOTE=MadParakeet;49144073]I understand that it's gotten a lot of people into Lua, but I still find it pretty annoying that cheating can be the main motivation for learning to code. It's still a pretty popular motivation for some really talented people. A lot of what I see in the Gmod Coders chat is people circlejerking over their 1337 C++ cheats. I don't claim to be the most creative person but I wish people would at least try to make something besides another goddamned aimbot.[/QUOTE]
They do eventually. Everyone has an intro and original motivation. In this case, the end does justify the means so long that the end is developing your programming skills that go beyond your initial project.
[QUOTE=MadParakeet;49144073]Gmod Coders chat is people circlejerking over their 1337 C++ cheats[/QUOTE]
[quote]You have been kicked from Garry's Mod Lua[/quote]
[QUOTE=MadParakeet;49144073]A lot of what I see in the Gmod Coders chat is people circlejerking over their 1337 C++ cheats. I don't claim to be the most creative person but I wish people would at least try to make something besides another goddamned aimbot.[/QUOTE]
Dude we like barely talk about that lol
[QUOTE=BFG9000;49144916]Dude we like barely talk about that lol[/QUOTE]
That's because everyone is usually too busy sharing their dank memes to talk about their 1337 hacks :v:
[QUOTE=zeaga;49144919]That's because everyone is usually too busy sharing their dank memes to talk about their 1337 hacks :v:[/QUOTE]
niceme.me
Who there even has 1337 hax? Meep? that's all I can name
Swad does IIRC
[QUOTE=BFG9000;49144925]niceme.me
Who there even has 1337 hax? Meep? that's all I can name[/QUOTE]
I'm willing to be a lot of scripters here have written a cheat at some point.
Sorry, you need to Log In to post a reply to this thread.