• Problem with DModelPanel
    20 replies, posted
[img]http://dl.dropbox.com/u/8718166/jail.png[/img] How would i go about making this animate with just an idle position? It changes when they press a button so i want to know how to make it change all the time or shall i just put it in the button press function.
[QUOTE=Science;29468389]Surely there is a way of getting around this?[/QUOTE] Take a look at the source and find out
Well ive fixed that issue. Please re read the OP.
If I understand your problem correctly have you tryed [lua]DModelPanel:SetAnimated(true)[/lua]
I have tried that but to no avail.
Post the code
[b][url=http://wiki.garrysmod.com/?title=DModelPanel.RunAnimation]DModelPanel.RunAnimation [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] ?
[QUOTE=Freze;29468749][b][url=http://wiki.garrysmod.com/?title=DModelPanel.RunAnimation]DModelPanel.RunAnimation [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b] ?[/QUOTE] I presume OP is already doing this otherwise how would he expect it to know what Animation to run
Still not working. It just turns the model sideways still in the T stance.
[QUOTE=King Flawless;29468830]I presume OP is already doing this otherwise how would he expect it to know what Animation to run[/QUOTE] Tossing out ideas.
[QUOTE=Science;29469503]Still not working. It just turns the model sideways still in the T stance.[/QUOTE] Thats usually a problem with the model then As in sometimes in say setting a players model, you have to do "models/player/whatevermodel.mdl" instead of whatever the actual filepath is, e.g. "models/Hostage/Hostage 02.mdl" I presume it sets your model, so does it make it so when you run around you are in that T stance, or is the player model fine?
[QUOTE=Freze;29470115]Tossing out ideas.[/QUOTE] FYI that wasn't a dig at you I was just sharing my assumption
[QUOTE=King Flawless;29470174]FYI that wasn't a dig at you I was just sharing my assumption[/QUOTE] Was I saying you weren't?
[QUOTE=Freze;29470194]Was I saying you weren't?[/QUOTE] Your follow up post seemed defensive that's simply why I mentioned it
I'm not fdefensive. I'm more of an offensive guy :woop:
[QUOTE=xomaxhox;29470143]Thats usually a problem with the model then As in sometimes in say setting a players model, you have to do "models/player/whatevermodel.mdl" instead of whatever the actual filepath is, e.g. "models/Hostage/Hostage 02.mdl" I presume it sets your model, so does it make it so when you run around you are in that T stance, or is the player model fine?[/QUOTE] Im using [B] models[1] = "models/player/t_guerilla.mdl"[/B]
[QUOTE=Science;29470488]Im using [B] models[1] = "models/player/t_guerilla.mdl"[/B][/QUOTE] Try "models/player/guerilla.mdl" instead (A model I found in one of my DarkRP shared team files that worked :P)
Its models/player/guerilla.mdl.
[QUOTE=cis.joshb;29474561]Its models/player/guerilla.mdl.[/QUOTE] Which is what I said :l
I was just confirming, I was sure, you were not.
Well thank you guys. I've fixed it now. Edit: You have helped me fix this now.
Sorry, you need to Log In to post a reply to this thread.