Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • 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 2.0k 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.
  • FragsAreUsundefined FragsAreUs

    FragsAreUs nvm fixed it by removing the } on line 14

    S3VDITOundefined Offline
    S3VDITOundefined 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-techundefined Offline
      zyrox-techundefined 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 ?

      S3VDITOundefined 1 Reply Last reply
      0
      • zyrox-techundefined 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 ?

        S3VDITOundefined Offline
        S3VDITOundefined 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-techundefined Offline
          zyrox-techundefined 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
          ?

          S3VDITOundefined 1 Reply Last reply
          0
          • zyrox-techundefined zyrox-tech

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

            possible to have screenshot
            ?

            S3VDITOundefined Offline
            S3VDITOundefined 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
            • S3VDITOundefined 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_WIZEQCundefined Offline
              TTV_WIZEQCundefined Offline
              TTV_WIZEQC
              Contributor
              wrote on last edited by
              #11
              This post is deleted!
              1 Reply Last reply
              0
              • S3VDITOundefined 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_WIZEQCundefined Offline
                TTV_WIZEQCundefined 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

                S3VDITOundefined 1 Reply Last reply
                0
                • TTV_WIZEQCundefined 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

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

                  TTV_WIZEQC
                  I try make it, but

                  FragsAreUsundefined 1 Reply Last reply
                  0
                  • S3VDITOundefined S3VDITO

                    TTV_WIZEQC
                    I try make it, but

                    FragsAreUsundefined Offline
                    FragsAreUsundefined 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
                    • Xerxesundefined Online
                      Xerxesundefined Online
                      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.

                      toastyundefined 1 Reply Last reply
                      2
                      • Xerxesundefined Xerxes

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

                        soonâ„¢

                        You can already start working on your GSC skills.

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

                        Xerxes early access? 🥺

                        1 Reply Last reply
                        0
                        • Xerxesundefined Online
                          Xerxesundefined Online
                          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
                          • S3VDITOundefined 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);
                            
                            ryhundefined Offline
                            ryhundefined Offline
                            ryh
                            wrote on last edited by
                            #18
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • FragsAreUsundefined Offline
                              FragsAreUsundefined 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

                              ryhundefined 1 Reply Last reply
                              0
                              • FragsAreUsundefined FragsAreUs

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

                                ryhundefined Offline
                                ryhundefined 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
                                • MisterX2003undefined Offline
                                  MisterX2003undefined Offline
                                  MisterX2003
                                  wrote on last edited by
                                  #21
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  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
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Donate