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

Members Online

»
0 Active | 43 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: mp velocity
lev
General Member
Since: Feb 12, 2007
Posts: 15
Last: Feb 19, 2010
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Friday, Feb. 19, 2010 11:29 am
Hey,

is it in any way possible to change a players velocity in Multiplayer. SetVelocity is SP only. I wanted to create kinda of the quake style jump pads. But e.g. with moveGravity and linked to etc you don't have the air controll was is pretty sucky.
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Friday, Feb. 19, 2010 11:33 am
Here is tutorial how to make players bouncing: Tutorials-read-661.html.

Quick example:
Code:
power = 100;
self.health = self.health + power;
eInflictor = self;
eAttacker = self;
iDamage = power;
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 );
Share |
lev
General Member
Since: Feb 12, 2007
Posts: 15
Last: Feb 19, 2010
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Friday, Feb. 19, 2010 12:16 pm
Gosh that is really clever use of the damage push back. Thank you. Haven't thought of that.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

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

»