Cerez Posted July 16, 2015 Posted July 16, 2015 https://jkhub.org/files/file/162-sjc-coruscant-adventures-pack-night-and-day/ For some reason the vehicle spawning on the swoop track has never worked for me, not matter what version of Jedi Academy I am using. Has anyone else experienced this problem? Is there a fix for it?
RebelChum Posted July 16, 2015 Posted July 16, 2015 Just running base or a particular mod? Singleplayer or multiplayer? Any errors in console when you press Use on the spawner button?
Cerez Posted July 17, 2015 Author Posted July 17, 2015 Base, retail JK3 and OpenJK. (Multiplayer) It just says that the swoop can't be spawned, even though a vehicle model by that name is present in the asset archives, and I have absolutely no third party vehicle mods installed. ERROR: Couldn't spawn NPC swoop_mp2So it's just me, then? It's very mysterious... I don't understand... Having cheats enabled doesn't seem to make a difference either.
eezstreet Posted July 17, 2015 Posted July 17, 2015 Vehicle model or vehicle in the .veh file? Two different things. Cerez likes this
Xycaleth Posted July 17, 2015 Posted July 17, 2015 How are you trying to spawn the vehicle? It should be "/npc spawn vehicle swoop_mp2" Cerez likes this
Cerez Posted July 17, 2015 Author Posted July 17, 2015 I'm using the console in on the map to which a script is attached. Hitting up the spawn code produces the same error, though. Thanks @@eezstreet, I'll check the .veh file. The model's there for sure. For you guys, does pressing the terminal/console in-game on the swoop track on this map spawn a swoop successfully?
Cerez Posted July 17, 2015 Author Posted July 17, 2015 In ext_data/vehicles all three are there: swoop.veh, swoop_mp.veh, and swoop_mp2.veh... Cheats are active... I really don't understand it. Why is it saying that it can't spawn them?
Clan FJA Posted July 17, 2015 Posted July 17, 2015 Maybe Sith J Cull made a mistake and put a NPC_spawner in place of a vehicle entity. Should check the entities of the map. Another problem is when you have a lot of .npc files (but without reaching the error message limit), a part of the npc files are not usable ingame. Don't know why.Put several npc files in your base folder, then try to spawn a wampa, it will not work. Cerez likes this
Cerez Posted July 17, 2015 Author Posted July 17, 2015 Another problem is when you have a lot of .npc files (but without reaching the error message limit), a part of the npc files are not usable ingame. Don't know why.Put several npc files in your base folder, then try to spawn a wampa, it will not work. Hmm... this could be it... I'll have to investigate... Is there any way to get an NPC count from the game/engine through the command console?
Clan FJA Posted July 17, 2015 Posted July 17, 2015 i checked the entities : they are ok.swoops spawn without problem when I use the button. The problem is certainly your number of npc files. When you have too much of them, the last npcs can not be spawned (z-95, x-wing, wampa, tuskens, ... from assets1.pk3) Cerez likes this
Cerez Posted July 17, 2015 Author Posted July 17, 2015 Hmm... what's the maximum number of NPCs the game will load? The funny thing is I only have player model characters in greater number (but still not that great) in my base folder. I guess they almost all have NPCs, but even so... that seems quite limited. I'll have to see, and count the number of NPCs in the PK3s...
Clan FJA Posted July 17, 2015 Posted July 17, 2015 I don't know but this limit is very low. Don't forget to check maps. They often add modified reborn and kyle for their training grounds.
Cerez Posted July 17, 2015 Author Posted July 17, 2015 Okay, @@Clan FJA, you're definitely on the right track. Further investigation reveals the following: That's a lot of "required strings" missing. Could that be the reason all NPCs are failing to spawn? Moving all my custom mods out of base did make NPC spawning normal again, so it's either to do with the amount of NPCs I have (which is not that many, I checked), or with these brackets missing in an NPC file somewhere, I presume. Any thoughts?
Clan FJA Posted July 17, 2015 Posted July 17, 2015 ok, so there is two different problems :- the number of npc files. Just remove npc files you do not use from pk3 of your skins/maps- the { or } which is missing in some npc files. This is not necessary in the assets1.pk3. An other pk3 can overwrite the rancor npc file. You must check these files and correct them.
eezstreet Posted July 17, 2015 Posted July 17, 2015 That's still irrelevant. Look inside swoop_mp2.veh and see if there is a vehicle named swoop_mp2. If there is, then some PK3 has a bad vehicle in it that's breaking the chain.
Cerez Posted July 18, 2015 Author Posted July 18, 2015 Thanks guys, managed to track it down. It was a syntax error in one of the player model NPC files. The NPC referencing name contained a space which threw the whole NPC reading off and caused all subsequent NPC loading to fail -- and therefore produced the "required string" reading errors shown in the screenshot. After removing the space everything's back to normal, and all my NPCs are loading properly. RebelChum likes this
Recommended Posts