Jump to content

Stop npc flinching


Recommended Posts

Hi ^.^ I'm working on a replacement npc for the "ragnos" model for a bit of cheap laughs for my server.

I honestly don't care about his OPness as it'll be on a makermod server where OPness is encouraged ._.

 

As an end result, I would like him to be able to handle at the very least 4 - 5 reborn staffers

 

My replacement code for ragnos is as follows:

Ragnos
{
	// Appearance
	playerModel			jawa
	snd				jedi2
	sndcombat			jedi2
	sndjedi				jedi2
	scale				60
	
	// Physique
	health 				512
	forcePowerMax		        1024
	forceRegenRate		        128
	
	// Awareness
	hfov				255
	vfov				255
	earshot				4096
	visrange			4096
	
	// Saber Skills
	weapon				WP_SABER
	saber				****
	saberColor			blue
	saberStyle			7
	
	// Force Powers
	FP_HEAL				5
	FP_LEVITATION		        5
	FP_SPEED			5
	FP_PUSH				5
	FP_PULL				5
	FP_TELEPATHY		        0
	FP_GRIP				0
	FP_LIGHTNING		        5
	FP_RAGE				3
	FP_PROTECT			5
	FP_ABSORB			0
	FP_DRAIN			5
	FP_SEE				3
	FP_SABERTHROW		        3
	FP_SABER_DEFENSE 	        3
	FP_SABER_OFFENSE 	        3
	
	// Personality
	rank				captain
	reactions			5
	aim				5
	move				5
	aggression			5
	evasion				5
	intelligence		        5
	
	// Profession
	playerTeam			TEAM_PLAYER
	enemyTeam			TEAM_ENEMY
	class				CLASS_REBORN
	
	// Movement
	yawspeed			5000
	walkSpeed			55
	runSpeed			200
	
	// Aiming
	dismemberProbHead	        0
	dismemberProbArms	        0
	dismemberProbLegs	        0
	dismemberProbHands	        0
	dismemberProbWaist	        75
}

He wields a custom staff saber. The name matches up ._. I'd just prefer the staff to be hidden from the players. Yes. I'm evil. I make OP npcs and stop players from using their OP sabers.

****
{
	// Meta
	name				"Ragnos Saber"
	saberType			SABER_STAFF
	
	// Models
	saberModel			"models/weapons2/saber_dual_5/saber_dual_5.glm"
	
	// Sounds
	soundOn				"sound/weapons/saber/saberon.wav"
	soundLoop			"sound/weapons/saber/saberhum1.wav"
	soundOff			"sound/weapons/saber/saberoff.wav"
	
	// Blade Appearance
	numBlades			2
	saberLength			100
	saberRadius 	        	6
	saberColor	    		blue
	brokenSaber1		        desann
	brokenSaber2		        desann
	
	// Bonuses
	throwable			0
	singleBladeStyle	        tavion
	singleBladeThrowable	        1
	saberStyle			staff
	lockBonus			75
	parryBonus			75
	breakParryBonus		        75
	disarmBonus			75
	returnDamage		        2147483647
	
	// Restrictions
	maxChain			-1
	disarmable			0
	notInMP				0
	twoHanded			0
}

He can currently handle 3 reborn staffers at the most before the damage they deal makes him flinch to the point of not fighting back.

My question is... how do I make him stop flinching?

If the answer is "that's impossible" then I'd like to know, if possible, how I would reduce the effects of this flinching?

Link to comment

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...