Garry's Mod

Garry's Mod

Pony Player Models
MikeNized 2014 年 5 月 24 日 下午 2:37
Pony Models in Murder ?! Possible with your help!
Greetings!

Lemme explain, first, the situation. Wishing to use pony models into a Murder server, I would like to be able to set a random skin on a pony player. I could just set the pony model but it would always be the same for the player, ruining the experience of the unknown factor.

Selecting a pony model as character model for the player isn't a problem, it is just a line in the .lua of the Murder mode. On the other side, having a random skin selected is an other.

Considering that the model values (mane, size, color...) is set according to the file ppm/_current.txt, I would like to be able to :
1 - Load a custom file and set it as model, without saving the values. The problem is, even if it is a preset .txt (applejack.txt, twilight.txt...), as soon as I set it, the values in the _current.txt are erased. Wishing to not to do that, I'd prefer being able to set the values on my own, without saving into the _current.txt.
2 - Get the random values as a String and set them via a console input. I would like to get the random values, used by the Random Button, as a command in the console, making me able to get them in order to set them (mpp_setvalues string, for example) via a console input.

Thanks you in advance, please ask me if you have any questions about my request, I do understand how lua coding works, just doesn't have the time to program them afterward.
< >
目前顯示第 1-9 則留言,共 9
Scentus  [開發人員] 2014 年 5 月 25 日 下午 1:56 
So, if I'm understanding you correctly, you would like a script that would allow changing a players pony's coloring and look without overwriting their _current.txt file and to give them a random set of values each time (both of these are easy enough, in fact there are functions for each of these that just need to be called in the write order).

I would be happy to help you out and even write a code sniplet for you to do exactly this, but you would have to wait a few days as I am starting a new summer job this Tuesday and want to get settled in with that a little before I continue my work on the pony mod. I'm subscribed to this discussion now so I should see any posts here quickly enough.
MikeNized 2014 年 5 月 25 日 下午 2:45 
On my side, don't worry, I'll look for it as well.
I Darkstar X 2014 年 7 月 6 日 下午 11:11 
Been a while...
MikeNized 2014 年 7 月 7 日 上午 12:04 
Been busy lately :p
Scentus  [開發人員] 2014 年 7 月 10 日 上午 6:12 
I'll probably be making what you want possible while fixing the things the most recent update broke sometime next week. Just hang tight for now.
MikeNized 2014 年 7 月 18 日 下午 3:01 
While working on it, I've been wondering about it and it might be a problem. The pony models don't hold weapons and items correctly. So players won't be able to see knife or guns.
This might be a problem :p
I Darkstar X 2014 年 7 月 18 日 下午 3:37 
Oh dear...
Linos Melendi 2014 年 7 月 21 日 下午 10:29 
引用自 Mike Nized
While working on it, I've been wondering about it and it might be a problem. The pony models don't hold weapons and items correctly. So players won't be able to see knife or guns.
This might be a problem :p

Add this to the shared.lua's of "weapon_mu_knife" and "weapon_mu_magnum"

http://pastebin.com/Y3tvcNV8

Works for the weapons in my TTT server
http://puu.sh/alSkK/b97305f3b2.jpg

Unfortunately it works for the gun but not the knife, if anyone can figure out why that would be appreciated.
最後修改者:Linos Melendi; 2014 年 7 月 21 日 下午 10:34
MikeNized 2014 年 7 月 29 日 下午 2:26 
So, the gun follow the direction where the player is pointing at? Mhm, interesting.

Well, I guess we could place the knife ahead of the character and get the classic stab animation (even if it was related to the arm movement, I believe).

Like I said, I'm quite busy lately, I'll look into it next week (woohoo, days off).
< >
目前顯示第 1-9 則留言,共 9
每頁顯示: 1530 50