Garry's Mod

Garry's Mod

IV04 NextBot Base
Carl 21/mai./2023 às 10:38
Question.
How to add Faction to non-nextbot NPCs? Is it even possible?
(Copy-paste into code didn't worked, sadly)
< >
Exibindo comentários 14 de 4
IvanVladimir0435  [desenvolvedor(a)] 15/jul./2023 às 17:35 
Escrito originalmente por Carl:
How to add Faction to non-nextbot NPCs? Is it even possible?
(Copy-paste into code didn't worked, sadly)
Faction for non-nextbot NPCs? it's not currently supported but an interesting idea, what are you trying to use it for?
Carl 17/jul./2023 às 5:17 
Escrito originalmente por IvánVladimir0435:
Escrito originalmente por Carl:
How to add Faction to non-nextbot NPCs? Is it even possible?
(Copy-paste into code didn't worked, sadly)
Faction for non-nextbot NPCs? it's not currently supported but an interesting idea, what are you trying to use it for?


I wanted to use it on some server (which is dead now because of owner, but that's not the case}. RIght now i'm interested to use in local one.
I was trying to use your nextbot's (star wars battlefront one) like infantry. They are perfect for this. In another addon, I took tri-droid, checked it in a single game.. all the nextbots from every fraction attacked him.. And if it's also clear with clones, then with droids - not very much. I tried to give B1 from SWBF and to Tri-droid the standard fraction Combinei n the code, and then add a fraction from your addon - the maximum I achieved was Lua Error.
Btw there's the tri-droid i was testing. Maybe with other NPCs my methods would work, but i don't have much experience in Lua to say would it work or not.
IvanVladimir0435  [desenvolvedor(a)] 21/jul./2023 às 11:49 
Escrito originalmente por Carl:
Escrito originalmente por IvánVladimir0435:
Faction for non-nextbot NPCs? it's not currently supported but an interesting idea, what are you trying to use it for?


I wanted to use it on some server (which is dead now because of owner, but that's not the case}. RIght now i'm interested to use in local one.
I was trying to use your nextbot's (star wars battlefront one) like infantry. They are perfect for this. In another addon, I took tri-droid, checked it in a single game.. all the nextbots from every fraction attacked him.. And if it's also clear with clones, then with droids - not very much. I tried to give B1 from SWBF and to Tri-droid the standard fraction Combinei n the code, and then add a fraction from your addon - the maximum I achieved was Lua Error.
Btw there's the tri-droid i was testing. Maybe with other NPCs my methods would work, but i don't have much experience in Lua to say would it work or not.
If it's a vj snpc you can add their VJ_Class table thing to the nextbot's code and it should work
Carl 24/jul./2023 às 10:50 
What about other NPCs?
< >
Exibindo comentários 14 de 4
Por página: 1530 50