Raised This Month: $ Target: $400
 0% 

Attacked entity spawned spark ( no damage entity )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alexander.3
Junior Member
Join Date: May 2009
Old 04-20-2012 , 11:22   Attacked entity spawned spark ( no damage entity )
Reply With Quote #1

Attacked entity spawned spark ( no damage entity )
Please tell me how to fix it

http://www.youtube.com/watch?v=7lwbqc3cTmI
Alexander.3 is offline
Send a message via ICQ to Alexander.3 Send a message via Skype™ to Alexander.3
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-20-2012 , 11:45   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #2

Quote:
Originally Posted by Alexander.3 View Post
Attacked entity spawned spark ( no damage entity )
Please tell me how to fix it

http://www.youtube.com/watch?v=7lwbqc3cTmI
What do you want to fix?

Last edited by claudiuhks; 04-20-2012 at 11:45.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Alexander.3
Junior Member
Join Date: May 2009
Old 04-20-2012 , 11:52   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #3

Remove the spark. The video is shown.

Attacked in front of the model, sparks fly and will not cause damage entity.
Alexander.3 is offline
Send a message via ICQ to Alexander.3 Send a message via Skype™ to Alexander.3
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-20-2012 , 12:04   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #4

Spark is a message that could be sent by the server engine functions, and it is sent.
You should remove from your hidden and confidential code that is not shown, functions which are like:

PHP Code:

message_begin
MSG_BROADCASTSVC_TEMPENTITYOrigin );
write_byteTE_IMPLOSION );
write_coordOrigin] );
write_coordOrigin] );
write_coordOrigin] );
write_byteRadius );
write_byteCount );
write_byteDuration );
message_end( );

/* ** And from a Ham forward which is named TakeDamage you should remove: */

if( g_bInvincibleClient ] )
{
  return 
HAM_SUPERCEDE;

Edited:

By the way, is this a scripting problem, or a modelling one?

Last edited by claudiuhks; 04-20-2012 at 12:08.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Alexander.3
Junior Member
Join Date: May 2009
Old 04-20-2012 , 12:09   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #5

Code:
public test(id)
{ 
    new NPC_Fast = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
    engfunc(EngFunc_SetModel, NPC_Fast, ZombieFast)
    engfunc(EngFunc_SetSize, NPC_Fast, Float:{ -32.0, -32.0, -35.0}, Float:{  32.0,  32.0,  96.0 })
    engfunc(EngFunc_SetOrigin, NPC_Fast, Float:{899.217041,1425.480468,-443.968750})
    set_pev(NPC_Fast, pev_health, 100.0)
    set_pev(NPC_Fast, pev_solid, SOLID_SLIDEBOX)
    set_pev(NPC_Fast, pev_movetype, MOVETYPE_PUSHSTEP)
    set_pev(NPC_Fast, pev_takedamage, DAMAGE_YES)
    Anim(NPC_Fast, 4)
}
Are you sure? How does it adapt to me?

I think the case in the model
Alexander.3 is offline
Send a message via ICQ to Alexander.3 Send a message via Skype™ to Alexander.3
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-20-2012 , 12:12   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #6

Do you want to kill an entity and broadcast the death?
Health will be less if you hit an entity with a weapon.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Alexander.3
Junior Member
Join Date: May 2009
Old 04-20-2012 , 12:16   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #7

I just want to. that there was no spark.
Alexander.3 is offline
Send a message via ICQ to Alexander.3 Send a message via Skype™ to Alexander.3
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-28-2012 , 18:44   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #8

your npc is like a gman, he also do spark when you shoot him on hl1.
.Dare Devil. is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 04-29-2012 , 06:24   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #9

There is a sound like shooting metal. Show your damage code.
__________________

Last edited by <VeCo>; 04-29-2012 at 06:50.
<VeCo> is offline
SGT
Senior Member
Join Date: Sep 2011
Old 04-29-2012 , 08:01   Re: Attacked entity spawned spark ( no damage entity )
Reply With Quote #10

Quote:
Originally Posted by <VeCo> View Post
There is a sound like shooting metal. Show your damage code.
Yep. Sounds like a shield to me.
SGT is offline
Reply


Thread Tools
Display Modes

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 07:52.


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