Raised This Month: $32 Target: $400
 8% 

New Semiclip Method


Post New Thread Reply   
 
Thread Tools Display Modes
FatalisDK
Senior Member
Join Date: Mar 2006
Location: bacon
Old 05-23-2008 , 10:03   Re: New Semiclip Method
Reply With Quote #21

Heres my quick fix, not an efficient fix, OP needs to do that
Maybe or may not work with the team semiclip version. I deleted all the team code in my version.

Code:
public plugin_init() { ..     RegisterHam(Ham_Killed, "player", "fwdKilled", 1);     RegisterHam(Ham_Spawn, "player", "fwdSpawn", 1); } public fwdSpawn(plr) {     if ( !is_user_connected(plr) )     {         return HAM_IGNORED;     }         plr_solid[plr] = SOLID_SLIDEBOX         return HAM_IGNORED; } public fwdKilled(plr) {     plr_alive[plr] = false;     for ( new i = 1; i <= maxplayers; i++ )     {         plr_semiclip[plr][i] = false;     }         plr_solid[plr] = SOLID_NOT;     set_pev(plr, pev_solid, SOLID_NOT);         return HAM_IGNORED; }
__________________
FatalisDK is offline
Old 05-23-2008, 14:14
SchlumPF*
This message has been deleted by SchlumPF*. Reason: nvm
Pamaliska
Senior Member
Join Date: Apr 2006
Location: Edinburgh, UK
Old 05-25-2008 , 08:59   Re: New Semiclip Method
Reply With Quote #22

Quote:
Originally Posted by SchlumPF* View Post
im using this right now and it works without any knows bugs.
However, you have created another bug, you cannot knife a player.

Last edited by Pamaliska; 05-25-2008 at 09:02.
Pamaliska is offline
Old 05-25-2008, 10:18
SchlumPF*
This message has been deleted by SchlumPF*. Reason: nvm
Pamaliska
Senior Member
Join Date: Apr 2006
Location: Edinburgh, UK
Old 05-25-2008 , 13:47   Re: New Semiclip Method
Reply With Quote #23

Confirmed working but needs more testing (tested it in like 2 minutes with a stripped version/no cvars, no transparency)
Pamaliska is offline
skyjur
Junior Member
Join Date: Nov 2006
Location: Lithuania
Old 05-26-2008 , 16:09   Re: New Semiclip Method
Reply With Quote #24

I have updated my semiclip plugin. This one has beend working on HNS server for around a week. No bugs where noticed.

(download it from attachment in first post of this thread)

Last edited by skyjur; 05-26-2008 at 16:12.
skyjur is offline
Tsotsi
Member
Join Date: Apr 2008
Old 07-01-2008 , 12:29   Re: New Semiclip Method
Reply With Quote #25

coderiz can you modify the plugin that you can see which player is ? to show center nick when you have crosshair on your teammate.

and tell me what to modify in
plugin that teammates to be a little more visibile?

thanks for this
plugin..its awesome.
Tsotsi is offline
skyjur
Junior Member
Join Date: Nov 2006
Location: Lithuania
Old 07-02-2008 , 15:07   Re: New Semiclip Method
Reply With Quote #26

Quote:
Originally Posted by Tsotsi View Post
coderiz can you modify the plugin that you can see which player is ? to show center nick when you have crosshair on your teammate.

and tell me what to modify in
plugin that teammates to be a little more visibile?

thanks for this
plugin..its awesome.
Transparency level is on line 34:
PHP Code:
set_es(esES_RenderAmt85
What about center names, it is a very simple plugin, however I don't have a code now because I am on laptop now. This is how it should be I done:
1. Include fakemeta and register some forward in plugin_init(), FM_UpdateClientData might be ok.
Code:
register_forward(FM_UpdateClientData, "Update")
2. Create a function: public Update(id)
3. Use a function: get_user_aiming(id, target, body_part) to get a target.
4. Check if target is a player:
Code:
if(1 <= target <= 32) { ... }
(I would also recomend to check if that targeted player is in a bigger than in ~60 units distance)
5. If it is a player, get his name with get_user_name(target, name, lenght)
6. The last step: show a hud message with target name for player.

I don't have AMX Studio on this laptop and it is very painful to create plugin without it.
__________________
skyjur is offline
PrEn1umz
Junior Member
Join Date: Feb 2007
Location: Nice, France
Old 07-04-2008 , 08:17   Re: New Semiclip Method
Reply With Quote #27

really nice found coderiz ;)
PrEn1umz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-05-2008 , 20:43   Re: New Semiclip Method
Reply With Quote #28

Possible to show player names when you look at them?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
PvtSmithFSSF
Senior Member
Join Date: Jul 2008
Old 07-25-2008 , 21:51   Re: New Semiclip Method
Reply With Quote #29

gj coderiz
PvtSmithFSSF is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 07-29-2008 , 19:48   Re: New Semiclip Method
Reply With Quote #30

Someone can edit this to work only 3 second then the round start ¿?
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
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 23:45.


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