Jump to content

My modifications work, but game keeps crashing, NPC related


Recommended Posts

Posted

So I finished my modification of JASP, however, the amount of NPC's in the map makes my game crash literally every time. Is there anyway to circumnavigate this? Does it work better in OpenJK with a lot more NPC's?

Posted

Otherwise (unless you're entity modding) you can set those NPCs to spawn at specific times or stages, and remove them once the player has progressed far enough from them (I think the behavior state for that is BS_REMOVE in Icarus).

Posted

Where can I see a video on how to do entity modding? I really want to implement the NPC's that I've done into the SP levels pre-loaded so I don't have to rely on saves to play what I've made. 

Posted

Entity modding is kinda more trouble than it's worth in this case, in my opinion.

 

How did you do add your NPCs initially?

Posted

I would start the level then freeze the npc's put notarget on, noclip around the map and spawn them then go back to the start and save it to a hot key that when you load the level you just press a key and it reloads with all the new stuff.

 

It works for like half the levels, the other half automatically freeze and crash everytime I load it with NPC's. For example, yavin1b and yavin2 load just fine, but t1_sour will crash on the reload if there is just one extra npc in there.

 

However, if I go throughout a level and spawn them then go back to the start and unfreeze all, I can usually play through each level without any issues or crashing, its just the loading / re-loading part that crashes everything.

 

I would much prefer being able to access the SP maps and just put spawn points for the type of NPC's I'm adding: i.e. civilians, more creatures, vehicles, enemies, friendlies, droids, etc

 

But I have no idea how to do that and I've tried editing / decompiling and its just a horrid mess of code that I don't know what to do with.

 

It makes the SP campaign much more fun on a playthrough, I will say, very fun, and more difficult too. No more easy JA that's for sure.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...