All it required was modifying this in the CNPC_PlayerCompanion::Spawn:

CapabilitiesAdd( bits_CAP_NO_HIT_PLAYER | bits_CAP_NO_HIT_SQUADMATES );

And removing:

bits_CAP_FRIENDLY_DMG_IMMUNE

Yay, now I can shoot him but he's still a citizen... exactly what I want.

Andrew (British_Bomber) wrote:

I think it's player relationships or something to that extent.  The
game thinks you are friendly with them so hurting him is a no go.  So
you will either have to change his friendliness to you or alter the
game's logic so that anyone is attackable.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders






--
Kamran A
Get Firefox! Safer, Faster, Better.
<http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to