Raised This Month: $ Target: $400
 0% 

Semiclip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Larcyn
Senior Member
Join Date: Oct 2010
Old 01-14-2011 , 09:18   Semiclip
Reply With Quote #1

Hello, i need some help to get semiclip to a plugin i'm making, this is the second plugin I make and i'm not super good at the moment, and need some help.

This plugins i got currently does this:

when i write /spec it goes to spec, i become invis and get godmode.
How can i add so spectators can go through everyone else (Semiclip) ?
Awesome if someone help me ;)!

Last edited by Larcyn; 01-14-2011 at 14:33.
Larcyn is offline
fireattack
Senior Member
Join Date: Jul 2008
Old 01-14-2011 , 10:04   Re: Semiclip
Reply With Quote #2

Wtf?, If you change to spec you don't need glow or godmode.

Explain better please.
fireattack is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 01-14-2011 , 10:10   Re: Semiclip
Reply With Quote #3

You need to make player not solid (no clip)?

set_pev(id, pev_solid, SOLID_NOT)
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Elusive138
Senior Member
Join Date: Dec 2010
Old 01-14-2011 , 10:17   Re: Semiclip
Reply With Quote #4

Quote:
Originally Posted by Flipper_SPb View Post
You need to make player not solid (no clip)?

set_pev(id, pev_solid, SOLID_NOT)
Quote:
Originally Posted by hlsdk
// SOLID only effects OTHER entities colliding with this one when they move - UGH!


Try one of these?
Code:
// pev(entity, pev_movetype) values
#define    MOVETYPE_NONE                   0           // Never moves
#define    MOVETYPE_WALK                   3           // Player only - moving on the ground
#define    MOVETYPE_STEP                   4           // Gravity, special edge handling -- monsters use this
#define    MOVETYPE_FLY                    5           // No gravity, but still collides with stuff
#define    MOVETYPE_TOSS                   6           // Gravity/Collisions
#define    MOVETYPE_PUSH                   7           // No clip to world, push and crush
#define    MOVETYPE_NOCLIP                 8           // No gravity, no collisions, still do velocity/avelocity
#define    MOVETYPE_FLYMISSILE             9           // Extra size to monsters
#define    MOVETYPE_BOUNCE                 10          // Just like Toss, but reflect velocity when contacting surfaces
#define    MOVETYPE_BOUNCEMISSILE          11          // Bounce w/o gravity
#define    MOVETYPE_FOLLOW                 12          // Track movement of aiment
#define    MOVETYPE_PUSHSTEP               13          // BSP model that needs physics/world collisions (uses nearest hull for world collision)

Last edited by Elusive138; 01-14-2011 at 10:34.
Elusive138 is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 01-14-2011 , 11:05   Re: Semiclip
Reply With Quote #5

PHP Code:
    pev->flags FL_SPECTATOR;
    
pev->solid SOLID_NOT;
    
pev->movetype MOVETYPE_NOCLIP
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Larcyn
Senior Member
Join Date: Oct 2010
Old 01-14-2011 , 14:32   Re: Semiclip
Reply With Quote #6

I want that the spectator team have Semiclip through, terrorists, counter terrorists, and other spectators.
Larcyn 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 02:14.


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