Well guys, I finally did it!
I removed that nasty bug.
Right mouse button, lets the npc you controll ignore other enemies, and also disables the walking on its own.
Left mouse button, lets your npc shoot at enemies and walks on its own.
Like releasing the npc till you want to torture him again.
I can walk to enemies now, and let them kill my npc, without any response from my npc (besides that it looks to the enemie wich shot him)
Now the npc does always what you expect him/her to do.
Because, once you parent a clip, you tie it to an entity, wich removes the ability of npc_clip ( I think )
And second, once something is parented to something wich moves, the moving object wont be blocked by the thing wich you parented.
But I already fixed it, with alot of add outputs.
Well, for now. Fixed the weird bug, made a temp release of your npc pet function (right mouse), a regain controll function (left mouse),
and I changed the npc to a rebel. So you’re not too strong anymore, it is actually hard to win now. You WILL need teammates.
Tomorrow I’ll be going to family,Upcoming week I’ve got progress tests wich all count for my exams (only for a small part)
So the work will be resting for a week.
Things I planned
A spawn chamber/building
It is a place where you can buy upgrades you won with your npc, like when you waked through a special item/box I made to look like an upgrade. The upgrade could be: Raise your npc’s HP to 400. Or giving your npc the strongest weapon, the ar2 (wich your npc will keep till he dies)
“train”, give your npc a little bit more hp for the upcoming game. (Putting the hp above max +something each time)
And when your npc dies, it respawns in the facility as a new npc. Losing your weapon and stuff.
When entering a game, I will always put up a stash with normal pistols for the ones wich didn’t won a weapon yet.[/release]