Results 1 to 9 of 9

Thread: can somebody help me

  1. #1
    ... connecting
    Join Date
    Nov 2015
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Red face 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?

  2. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    PHP Code:
    {
        
    jumppower =  7500;
        
    self.health += jumppower;
        
    self finishPlayerDamageselfselfjumppower0"MOD_PROJECTILE""pryjok_mp", (self.origin+(0,0,-1)), (0,0,1), "none");

    Script job if player no is ground (player jump)
    PHP Code:
    if(!self isOnGround()) 

  3. The Following User Says Thank You to maxdamage99 For This Useful Post:

    kung foo man (29th November 2015)

  4. #3
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    '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( (-4000100) ); 
    https://znation.nl/cod4script/setvelocity2.htm
    Last edited by Mitch; 29th November 2015 at 17:32. Reason: Libcod alternative

  5. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (29th November 2015),phantom (29th November 2015)

  6. #4
    ... connecting
    Join Date
    Nov 2015
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    thnx dude.
    so i copy paste this in notepad and im ready?
    Last edited by phantom; 29th November 2015 at 17:36.

  7. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    I'll do a writeup on "how to make your first cod server (optionally with libcod) and your first mod" later tonight probably
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  8. The Following User Says Thank You to IzNoGoD For This Useful Post:

    phantom (29th November 2015)

  9. #6
    ... connecting
    Join Date
    Nov 2015
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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

  10. #7
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    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
    timescale 0.01

  11. #8
    Private
    Join Date
    Nov 2014
    Posts
    25
    Thanks
    9
    Thanked 3 Times in 2 Posts
    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

  12. #9
    ... connecting
    Join Date
    Nov 2015
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    ok ill send it too you
    its cod 2 mod

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •