PDA

View Full Version : can somebody help me



phantom
29th November 2015, 16:14
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?

maxdamage99
29th November 2015, 16:39
{
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)


if(!self isOnGround())

Mitch
29th November 2015, 17:25
'jump_height' is cheat protected. But you can set it via gsc.


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.

player SetVelocity( (-400, 0, 100) );
https://znation.nl/cod4script/setvelocity2.htm

phantom
29th November 2015, 17:27
thnx dude.
so i copy paste this in notepad and im ready?

IzNoGoD
29th November 2015, 18:35
I'll do a writeup on "how to make your first cod server (optionally with libcod) and your first mod" later tonight probably

phantom
29th November 2015, 18:40
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

kung foo man
29th November 2015, 21:18
As intro to modding, this should help a lot to get over the first obstacles on Windows: http://killtube.org/showthread.php?359-VIDEO-rotating-brushmodels

Kemi
30th November 2015, 15:14
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

phantom
30th November 2015, 16:10
ok ill send it too you
its cod 2 mod