Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse

Plutonium

  1. Home
  2. MW3 Modding Releases & Resources
  3. [Release] Hight jump zone

[Release] Hight jump zone

Scheduled Pinned Locked Moved MW3 Modding Releases & Resources
21 Posts 8 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • FragsAreUs FragsAreUs
    [[topic:post-is-deleted]]
    FragsAreUs Offline
    FragsAreUs Offline
    FragsAreUs
    Plutonium Staff
    wrote on last edited by
    #5

    FragsAreUs nvm fixed it by removing the } on line 14

    S3VDITO 1 Reply Last reply
    2
    • FragsAreUs FragsAreUs

      FragsAreUs nvm fixed it by removing the } on line 14

      S3VDITO Offline
      S3VDITO Offline
      S3VDITO
      wrote on last edited by
      #6

      FragsAreUs said in [Release] Hight jump zone:

      FragsAreUs nvm fixed it by removing the } on line 14

      Thanks for the comment, I fixed the shared file
      P.S. there is no such error in the source code attached to the post

      1 Reply Last reply
      0
      • zyrox-tech Offline
        zyrox-tech Offline
        zyrox-tech
        wrote on last edited by
        #7

        use mode spectator and pressing F (or other button with bind +activate) for show origin and angles on console

        how to activate this ?

        S3VDITO 1 Reply Last reply
        0
        • zyrox-tech zyrox-tech

          use mode spectator and pressing F (or other button with bind +activate) for show origin and angles on console

          how to activate this ?

          S3VDITO Offline
          S3VDITO Offline
          S3VDITO
          wrote on last edited by S3VDITO
          #8

          zyrox-tech

          global dev_mode = true; 
          

          on server/private match use F (or your bind +activate) and see console

          1 Reply Last reply
          0
          • zyrox-tech Offline
            zyrox-tech Offline
            zyrox-tech
            wrote on last edited by
            #9

            precisely in the script there and on true. but on the game I am not the position

            possible to have screenshot
            ?

            S3VDITO 1 Reply Last reply
            0
            • zyrox-tech zyrox-tech

              precisely in the script there and on true. but on the game I am not the position

              possible to have screenshot
              ?

              S3VDITO Offline
              S3VDITO Offline
              S3VDITO
              wrote on last edited by S3VDITO
              #10

              zyrox-tech
              of course(sorry for "FULL HD 4K" Quality)
              alt text

              1 Reply Last reply
              0
              • S3VDITO S3VDITO

                I wrote a small script to diversify the infection server 😃
                At first I wanted to make MapEdit, but so far it’s unrealistic ( i don’t know C++ and how to look for the necessary offsets)

                Before declaring me a thief, I’ll say that this is a piece of my code converted to ChaiScript, I just used fragments of QBots, because I don’t know the full syntax of Chai...

                Script can be work on dedicate server/private match

                https://www.youtube.com/watch?v=7v5MURmKecM

                global dev_mode = false;
                
                global jump_zones = [];
                level.onNotify("prematch_done", fun(arguments) {
                	switch(gsc.getDvar("mapname")) {
                	    case("mp_paris") {
                			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                        break;
                		}
                	}
                });
                
                level.onNotify("connected", fun(arguments) {
                	var player = arguments[0];
                	var distance = 0;
                	player.notifyOnPlayerCommand("jump_action", "+activate");
                	
                	player.onNotify("jump_action", fun[player](arguments) {
                		if(dev_mode) { 
                			print(player.getOrigin());
                			print(player.getPlayerAngles());
                		}
                		
                		for(var index = 0; index < size(jump_zones); ++index) {
                			if(gsc.distance(player.getOrigin(), jump_zones[index].getOrigin()) < 175 && player.isOnGround() == 1) {
                				
                				// i trying create jump script, but notify damage can't return MOD_DAMAGE...,
                				// pluto-framework can fix it(pluto-framework can handling damage)
                				
                				player.setVelocity(jump_zones[index].get("impulse"));
                				player.iPrintLnBold("I belive, i can fly");
                				break;
                			}
                		}
                	})
                });
                
                def createJumpZone(position, impulse) {
                	var zone = gsc.spawn("script_model", position);
                	zone.setModel("weapon_c4_bombsquad");
                	zone.setCursorHint("HINT_NOICON");
                	zone.setHintString("Press and hold ^1[{+activate}] ^7for jump");
                	zone.makeUsable();
                	zone.set("impulse", impulse);
                	
                	jump_zones.push_back_ref(zone);
                	
                	return zone;
                }
                

                How to install:
                jump.chai
                send jump.chai in "...\AppData\Local\Plutonium\storage\iw5\scripts"

                How to get pos:

                global dev_mode = false; // change false to true
                

                use mode spectator and pressing F (or other button with bind +activate) for show origin and angles on console

                How to add new maps:
                find it:

                	switch(gsc.getDvar("mapname")) {
                	    case("mp_paris") {
                			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                        break;
                		}
                

                and add new case (this is example):

                case("mp_dome") { createJumpZone([0, 0, -350], [0, 0, 99999]); break; }
                
                // origin is vector3 [X, Y, Z] (you can check needs origin with enabled dev mode)
                // jump_impulse is vector3 [X, Y, Z]
                createJumpZone(origin, jump_impulse);
                
                TTV_WIZEQC Offline
                TTV_WIZEQC Offline
                TTV_WIZEQC
                Contributor
                wrote on last edited by
                #11
                This post is deleted!
                1 Reply Last reply
                0
                • S3VDITO S3VDITO

                  I wrote a small script to diversify the infection server 😃
                  At first I wanted to make MapEdit, but so far it’s unrealistic ( i don’t know C++ and how to look for the necessary offsets)

                  Before declaring me a thief, I’ll say that this is a piece of my code converted to ChaiScript, I just used fragments of QBots, because I don’t know the full syntax of Chai...

                  Script can be work on dedicate server/private match

                  https://www.youtube.com/watch?v=7v5MURmKecM

                  global dev_mode = false;
                  
                  global jump_zones = [];
                  level.onNotify("prematch_done", fun(arguments) {
                  	switch(gsc.getDvar("mapname")) {
                  	    case("mp_paris") {
                  			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                  			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                          break;
                  		}
                  	}
                  });
                  
                  level.onNotify("connected", fun(arguments) {
                  	var player = arguments[0];
                  	var distance = 0;
                  	player.notifyOnPlayerCommand("jump_action", "+activate");
                  	
                  	player.onNotify("jump_action", fun[player](arguments) {
                  		if(dev_mode) { 
                  			print(player.getOrigin());
                  			print(player.getPlayerAngles());
                  		}
                  		
                  		for(var index = 0; index < size(jump_zones); ++index) {
                  			if(gsc.distance(player.getOrigin(), jump_zones[index].getOrigin()) < 175 && player.isOnGround() == 1) {
                  				
                  				// i trying create jump script, but notify damage can't return MOD_DAMAGE...,
                  				// pluto-framework can fix it(pluto-framework can handling damage)
                  				
                  				player.setVelocity(jump_zones[index].get("impulse"));
                  				player.iPrintLnBold("I belive, i can fly");
                  				break;
                  			}
                  		}
                  	})
                  });
                  
                  def createJumpZone(position, impulse) {
                  	var zone = gsc.spawn("script_model", position);
                  	zone.setModel("weapon_c4_bombsquad");
                  	zone.setCursorHint("HINT_NOICON");
                  	zone.setHintString("Press and hold ^1[{+activate}] ^7for jump");
                  	zone.makeUsable();
                  	zone.set("impulse", impulse);
                  	
                  	jump_zones.push_back_ref(zone);
                  	
                  	return zone;
                  }
                  

                  How to install:
                  jump.chai
                  send jump.chai in "...\AppData\Local\Plutonium\storage\iw5\scripts"

                  How to get pos:

                  global dev_mode = false; // change false to true
                  

                  use mode spectator and pressing F (or other button with bind +activate) for show origin and angles on console

                  How to add new maps:
                  find it:

                  	switch(gsc.getDvar("mapname")) {
                  	    case("mp_paris") {
                  			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                  			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                          break;
                  		}
                  

                  and add new case (this is example):

                  case("mp_dome") { createJumpZone([0, 0, -350], [0, 0, 99999]); break; }
                  
                  // origin is vector3 [X, Y, Z] (you can check needs origin with enabled dev mode)
                  // jump_impulse is vector3 [X, Y, Z]
                  createJumpZone(origin, jump_impulse);
                  
                  TTV_WIZEQC Offline
                  TTV_WIZEQC Offline
                  TTV_WIZEQC
                  Contributor
                  wrote on last edited by
                  #12

                  S3VDITO all working good for me i have custom a map with like 7 tp and 1 jump now i need to know how can i create like a wall or a floor

                  S3VDITO 1 Reply Last reply
                  0
                  • TTV_WIZEQC TTV_WIZEQC

                    S3VDITO all working good for me i have custom a map with like 7 tp and 1 jump now i need to know how can i create like a wall or a floor

                    S3VDITO Offline
                    S3VDITO Offline
                    S3VDITO
                    wrote on last edited by
                    #13

                    TTV_WIZEQC
                    I try make it, but

                    FragsAreUs 1 Reply Last reply
                    0
                    • S3VDITO S3VDITO

                      TTV_WIZEQC
                      I try make it, but

                      FragsAreUs Offline
                      FragsAreUs Offline
                      FragsAreUs
                      Plutonium Staff
                      wrote on last edited by
                      #14

                      S3VDITO well dont worry here soon there will be actual gsc support for mw3 but you have to give it some time af3b27fe-2ec3-4f3e-9b61-a5b1cb718d6e-image.png

                      1 Reply Last reply
                      1
                      • Xerxes Offline
                        Xerxes Offline
                        Xerxes
                        Plutonium Staff
                        wrote on last edited by
                        #15

                        384735fd-d7e4-4be5-bd47-ddbfa32d819e-grafik.png

                        soonâ„¢

                        You can already start working on your GSC skills.

                        toasty 1 Reply Last reply
                        2
                        • Xerxes Xerxes

                          384735fd-d7e4-4be5-bd47-ddbfa32d819e-grafik.png

                          soonâ„¢

                          You can already start working on your GSC skills.

                          toasty Offline
                          toasty Offline
                          toasty
                          wrote on last edited by
                          #16

                          Xerxes early access? 🥺

                          1 Reply Last reply
                          0
                          • Xerxes Offline
                            Xerxes Offline
                            Xerxes
                            Plutonium Staff
                            wrote on last edited by
                            #17

                            Everything that is needed to recreate that screenshot is public.
                            Just don't expect anyone to spoonfeed or even attempt to help you.

                            1 Reply Last reply
                            0
                            • S3VDITO S3VDITO

                              I wrote a small script to diversify the infection server 😃
                              At first I wanted to make MapEdit, but so far it’s unrealistic ( i don’t know C++ and how to look for the necessary offsets)

                              Before declaring me a thief, I’ll say that this is a piece of my code converted to ChaiScript, I just used fragments of QBots, because I don’t know the full syntax of Chai...

                              Script can be work on dedicate server/private match

                              https://www.youtube.com/watch?v=7v5MURmKecM

                              global dev_mode = false;
                              
                              global jump_zones = [];
                              level.onNotify("prematch_done", fun(arguments) {
                              	switch(gsc.getDvar("mapname")) {
                              	    case("mp_paris") {
                              			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                              			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                                      break;
                              		}
                              	}
                              });
                              
                              level.onNotify("connected", fun(arguments) {
                              	var player = arguments[0];
                              	var distance = 0;
                              	player.notifyOnPlayerCommand("jump_action", "+activate");
                              	
                              	player.onNotify("jump_action", fun[player](arguments) {
                              		if(dev_mode) { 
                              			print(player.getOrigin());
                              			print(player.getPlayerAngles());
                              		}
                              		
                              		for(var index = 0; index < size(jump_zones); ++index) {
                              			if(gsc.distance(player.getOrigin(), jump_zones[index].getOrigin()) < 175 && player.isOnGround() == 1) {
                              				
                              				// i trying create jump script, but notify damage can't return MOD_DAMAGE...,
                              				// pluto-framework can fix it(pluto-framework can handling damage)
                              				
                              				player.setVelocity(jump_zones[index].get("impulse"));
                              				player.iPrintLnBold("I belive, i can fly");
                              				break;
                              			}
                              		}
                              	})
                              });
                              
                              def createJumpZone(position, impulse) {
                              	var zone = gsc.spawn("script_model", position);
                              	zone.setModel("weapon_c4_bombsquad");
                              	zone.setCursorHint("HINT_NOICON");
                              	zone.setHintString("Press and hold ^1[{+activate}] ^7for jump");
                              	zone.makeUsable();
                              	zone.set("impulse", impulse);
                              	
                              	jump_zones.push_back_ref(zone);
                              	
                              	return zone;
                              }
                              

                              How to install:
                              jump.chai
                              send jump.chai in "...\AppData\Local\Plutonium\storage\iw5\scripts"

                              How to get pos:

                              global dev_mode = false; // change false to true
                              

                              use mode spectator and pressing F (or other button with bind +activate) for show origin and angles on console

                              How to add new maps:
                              find it:

                              	switch(gsc.getDvar("mapname")) {
                              	    case("mp_paris") {
                              			createJumpZone([-1036.623, -739.0071, 145.1301], [0, 0, 1250]);
                              			createJumpZone([-1888.126, 632.3943, 289.125], [-250, 0, 1150]);
                                      break;
                              		}
                              

                              and add new case (this is example):

                              case("mp_dome") { createJumpZone([0, 0, -350], [0, 0, 99999]); break; }
                              
                              // origin is vector3 [X, Y, Z] (you can check needs origin with enabled dev mode)
                              // jump_impulse is vector3 [X, Y, Z]
                              createJumpZone(origin, jump_impulse);
                              
                              ryh Offline
                              ryh Offline
                              ryh
                              wrote on last edited by
                              #18
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • FragsAreUs Offline
                                FragsAreUs Offline
                                FragsAreUs
                                Plutonium Staff
                                wrote on last edited by
                                #19

                                as of right now chi has been removed from mw3 that is why its not working we now have everything running under gsc

                                ryh 1 Reply Last reply
                                0
                                • FragsAreUs FragsAreUs

                                  as of right now chi has been removed from mw3 that is why its not working we now have everything running under gsc

                                  ryh Offline
                                  ryh Offline
                                  ryh
                                  wrote on last edited by
                                  #20

                                  FragsAreUs so how would I put the chai script into a gsc language? I’m new to scripting....

                                  1 Reply Last reply
                                  0
                                  • MisterX2003 Offline
                                    MisterX2003 Offline
                                    MisterX2003
                                    wrote on last edited by
                                    #21
                                    This post is deleted!
                                    1 Reply Last reply
                                    0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • 1
                                    • 2
                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Unread 0
                                    • Recent
                                    • Popular
                                    • Users
                                    • Donate