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.
< >
Showing 1-7 of 7 comments
Chefpyroe  [developer] 22 Sep @ 7:18pm 
Ahhh now i see it! Thank you! i was wondering why the animations still looked very stretched thank you once again!
Last edited by Chefpyroe; 22 Sep @ 7:19pm
Chefpyroe  [developer] 22 Sep @ 8:18pm 
But if i were to add facial animations, is that possible? and also how'd i make a dance not loop?
Last edited by Chefpyroe; 22 Sep @ 8:25pm
Originally posted by 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.
Last edited by AhmedMake400; 22 Sep @ 11:57pm
Chefpyroe  [developer] 23 Sep @ 1:02am 
thank you actmod god! This completely resolves most of my problems, also can i add you on discordd?
Originally posted by 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  [developer] 23 Sep @ 1:52am 
how about finger animations? is that another thing just inside the animation itself?
Originally posted by 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.
< >
Showing 1-7 of 7 comments
Per page: 1530 50