Garry's Mod

Garry's Mod

评价数不足
Animated Nextbot/ Nextbot Animado
由 perromeme44 制作
How to make an animated nextbot from the point that you already have a functional nextbot
Cómo hacer un nextbot animado desde el punto que ya tienes un nextbot funcional
   
奖励
收藏
已收藏
取消收藏
---
English:
1.- Have prepared a functional nextbot(you can watch a tutorial on youtbe on how to do it)
2.- Open the program VTFEdit (necesary for making textures for any nextbot)
3.- Put all the frames of the animation inside a single folder and order them alphabetically by their name (and make sure they all have the same resolution)
4.- Click import in file at the left top of the program VTFEdit
5.- Go to the folder where you left all the frames
6.- Select the files and then click open
7.- A gray square will appear with some information, just click OK
8.- The program will load all the frames, just wait and then in file select save, name the file and save it
9.- You should have a filename.vtf, just replace your original vtf file that is in your addon folder with this file and making sure it has the same name as the old file
10.- Open the VMT file that is not the killicon located inside the same folder where the VTF file is.
11.- Erase the old one and copy and paste this code:


"UnlitGeneric"
{
"$basetexture" "npc_nextbot/nextbot"
"$translucent" 1
"$vertexalpha" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" "20"
}
}
}


12.- The only thing I recommend changing in this code is the "animatedtextureframerate" "20" the "20" to the speed you want, and the "npc_nextbot/nextbot" to the name of your nextbot
13.- Save changes and now you should have an animated nextbot
(Sorry if there are some spelling mistakes, english is not my first language)

Español:
1.- Ten preparado un nextbot funcional(puedes ver un tutorial en youtube en como hacerlo)
2.- Abre el programa VTFEdit (necesario para hacer texturas para cualquier nextbot)
3.- Pon todos los fotogramas de la animación dentro de un solo folder y ordénalos alfabéticamente por su nombre (Y asegúrate de que todos tengan la misma resolución)
4.- Presiona import en file en la parte superior izquierda del programa VTFEdit
5.- Ve al folder donde dejaste todos los fotogramas
6.- Selecciona los archivos y luego presiona en abrir
7.- Un cuadrado gris aparecerá con algo de información, solo presiona OK
8.- El programa cargará todos los fotogramas, solo espera y luego en file selecciona save, nombra el archivo y guárdalo
9.- Deberías de tener un nombredearchivo.vtf, solo remplaza tu archivo vtf original que está en tu folder del addon con este archivo y asegurándote de que tenga el mismo nombre que el archivo antiguo
10. Abre el arhcivo VMT que no es killicon localizado en el mismo folder está el archivo VTF
11.- Borra el antiguo y copia y pega este código:


"UnlitGeneric"
{
"$basetexture" "npc_nextbot/nextbot"
"$translucent" 1
"$vertexalpha" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" "20"
}
}
}


12.- Lo único que recomiendo cambiar en este código es el "animatedtextureframerate" "20" el "20" a la velocidad que quieras, y "npc_nextbot/nextbot" al nombre de tu nextbot
13. Guarda los cambios y ahora deberías tener un nextbot animado




Examples/Ejemplos:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2799798401
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2799899855
30 条留言
gabrieltello92 8 月 7 日 下午 3:27 
This work me thanks!!!
Toby The Guardian 7 月 1 日 上午 6:23 
wow it actually worked. thx a bunch.:steamthumbsup:
♡abbziee♡ 1 月 22 日 下午 3:12 
My nextbot keeps appearing as a missing texture and idk what to do to fix this i've tried everything
челол 2024 年 10 月 23 日 下午 12:25 
BRO I SWEAR GARRY"S MOD HAVE 100 FRAMES limit and more than this frames only error is displayed
Adrimatoon 2024 年 6 月 28 日 下午 7:13 
:beatmeat: !!!THANK U SO MUCH BUDDY!!! :beatmeat:
miligmod 2024 年 1 月 1 日 下午 5:17 
@perromeme44 i saw the prb man thanks your instructions helped me alot for making animated nextbots
perromeme44  [作者] 2023 年 12 月 30 日 下午 10:49 
@milirejepi you can try moving the files related to the killicon from the one that you say that has the working killicon to one that has the animated texture. Before doing that remember that in the folder that starts with npc_ the files related to the animated texture are the ones that have the name of your nextbot and for the killicon is only the file that has that name and the image that is located in the entities folder.
miligmod 2023 年 12 月 30 日 下午 12:59 
@perromeme44 hey thanks for replying and i founded the solution exactly as u said that was the prb but now when the killicon shows up the texture seems to be appearing without animation
perromeme44  [作者] 2023 年 12 月 30 日 上午 9:37 
@milirejepi probably the icon is not in the correct location, it is not a png file, or you did something wrong when making the killicon file. Whatever the reason is, the problem is with the original nextbot you had because the process made here should not affect the killicon.
miligmod 2023 年 12 月 30 日 上午 9:06 
hey the killicon is showing me missing texture what could it be the problem