• [BUG] DModelPanel not rendering model animations correctly
    3 replies, posted
I have been working on a gamemode for a while now and noticed since the last update DModelPanel's are not working properly on multiplayer servers. Their animations run in reverse and they don't display a normal walking animation. They work fine in single player. I tested this code on a vanilla client and vanilla SRCDS server to verify my findings: [CODE]local FRAME = vgui.Create("DFrame") FRAME:SetSize(300,300) FRAME:Center() FRAME:SetTitle("DModelPanel Bug") FRAME:MakePopup() local DMPANEL = vgui.Create("DModelPanel",FRAME) DMPANEL:SetSize(300,280) DMPANEL:AlignBottom(0) DMPANEL:SetModel("models/kleiner.mdl") DMPANEL:SetAnimated(true) DMPANEL:SetFOV(90) DMPANEL:SetAnimSpeed(1)[/CODE] Note: They work fine in singleplayer, but in multiplayer they appear broken.
I had this issue too, must be the last tf2 update that brought us that.
That's when I noticed it broke too. I asked someone else I know and they have the same problem, so I know its not just me. Hope Garry will see this and fix it. The models look like they are mentally handicapped now lol.
I have more info on this bug. I have been redesigning my vgui and noticed that when a player is set to the same model that the DModelPanel is set to it bugs out. Before I spawn as this model: [IMG]http://i42.tinypic.com/1z3qgi1.png[/IMG] After I spawn as this model: [IMG]http://i39.tinypic.com/jqhqme.png[/IMG] The only thing I can figure is that maybe something changed with the ClientsideModel function that DModelPanel uses to render models which makes this bug appear.
Sorry, you need to Log In to post a reply to this thread.