I managed to get modified zeds to spawn in the game but I can't alter their AI, I've tried to just add default properties to the zeds but I'm not sure how I can call the AI class from the Zed class.
Could I just create a function inside the zed class to pull the AI? Something like
Or would it be better to just make the custom zed extend KFPawn_Monster and completely rework the DefaultProperties?
EDIT: I managed to get the AI Controller's working, BUT, It's not loading all Zeds and spawning them randomly. It replaced the default zeds with the custom ones. I'm not sure how I can load all default zeds and randomly spawn a few groups of custom ones. I can't edit the spawning archetype in the SDK with custom things?
Could I just create a function inside the zed class to pull the AI? Something like
Code:
function GetThatAI()
{
local customzed;
foreach WorldInfo.AllPawns(class'customzed')
ControllerClass=class'customzeds.customzed'
}
Or would it be better to just make the custom zed extend KFPawn_Monster and completely rework the DefaultProperties?
EDIT: I managed to get the AI Controller's working, BUT, It's not loading all Zeds and spawning them randomly. It replaced the default zeds with the custom ones. I'm not sure how I can load all default zeds and randomly spawn a few groups of custom ones. I can't edit the spawning archetype in the SDK with custom things?
Last edited: