Garry's Mod

Garry's Mod

IV04 NextBot Base
Carl 21 May, 2023 @ 10:38am
Question.
How to add Faction to non-nextbot NPCs? Is it even possible?
(Copy-paste into code didn't worked, sadly)
< >
Showing 1-4 of 4 comments
IvanVladimir0435  [developer] 15 Jul, 2023 @ 5:35pm 
Originally posted by 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 @ 5:17am 
Originally posted by IvánVladimir0435:
Originally posted by 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  [developer] 21 Jul, 2023 @ 11:49am 
Originally posted by Carl:
Originally posted by 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 @ 10:50am 
What about other NPCs?
< >
Showing 1-4 of 4 comments
Per page: 1530 50