Garry's Mod

Garry's Mod

Hololive Houshou Marine dances collection [Actmod]
Fix some errors in lua
This discussion is directed to the author.

In the path "lua\autorun" for each file, modify it and remove that second hook, because it disables the first hook due to the similarity in the names of the hooks. Also, you must know whether to use the hook in the first, which is to allocate a file for each gender, and the second so that all genders use the same file.

Edit each file and remove the lines from the second hook. You can also combine them all into one file instead of 3 files. Here is my advice:

Create a new lua file and add the following text to it:
hook.Add( "PreLoadAnimations", "DynaBase.koboloadam", function( gender ) if gender == WOS_DYNABASE.MALE then IncludeModel( "models/player/marine/anim_III_kobo_am.mdl" ) IncludeModel( "models/player/marine/anim_III_am.mdl" ) IncludeModel( "models/player/marine/anim_horny_am.mdl" ) elseif gender == WOS_DYNABASE.FEMALE then IncludeModel( "models/player/marine/anim_III_kobo_am_f.mdl" ) IncludeModel( "models/player/marine/anim_III_am_f.mdl" ) IncludeModel( "models/player/marine/anim_horny_am_f.mdl" ) elseif gender == WOS_DYNABASE.ZOMBIE then IncludeModel( "models/player/marine/anim_III_kobo_am.mdl" ) IncludeModel( "models/player/marine/anim_III_am.mdl" ) IncludeModel( "models/player/marine/anim_horny_am.mdl" ) end end )

Then after that remove the 3 old files (lua\autorun\), and everything will work fine.


If you still don't understand why all this is, I can explain to you if you want.
< >
正在显示第 1 - 7 条,共 7 条留言
Chefpyroe  [开发者] 9 月 22 日 下午 7:18 
Ahhh now i see it! Thank you! i was wondering why the animations still looked very stretched thank you once again!
最后由 Chefpyroe 编辑于; 9 月 22 日 下午 7:19
Chefpyroe  [开发者] 9 月 22 日 下午 8:18 
But if i were to add facial animations, is that possible? and also how'd i make a dance not loop?
最后由 Chefpyroe 编辑于; 9 月 22 日 下午 8:25
AhmedMake400 9 月 22 日 下午 11:54 
引用自 Subject Delta
But if i were to add facial animations, is that possible? and also how'd i make a dance not loop?

As long as the table includes something called "Custom", it means that it will be repeated as a loop, and to make it a loop you must remove "Custom". You can also compile them into one lua file instead of creating a file for each dance in one addon in the path (lua\actmod\am_animc\), you can take my next suggestion:

Create a new lua file and add the following text to it:
return{ ["amod_marine"] = { Config = { Anim = "amod_horny" ,Name = "A HORNY MONEY WORLD" ,class = 1 ,isNew = true } ,Camera = { Follow = false ,Transition = 1.5 } ,Sounds = { Start = { Sound = "actmod/ahoy/horn.mp3" ,Delay = 0 } } } ,["amod_I"] = { Config = { Anim = "amod_III_K" ,Name = "III (kobo)" ,class = 1 ,isNew = true } ,Camera = { Follow = false ,Transition = 1.5 } ,Sounds = { Start = { Sound = "actmod/ahoy/III.mp3" ,Delay = 0.7 } } } ,["amod_II"] = { Config = { Anim = "amod_III" ,Name = "III (marine)" ,class = 1 ,isNew = true } ,Camera = { Follow = false ,Transition = 1.5 } ,Sounds = { Start = { Sound = "actmod/ahoy/III.mp3" ,Delay = 0.7 } } } }

This text will combine the schedules for your 3 dances into one file, and also loop will not work, if you are going to use this method remove the 3 old files from (lua\actmod\am_animc\) ,So as not to conflict


If there is anything else you do not understand, let me know so I can explain it to you.
最后由 AhmedMake400 编辑于; 9 月 22 日 下午 11:57
Chefpyroe  [开发者] 9 月 23 日 上午 1:02 
thank you actmod god! This completely resolves most of my problems, also can i add you on discordd?
AhmedMake400 9 月 23 日 上午 1:04 
引用自 Subject Delta
thank you actmod god! This completely resolves most of my problems, also can i add you on discordd?
np :) You can add me on Discord
I'm glad you like that suggestion/solution :steamthumbsup:
Chefpyroe  [开发者] 9 月 23 日 上午 1:52 
how about finger animations? is that another thing just inside the animation itself?
AhmedMake400 9 月 23 日 上午 1:54 
引用自 Subject Delta
how about finger animations? is that another thing just inside the animation itself?
The animation you are baking to clone another animation is not working properly (even I am facing this issue, you can notice this in most of the Fortnite Emotes), so you have to fix it manually yourself.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50