Garry's Mod

Garry's Mod

TF2BDR[TF2 Pill Pack]
此主题已被锁定
Parakeet 2014 年 7 月 6 日 下午 4:57
Parakeet's Thread
Hi! This is cool, glad to see someone is trying to use the framework to make their own addons. The only problem is I was planning to add giant bots to the TF2 pack myself soon, but for me "soon" is usually a pretty long time. I actually had to extract this with GMAD to get it working, but that's probably Garry's fault. The only issue I have with it is the duplicate sentry buster and tank pills, but they honestly shouldn't cause any major problems.

If you want, you can cut down on the size of your code by setting the "parent" field of each pill to the tf2 classes instead of the cutouts, then it will copy all the animations over and you won't have to define those (unless you had to to get them working, bot animations are goofy!).

Finally, you can make your own spawnicons using the console command "pk_iconmaker MODELNAME". You might need to edit the lua source for the icon generator to get it working... it is located in the addon under "lua/autorun/icongen.lua". You can get the normal striped background by removing the "-ent" from the background image name. The RGB values I use for robots are (109,109,109), but you can use any color you want.

I can also feature this on the new pill menu if you want.
最后由 Parakeet 编辑于; 2014 年 7 月 6 日 下午 4:57
< >
正在显示第 1 - 1 条,共 1 条留言
YourPonyFriend  [开发者] 2014 年 7 月 6 日 下午 7:53 
Thanks! You're not mad? Parakeet?
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50