Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 14 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Tutorials

»
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Bouncing Player.
Versions: You must be logged in to view history.

BraX show you how to bounce player.

Player Bouncing

 

Hey all, today i want to show you how to bounce player using GSC script.

How it works? Ok, so first you need to add more health to player and then apply damage.

You will need to specify iDamage (more damage = big bounce), and vPoint (hit origin).

You have 2 functions to make bounce working, you can chose radiusDamage() or finishPlayerDamage().

 

radiusDamage():

vPoint = ( self.origin + (0,0,-1) );
iDamage = 100;
self.health = ( self.health + iDamage );

SetPlayerIgnoreRadiusDamage( false );
RadiusDamage( vPoint, 2, iDamage, iDamage, self );

 

finishPlayerDamage():

eInflictor = self;
eAttacker = self;
iDamage = 100;
iDFlags = 0;
sMeansOfDeath = "MOD_PROJECTILE";
sWeapon = "panzershreck_mp";
vPoint = ( self.origin + (0,0,-1) );
vDir = vectornormalize( self.origin - vPoint );
sHitLoc = "none";
psOffsetTime = 0;

self finishPlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime );

 

 

 

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»