Garry's Mod

Garry's Mod

Star Wars Starfighters/Transports/Cruiser NPCs [Outdated, Links to official in description]
 This topic has been pinned, so it's probably important
Console errors and other bugs
this is a great and fun addon to use, but im gonna post some console errors i keep getting so you are aware of them. i will be posting more if i find them
< >
Showing 1-15 of 69 comments
CovenantKillerJ 13 Apr, 2018 @ 3:40am 
[Star Wars Starfighters NPCs [Beta]] lua/entities/npc_awing_f/init.lua:599: attempt to index global 'tr' (a nil value)
1. FindEnemyDan - lua/entities/npc_awing_f/init.lua:599
2. unknown - lua/entities/npc_awing_f/init.lua:304

CovenantKillerJ 13 Apr, 2018 @ 3:41am 
[Star Wars Starfighters NPCs [Beta]] lua/entities/npc_tie_fighter_h/init.lua:581: attempt to index global 'tr' (a nil value)
1. FindEnemyDan - lua/entities/npc_tie_fighter_h/init.lua:581
2. unknown - lua/entities/npc_tie_fighter_h/init.lua:292

CovenantKillerJ 13 Apr, 2018 @ 3:42am 
[Star Wars Starfighters NPCs [Beta]] lua/entities/npc_xwing_f/init.lua:652: attempt to index global 'tr' (a nil value)
1. FindEnemyDan - lua/entities/npc_xwing_f/init.lua:652
2. unknown - lua/entities/npc_xwing_f/init.lua:304
CovenantKillerJ 13 Apr, 2018 @ 3:43am 
[Star Wars Starfighters NPCs [Beta]] lua/entities/npc_tie_bomber_h/init.lua:604: attempt to index global 'tr' (a nil value)
1. FindEnemyDan - lua/entities/npc_tie_bomber_h/init.lua:604
2. unknown - lua/entities/npc_tie_bomber_h/init.lua:295
CovenantKillerJ 13 Apr, 2018 @ 3:44am 
This keeps happening with most starfighters
CovenantKillerJ 13 Apr, 2018 @ 7:53am 
[Star Wars Starfighters NPCs [Beta]] lua/entities/xwing_missle.lua:148: attempt to index field 'FXEmitter' (a nil value)
1. Draw - lua/entities/xwing_missle.lua:148
2. unknown - gamemodes/base/entities/entities/base_anim.lua:50
kev675243  [developer] 13 Apr, 2018 @ 3:25pm 
thanks for leaving the errors, I'm aware the some of these bugs as I'm trying to learn more about particle effects. Otherwise luckily none are game breaking
Tested this with LordTrilobite and had a blast! Especially considering this is still in betal. I do however want to point out a few things:

- My TIE models do not explode, leaving the map cluttered with models
- Too many particles cause imense fps drops when ships explode
- It might have just looked that way but do ships only fire on the host while players are in ships themselfes?
- cant target npc ships while in other fighters (Personally I prefer it that way tho)
- Loads of lua erros

But again this is a great addon that will take over the front page Im sure!!
Trini._ 14 Apr, 2018 @ 7:08am 
A small bug is that they seem to fly infinitely upwards into the sky until they hit the skybox and disappear. Not sure what's causing that.

(edit: added more detail to bug description)
Last edited by Trini._; 14 Apr, 2018 @ 7:08am
kev675243  [developer] 14 Apr, 2018 @ 9:51am 
@KingPommes, they probably do explode but don't show the effects because there are too many effects which I will try to fix. Otherwise fighter classes have their own priority standards, which I'll list in the description
Covanant Jackal 14 Apr, 2018 @ 1:12pm 
not exactly a console error, but most of the rebel pilots upper faces are missing textures, and the entirety of the republic uniform is missing textures and broken animations
Ren 14 Apr, 2018 @ 10:39pm 
Hyena Bombers sometimes target the player even though ignoreplayers is enabled.
Bob 15 Apr, 2018 @ 4:27am 
i dont know why but the cis and empire ships dont move but the rebel and republic ship do move.
what do i need to do ?
Ren 15 Apr, 2018 @ 11:54am 
Tri Fighters and Vulture Droids also aren't affected by NoTarget. I'm using this addon. Can you make it compatible with it? https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=104486597
Lord Trilobite 16 Apr, 2018 @ 3:09pm 
As KingPommes said we tested the addon in multiplayer and it worked fairly well for the most part. I would like to add a few more bugs to the list that KingPommes didn't mention.

Bugs
- Sometimes when spawning many ships they would get stuck in each other because they used identical paths.
- You probably know of this issue already in a more general sense, but when I spawned these npcs in the big hangar on my Star Destroyer map, they fly up instead of down into the large open hole. I suspect this has to do with the AI not quite getting tight spaces.

Suggestions
- Though it's great that these npcs work without air nodes. Maybe its still a good idea to have the npcs use air nodes as suggestions of where to go when they are present.
- When a ship takes aim of you its very hard to survive while flying in your own ship. Perhaps imperfect aim or a mechanic to lose the npc would work nice.
- When crashing into an npc with one of Liam's ships, your ship explodes but the npc does not. Might be cool if both get massive damage from such a collision.
< >
Showing 1-15 of 69 comments
Per page: 1530 50