Garry's Mod

Garry's Mod

[E2] PlyCore
Sir Papate  [开发者] 2014 年 1 月 12 日 下午 5:18
[E2 code] Noclip
@name Noclip Beta @inputs @outputs @persist Ply:entity Gravity @trigger if( first() ){ runOnTick(1) runOnLast(1) #Ply = findPlayerByName( "pataproute" ) Ply = owner() Gravity = owner():plyGetGravity() Ply:plySetGravity( 0 ) } KW = Ply:keyForward() KA = Ply:keyLeft() KS = Ply:keyBack() KD = Ply:keyRight() KSpace = Ply:keyJump() KShift = Ply:keySprint() KCtrl = Ply:keyDuck() KAlt = Ply:keyWalk() Friction = -Ply:vel() / 10 Multiplier = ( KShift * 2 + 1 ) / ( KCtrl * 2 + 1 ) / ( KAlt * 2 + 1 ) * 60 ForwardForce = Ply:eyeAngles():forward() * ( KW - KS ) RightForce = Ply:eyeAngles():right() * ( KD - KA ) UpForce = vec( 0, 0, 1 ) * KSpace Ply:plyApplyForce( Friction + ( ForwardForce + RightForce + UpForce ) * Multiplier ) if( last() ){ Ply:plySetGravity(600) }
最后由 Sir Papate 编辑于; 2015 年 3 月 23 日 下午 12:25
< >
正在显示第 1 - 15 条,共 16 条留言
boofball 2014 年 5 月 5 日 下午 4:13 
awsome
XRP 2016 年 1 月 3 日 上午 10:15 
Thx
Saigon Squidward 2016 年 3 月 6 日 下午 12:50 
this is brirriant
HungryShark™ 2016 年 6 月 30 日 下午 8:00 
Does this e2 still work? If so how do i use it?
Sir Papate  [开发者] 2016 年 7 月 1 日 上午 4:48 
It has no reason not to work
RevilO 2016 年 7 月 28 日 上午 2:43 
Doens't work
Saigon Squidward 2016 年 8 月 23 日 上午 11:29 
Yeah it seems broken, it just tells me "no such function: entity:plyGetGravity(void)"
doorknob 2016 年 10 月 16 日 下午 5:55 
how does this work?
Sir Papate  [开发者] 2016 年 10 月 16 日 下午 6:03 
You just have to run the code and the right to use the extention
Saigon Squidward 2016 年 10 月 17 日 下午 3:42 
Figured it out, you could have mentioned for people who don't know a lot about E2 that this requires playercore.
ubercharged keter 2016 年 10 月 22 日 下午 9:10 
can i reupload this as an admin faker e2 and ill give you most credit?
danny 2017 年 4 月 14 日 上午 9:02 
引用自 Saigon Squidward
Yeah it seems broken, it just tells me "no such function: entity:plyGetGravity(void)"
danny 2017 年 4 月 14 日 上午 9:02 
Doesnt work.
Monstrous 2017 年 9 月 1 日 下午 3:07 
Do you have to press a certain button for this to start working? If so what is the button?
Jackson Hinkle 2017 年 9 月 30 日 下午 5:43 
Why would u create this if you need to download a addon for it to specifecly work. That's just ♥♥♥♥♥♥♥ stupid. It doesn't work on servers. This coding is ♥♥♥♥♥♥♥ pointless.
< >
正在显示第 1 - 15 条,共 16 条留言
每页显示数: 1530 50