Garry's Mod

Garry's Mod

*WIP* [VJ] CGI Battle Droid SNPCs (Deprecated)
86 Comments
Maeve  [author] 18 Apr, 2024 @ 7:41pm 
PPIIEE 18 Apr, 2024 @ 5:12pm 
on the 2 pic
PPIIEE 18 Apr, 2024 @ 5:12pm 
What map is this
SamThePlagueDoctor 19 Jan, 2023 @ 8:24pm 
superior droid designs roger roger
creeperbionicle 12 Jul, 2021 @ 2:33pm 
COOL GAME CAVECATSCORCK!
MMGFanIdontLiketheLions 6 Jul, 2021 @ 5:19pm 
the tactical droid weapon is a error in its hand
Vladmen 5 Aug, 2020 @ 3:30am 
None of them shoot except the b2 superbattle droid and tactical droid :steamsad:
Xx_yaoitron9000xX 25 Dec, 2019 @ 7:16am 
this works with the fixed version of the battle droid snpcs too
Maeve  [author] 15 Jul, 2019 @ 6:08pm 
They are not Citizens and Combine, they are VJ Base SNPCs, which are a completely different class of NPCs.
eeethan 15 Jul, 2019 @ 3:54pm 
Its annoying how they shoot eachother while another is in the way
eeethan 15 Jul, 2019 @ 3:54pm 
Can you try and make the Battle Droids Not be Citizens And Combine?
Maeve  [author] 20 Jun, 2018 @ 8:58pm 
This addon is currently outdated, I've been going back and updating my addons one at a time. I just haven't gotten to this one yet
Voltage Vanguard 20 Jun, 2018 @ 8:15pm 
i think his weapon is broken
Voltage Vanguard 20 Jun, 2018 @ 7:54pm 
The Super battle droids don't hit anything:steamfacepalm:
Emperor Refrigerator 23 Jan, 2018 @ 7:58pm 
The B1s don't spawn with weapons.
🙏 25 Dec, 2017 @ 9:18am 
Ah. Well thank you for what you have. Thanks for replying.
Maeve  [author] 25 Dec, 2017 @ 9:12am 
They may be in the future, but all of the files are on another computer that I cannot access currently.
🙏 17 Dec, 2017 @ 12:28pm 
Are commando droids still on their way? I would love an NPC one, but I have no idea how to do all that...
Maeve  [author] 19 Sep, 2017 @ 4:39pm 
np
JikiriArts 19 Sep, 2017 @ 2:52pm 
It's okay :) just wanted to know

Thanks for replying :)
Maeve  [author] 19 Sep, 2017 @ 11:34am 
I just used the Star Wars Weapons addon. I thought I had it over on the right, but I seem not to. Sorry about that.
JikiriArts 18 Sep, 2017 @ 4:03pm 
I do have a question. What addon did you get to use as the default weapon for the tactical droid because it is appearing untextured on my end


https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1138462799
Green Arrow 7 Sep, 2017 @ 12:25pm 
Can you please make VJ SNPCs for the CGI Clone Troopers
Maeve  [author] 30 Aug, 2017 @ 8:40am 
As of right now, this mod is currently frozen in development. I recently got a new laptop, and all of the files are still on my old one, so it will be a while before I work on this again. Let me say again, this mod is pretty much done, there are just a few problems with the sbd's sounds, and I may add commando droids in the future.

Thank you,
cavecastscorch
Maeve  [author] 12 Aug, 2017 @ 6:31pm 
yes, I will get back to it eventually. it's mostly finished anyway
The Wriggler 11 Aug, 2017 @ 2:31am 
Is this still being worked on?
Lucy 22 Jul, 2017 @ 5:51am 
droids dont attack one another?
Maeve  [author] 8 Jul, 2017 @ 9:28pm 
?
Lucy 8 Jul, 2017 @ 9:10pm 
Updated?
Creedmoor 27 Jun, 2017 @ 11:34am 
Can we have the clone war TV show sounds for the droids? (the 2008 one.)
Helghast Loyalist 23 Jun, 2017 @ 6:41pm 
So when the Super Battle Droid Fires it's weapon, it says it's conflicting with VJ Base and says this error in the console:

[VJ Base] lua/autorun/vj_util.lua:105: attempt to get length of a nil value
1. VJ_GetWeaponPos - lua/autorun/vj_util.lua:105
2. v - lua/autorun/vj_entity_codes.lua:574
3. unknown - lua/includes/modules/hook.lua:84
4. FireBullets - [C]:-1
5. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:436
6. unknown - lua/weapons/weapon_vj_base/shared.lua:353
Helghast Loyalist 18 Jun, 2017 @ 1:53pm 
@VenipedeGaming Try downloading the Star Wars Weapons: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=183549197&searchtext=Star+Wars+Weapons If you already did then you may have a addon that's conflicting with the Star Wars Weapons addon.
Creedmoor 18 Jun, 2017 @ 1:19pm 
They are shooting missing texture rectangles, any help?
Maeve  [author] 11 Jun, 2017 @ 6:21pm 
I'll release the update later
Helghast Loyalist 11 Jun, 2017 @ 2:06pm 
@cavecastscorch You're welcome.
Maeve  [author] 11 Jun, 2017 @ 2:04pm 
THANK YOU SO MUCH


*cries in joy*

The single allies variable caused so many problems, but I couldn't find a different way to do it
Helghast Loyalist 11 Jun, 2017 @ 1:51pm 
@cavecastscorch So i decided to check out what was causing this and it appears you've used the ENT.VJ_FriendlyNPCsSingle variable instead of giving the SNPCs a class name.


Basically, if a SNPC has the same class name as another SNPC, they will be allied to each other. This is also very important for SNPCs that call for backup because they call for SNPCs that have the same class name of them, not the ones in the ENT.VJ_FriendlyNPCsSingle variable.


Copy and paste this line of code into every SNPC in this addon:

ENT.VJ_NPC_Class = {"CLASS_EXAMPLE"} -- NPCs with the same class with be allied to each other

A good name for the class name would be "CLASS_CIS" or "CLASS_BATTLE_DROID" but you can name it anything you want as long as it has "CLASS_" in the beginning of the class name, it has quote marks in it and the name only uses capital letters.
Maeve  [author] 11 Jun, 2017 @ 1:35pm 
I have an idea, there is a function for "good guys" that ally them to any player allies, the "bad guys" don't have that, so every npc in that group must be listed individually as an ally in the code of every npc in that group. The droids may not be in that list, so all the droids may attack cgi droids that are not of their class as a result. I will fix it eventually if that is the issue, but I am working on other stuff at the moment. I will get to it when I start working on these mods again.
Lucy 11 Jun, 2017 @ 12:53pm 
Any clue what is happening?
Lucy 5 Jun, 2017 @ 6:16pm 
Thanks
Maeve  [author] 5 Jun, 2017 @ 6:05pm 
Ok, I'll check it out
Lucy 5 Jun, 2017 @ 6:03pm 
for example, B2 SuperBattleDroid attacks everything else B1, Cammando, Cammander etc. same with the Elite
Maeve  [author] 5 Jun, 2017 @ 6:02pm 
I'll look into it
Maeve  [author] 5 Jun, 2017 @ 6:02pm 
Don't now why...
Lucy 5 Jun, 2017 @ 5:09pm 
yes
Maeve  [author] 4 Jun, 2017 @ 9:34pm 
do they?
Lucy 4 Jun, 2017 @ 9:32pm 
the droids attack each other?
Maeve  [author] 13 May, 2017 @ 8:56pm 
Np, glad I could help! :papyrus:
Blu 13 May, 2017 @ 8:40pm 
@Cavecatscorch Thanks a bunch! Fixed the annoying console spam.
Maeve  [author] 13 May, 2017 @ 8:08pm 
Pretty sure you are thinking of this addon: https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=700706618

But since these are both mine,

For those of you wondering about this console error:

[[VJ] B1 Battledroid SNPCs] lua/weapons/weapon_vj_droid_shotty/shared.lua:138: Tried to use a NULL entity!
1. LookupBone - [C]:-1
2. unknown - lua/weapons/weapon_vj_droid_shotty/shared.lua:138

That is a harmless console error due to the weapon models not being rigged properly, and relating to how I got around that. Basically the code I used looks up the right hand bone on the droid and attaches to that bone. When the droid dies, it breaks the code and throws the console error. If you don't like the errors, you can disable weapons dropping in the vj settings menu.