-
can somebody help me
im new in scripting
im trying to make a high jump server like ni3ls evil high jump in 1.0
i dont want you guys make me a mod. i want to try it myself but as i said im new
i try too search it but i didnt find anything in forums(maybe im blind)
i have found through in game commants the followin one: /jump_height 39
but the values doesnt change like g_gravity. can somebody help me?
-
PHP Code:
{
jumppower = 7500;
self.health += jumppower;
self finishPlayerDamage( self, self, jumppower, 0, "MOD_PROJECTILE", "pryjok_mp", (self.origin+(0,0,-1)), (0,0,1), "none", 0 );
}
Script job if player no is ground (player jump)
PHP Code:
if(!self isOnGround())
-
'jump_height' is cheat protected. But you can set it via gsc.
PHP Code:
setCvar("jump_height", 39);
Edit 2: should be added in one of the init functions.
Edit: there is a other function for maxdamage99's code if you have libcod installed.
PHP Code:
player SetVelocity( (-400, 0, 100) );
https://znation.nl/cod4script/setvelocity2.htm
-
thnx dude.
so i copy paste this in notepad and im ready?
-
I'll do a writeup on "how to make your first cod server (optionally with libcod) and your first mod" later tonight probably
-
great news...thnx dude
i like scripts and stuff like that...but my experience is really low
i bought new pc..and its really beast..to become a great proggramer and i use it like potato
i hope one day i reach your level
-
As intro to modding, this should help a lot to get over the first obstacles on Windows: http://killtube.org/showthread.php?3...ng-brushmodels
-
whats with the trolling lol...
if you're talking about CoD4 or CoD2 im not sure to be honest, send me the mod you're using if you are using one and I'll add high jump to it
-
ok ill send it too you
its cod 2 mod