Raised This Month: $ Target: $400
 0% 

Flying


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-09-2009 , 08:31   Flying
Reply With Quote #1

It really sucks that MOVETYPE_FLY doesn't work the way MOVETYPE_NOCLIP works, just with collision.

Maybe there's a way to give player noclip but still allow him to collide with stuff?
__________________
hleV is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2009 , 14:19   Re: Flying
Reply With Quote #2

Code:
#include < amxmodx > #include < engine > public plugin_init( ) {     register_plugin( "Flying", "0.0.1", "Exolent" ); } public client_PreThink( client ) {     if( is_user_alive( client ) ) {         entity_set_float( client, EV_FL_gravity, 0.00001 );         entity_set_int( client, EV_INT_movetype, MOVETYPE_FLY );     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-09-2009 , 15:01   Re: Flying
Reply With Quote #3

Wouldn't work. The only way is probably set the velocity yourself depending keys pressed.
SnoW is offline
Send a message via MSN to SnoW
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2009 , 15:11   Re: Flying
Reply With Quote #4

I forgot about the velocity.
hleV, I wrote a plugin for someone that simulates noclip with this method.
It's either in Scripting Help or Suggestions/Requests.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-09-2009 , 15:45   Re: Flying
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
I forgot about the velocity.
hleV, I wrote a plugin for someone that simulates noclip with this method.
It's either in Scripting Help or Suggestions/Requests.
I was aware of that before creating the thread.
__________________
hleV is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode