• Do you need help in source engine?
    13 replies, posted
I have experience about mapping and programing in source engine, if you needed i would like to help you as far as i can
Sure! I'm working on new GUI and I've got a problem with an animation in main menu. I need to "smooth" the movement of the animation when I move mouse over buttons, right now when it plays a few animations it feels laggy. (compile and try it) Here is the code of my button class: [URL]https://github.com/NicolasDe/project-9/blob/master/sp/src/game/gameui2/button_mainmenu.cpp[/URL] Here is the video: [hd]https://www.youtube.com/watch?v=RZwESdjEXJw[/hd]
You could try creating a new interpolator to make more values so the animations will be like "smooth" [url]https://github.com/NicolasDe/project-9/blob/master/sp/src/vgui2/vgui_controls/AnimationController.cpp#L821[/url]
[QUOTE=msalinas2877;50023694]You could try creating a new interpolator to make more values so the animations will be like "smooth" [url]https://github.com/NicolasDe/project-9/blob/master/sp/src/vgui2/vgui_controls/AnimationController.cpp#L821[/url][/QUOTE] But animations are smooth and I don't see any problem with GetInterpolatedValue, the problem is that I need some sort of delay/lag I guess or maybe some other way of doing it.
please explain what exactly you want [QUOTE]I need to "smooth" the movement of the animation[/QUOTE] [QUOTE]But animations are smooth[/QUOTE] because that is contradictory :v:
[QUOTE=msalinas2877;50024087]please explain what exactly you want because that is contradictory :v:[/QUOTE] You can see the panels themselves jitter about a pixel or so when they are resized/moved upon hovering over them with the mouse. My guess is that you're still doing some other movement while trying to size the other panels and not taking them into account. Like the panels trying to go back to their unhovered state so it moves down a pixel, then the actual animation where it sizes up to show the description text kicks in and moves it up a pixel or two, if that makes sense. [editline]29th March 2016[/editline] Unless that isn't the problem, in which case I have no idea :v:
Source Engine sound like fun. But I never got to use it yet. Can it support DirectX 11/10? Can it do Oculus?
[QUOTE=hakimhakim;50025768]Source Engine sound like fun. But I never got to use it yet. Can it support DirectX 11/10? Can it do Oculus?[/QUOTE] I guess it can. Half Live 2 supports the rift so im shure theres a way
[QUOTE=hakimhakim;50025768]Source Engine sound like fun. But I never got to use it yet. Can it support DirectX 11/10? Can it do Oculus?[/QUOTE] Source1 supports only DX9 (and lower) and OpenGL using some witchcraft.
If we want to make online multiplayer in Lua, will the host needs to port-forward, or Lua can use uPnP to configure the router port directly from the program/game?
[QUOTE=hakimhakim;50089909]If we want to make online multiplayer in Lua, will the host needs to port-forward, or Lua can use uPnP to configure the router port directly from the program/game?[/QUOTE] Uh what are you up to? Source engine is C++, lua is a scripting language. Source doesn't use lua. In most serious languages you can do whatever you want, including UPnP configuration. [editline]7th April 2016[/editline] In pure lua no, unless the host language forwards an API. In LuaJIT yes (because it has a foreign function interface)
[QUOTE=cartman300;50089934]Uh what are you up to? Source engine is C++, lua is a scripting language. [B]Source doesn't use lua[/B]. [/QUOTE] wtf my life has been a lie :nope: Wait so all those people who made things for Garry's mod, they do it in C++? I always thought they are using Lua
Garry's mod is a Source engine [B]mod[/B] which supports lua formatted scripts. Lua is just a language, Garry implemented lua [B]support[/B] to define addons, scripts and such for his mod. Thats what really made Garry's mod so popular, since it allowed people to make content for it really easily without having to hard code in things like weapons and gamemodes.
Edit: Moved my post here - [URL]https://facepunch.com/showthread.php?t=1515369&p=50161706#post50161706[/URL]
Sorry, you need to Log In to post a reply to this thread.