Post: [Release][Code] Levitator Code Created By iTrexk!
09-12-2013, 02:30 AM #1
iTrexk
[move]:p The ''K'' Is Silent :p[/move]
(adsbygoogle = window.adsbygoogle || []).push({});
Levitator Code
Create By: iTrexk






Hey ngu, I'm releasing this now to you guys so that you can have your fun with it as I had mine. This probably won't be big because now you have RTE, but for the people that are in my situation that just do back ups this is more for you and also to the USB'ers. There's a bit of coding so I will do my best to try and explain to you how to set this up in your menu.

Ok, the Levitator uses the new jump code to prevent the dive jump that you can see You must login or register to view this content.. Two make it easier I'm going to put the code in three sections. First section will be the code that gets executed (vstr) when you press the option in your menu. The second section will be part of the Levitator code but only takes place when you have exited the menu. The third section is what you need to do to your buttons that you set to default when exiting the menu. Without the third section being the way that I have it below, the code with not work correctly.

    [B][U][COLOR="#FF0000"]Section 1[/COLOR][/U][/B]
set Levitator "toggle Levitatort \"vstr Levitatort1\" \"vstr Levitatort2\";vstr Levitatort";set Levitatort ""
set Levitatort1 "bg_prone_yawcap 360;set A vstr DefaultA;setPerk UnboundUser specialty_jumpdive 1;setPerk iTrexk specialty_jumpdive 1;perk_diveDistanceCheck 64;perk_diveGravityScale 0.0005;perk_diveVelocity 250;perk_diveViewRollResetSpeed 0;perk_diveViewRollSpeed 0;perk_diveViewRollTarget 0;set Notify1 vstr Levitatorb;set Notify2 vstr LevitatoraInfo;bind DPAD_RIGHT vstr Levitatora;set ADive vstr ADivea"
set Levitatort2 "reset bg_prone_yawcap;set A vstr NoDive;bind DPAD_RIGHT +actionslot 4;set Notify1 vstr Ng;set Notify2 vstr Ng;set ADive vstr Ng;set ASay vstr Clear"

[B][U][COLOR="#FF0000"]Section 2[/COLOR][/U][/B]
set Levitatora "perk_diveGravityScale 0.75;wait 44;perk_diveGravityScale 0.005;vstr LevitatorbInfo;bind DPAD_RIGHT \""perk_diveGravityScale 0.75;wait 44;perk_diveGravityScale 0.005;^7;set ASay vstr Ng"
set Levitatorb "perk_diveGravityScale 0.0005;bind DPAD_RIGHT vstr Levitatora"
set LevitatoraInfo "\"^5Press * ^5To ^8Set ^5The ^8Height\".;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;set ASay \""\"^5Press * ^5To ^8Set ^5The ^8Height\".;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7"
set LevitatorbInfo "\"^5Press * ^5Again To Go ^8Down\".;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;wait 5;^7;set ASay \""\"^5Press * ^5Again To Go ^8Down\".;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7"
set ADivea "setPerk UnboundUser specialty_jumpdive 1;setPerk iTrexk specialty_jumpdive 1"

[B][U][COLOR="#FF0000"]Section 3[/COLOR][/U][/B]
[COLOR="#FFA500"]In you menu where you have your buttons setting to the default value in the Exit/Close variable you must replace the "[COLOR="#0000FF"]bind BUTTON_A +gostand[/COLOR]" to "[COLOR="#0000FF"]vstr A[/COLOR]". And then at the end add this apad with this inside of it, "[COLOR="#0000FF"]bind APAD_UP \""vstr ASay;vstr ADive"[/COLOR]". If your having trouble understanding me then you can look below and see how it needs to be.[/COLOR]

Default Layout "bind BUTTON_RSHLDR +attack;bind BUTTON_LSHLDR +speed_throw;bind BUTTON_RTRIG +frag;bind BUTTON_LTRIG +smoke;bind BUTTON_RSTICK +melee;bind BUTTON_LSTICK +breath_sprint;bind BUTTON_START togglemenu;bind BUTTON_BACK togglescores;vstr A;bind BUTTON_B +stance;bind BUTTON_X +usereload;bind BUTTON_Y weapnext;bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind DPAD_LEFT +actionslot 3;bind DPAD_RIGHT +actionslot 4;bind APAD_UP \""vstr ASay;vstr ADive"
Tactical Layout "bind BUTTON_RSHLDR +attack;bind BUTTON_LSHLDR +speed_throw;bind BUTTON_RTRIG +frag;bind BUTTON_LTRIG +smoke;bind BUTTON_RSTICK +stance;bind BUTTON_LSTICK +breath_sprint;bind BUTTON_START togglemenu;bind BUTTON_BACK togglescores;vstr A;bind BUTTON_B +melee;bind BUTTON_X +usereload;bind BUTTON_Y weapnext;bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind DPAD_LEFT +actionslot 3;bind DPAD_RIGHT +actionslot 4;bind APAD_UP \""vstr ASay;vstr ADive"

[COLOR="#FFA500"]Below here is important! If you don't have this somewhere in your menu the Levitaor code will not work at all! So put it somewhere lol, maybe all the way on the bottom of your menu.[/COLOR]

set A "vstr NoDive"
set NoDive "bind BUTTON_A \""unbindallaxis;+gostand;-gostand;wait 5;exec thumbstick_default.cfg"
set DefaultA "bind BUTTON_A \""vstr Notify1;+gostand;-gostand;vstr Notify2"
set Ng ""
set Clear "^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7"



Here is someone's go at trying to recreate the Levitator code. They got it to set a height and stay there but it could use some work and the button to function response to set a height is a bit long. But other then that good job and props to You must login or register to view this content..

    set Levitator "vstr Close;bind APAD_UP vstr NOTHING;vstr UFO2"
set UFO2 "setPerk iTrexk specialty_jumpdive 1;setPerk XxJLM420xX specialty_jumpdive 1;perk_diveDistanceCheck 64;perk_diveGravityScale 0.0005;perk_diveVelocity 250;perk_diveViewRollResetspeed 4;perk_diveViewRollSpeed 0.5;perk_diveViewRollTarget 45;bg_fallDamageMinHeight 128;bg_fallDamageMaxHeight 300;^7;^6Press_^0DOWN^6_To_Cancel_UFO;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;bind dpad_down vstr UFOOFF;bind APAD_UP vstr CLEAR"
set UFOOFF "perk_diveGravityScale 100;wait 0.1;perk_diveGravityScale 0.005;^7;^6Press_^0Right^6_For_STOP;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;bind dpad_right vstr blah"
set blah "perk_diveGravityScale 100;wait 50;perk_diveGravityScale 100;^7;^6Press_^0Right^6_For_UFO;^7;^7;^7;^7;^7;^7;^7;^7;^7;^7;bind dpad_right vstr UFO2"


Credit To:
Originally posted by another user
TheFallen - for the original design of the UFO Perk
campbell - for finding setPerks


Hope you like this release and if the code is not acting like it is in the video then tell me.
ENJOY :p
[/CENTER]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 24 users say thank you to iTrexk for this useful post:

Alex-George-HnM, Ansity., bandphan, BrinkerzHD, ChopzModz, codybenti, EcLiPz_MoDD3Rz, hacking247, JLM, ImPiffHD, Jordan G., Kush Friendly, Mango_Knife, MrKiller261, Obris, Prodigy_killz, rimka06510, Script Kiddie, Shae, Silent Assassin, SnaY, TeRmiiMoDz, xGreekModzHD, Ziad1997
09-12-2013, 11:45 AM #2
Nobody replies to this? No Great discovery Texk! I'll probably make this the UFO in my v3. I'll let you know how it goes ^_^
09-12-2013, 03:40 PM #3
Glad you released this, everyone was really hyped when they saw this feature. This will be a nice add-on to a menu I've been working on. Haven't coded in ages and my menu is looking sweet, thanks man !
09-12-2013, 04:27 PM #4
Script Kiddie
At least I can fight
Yea finally get to use a working version of this Smile I tried to make something similer to this ever since I saw it on your v5 preview :P I have to say ummm mine didn't go so well ha ha ha thanks for sharing this I look forward to floating around :y:

My fail of a go at it hehe
    set UFO "vstr CLOSE;vstr NOMENUBYE;bind apad_up vstr NOTHING;setPerk Player specialty_jumpdive 1;setPerk KRACKERSTYLE specialty_jumpdive 1;perk_diveDistanceCheck 64;perk_diveGravityScale 0.0001;perk_diveVelocity 250;perk_diveViewRollResetSpeed 4;perk_diveViewRollSpeed 0.5;perk_diveViewRollTarget 45;vstr UFOA;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFOH"
set UFOH "vstr CLOSE;vstr NOMENUBYE;bind apad_up vstr NOTHING;perk_diveDistanceCheck 0;reset perk_diveGravityScale;perk_diveVelocity 250;perk_diveViewRollResetSpeed 0;perk_diveViewRollSpeed 0;perk_diveViewRollTarget 45;g_gravity 10;vstr UFOB;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFOOFF"
set UFOA "\""\"^5press * ^5To ^0Set ^5The ^0Height
set UFOB "\""\"^5press * ^5Again To Go ^0Down
set UFOOFF "vstr NOMENUBYE;bind apad_up vstr NOTHING;g_gravity 800;perk_diveGravityScale 0.75;bg_fallDamageMinHeight 999999;bg_fallDamageMaxHeight 999999;wait 10;vstr UFOA;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFO"


seems mine was way off :P but was worth a try
09-12-2013, 08:34 PM #5
iTrexk
[move]:p The ''K'' Is Silent :p[/move]
Originally posted by Jordan
Nobody replies to this? No Great discovery Texk! I'll probably make this the UFO in my v3. I'll let you know how it goes ^_^


Lol thanks man. But why try and make it when I released the perfect working code and you can just kinda look through it and make your own base off of mine. If you wanted to make your own version then you should have did it before the release. I would have been more impress then.

Originally posted by HnM View Post
Glad you released this, everyone was really hyped when they saw this feature. This will be a nice add-on to a menu I've been working on. Haven't coded in ages and my menu is looking sweet, thanks man !


Thanks man, yea I'm slowly going to be releasing everything. Kinda done. :/

Originally posted by xI2iley
Yea finally get to use a working version of this Smile I tried to make something similer to this ever since I saw it on your v5 preview :P I have to say ummm mine didn't go so well ha ha ha thanks for sharing this I look forward to floating around :y:

My fail of a go at it hehe
    set UFO "vstr CLOSE;vstr NOMENUBYE;bind apad_up vstr NOTHING;setPerk Player specialty_jumpdive 1;setPerk KRACKERSTYLE specialty_jumpdive 1;perk_diveDistanceCheck 64;perk_diveGravityScale 0.0001;perk_diveVelocity 250;perk_diveViewRollResetSpeed 4;perk_diveViewRollSpeed 0.5;perk_diveViewRollTarget 45;vstr UFOA;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFOH"
set UFOH "vstr CLOSE;vstr NOMENUBYE;bind apad_up vstr NOTHING;perk_diveDistanceCheck 0;reset perk_diveGravityScale;perk_diveVelocity 250;perk_diveViewRollResetSpeed 0;perk_diveViewRollSpeed 0;perk_diveViewRollTarget 45;g_gravity 10;vstr UFOB;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFOOFF"
set UFOA "\""\"^5press * ^5To ^0Set ^5The ^0Height
set UFOB "\""\"^5press * ^5Again To Go ^0Down
set UFOOFF "vstr NOMENUBYE;bind apad_up vstr NOTHING;g_gravity 800;perk_diveGravityScale 0.75;bg_fallDamageMinHeight 999999;bg_fallDamageMaxHeight 999999;wait 10;vstr UFOA;wait 5;^7;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;wait 5;^7 ;bind dpad_right vstr UFO"


seems mine was way off :P but was worth a try


Lol thanks man and nice try but at least you will have your fun now. :P
09-12-2013, 08:48 PM #6
Originally posted by iTrexk View Post
Lol thanks man. But why try and make it when I released the perfect working code and you can just kinda look through it and make your own base off of mine. If you wanted to make your own version then you should have did it before the release. I would have been more impress then.



Thanks man, yea I'm slowly going to be releasing everything. Kinda done. :/



Lol thanks man and nice try but at least you will have your fun now. :P


Not that advanced yet. I can code my own base/menu but thats about it.
09-12-2013, 11:33 PM #7
Yeah i recreadted it i made my code better but have fun guys i spent 3 hours on mine it was a bitch Smile
09-13-2013, 10:40 AM #8
Thanks Awesome face

The following user thanked LoveModz- for this useful post:

JLM
09-16-2013, 09:38 AM #9
iTrex strikes again! :y:

The following user thanked Obris for this useful post:

iTrexk
09-17-2013, 12:44 AM #10
that's amazing great work Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo