Raised This Month: $51 Target: $400
 12% 

Zombie plague 4.3 new frost effect :)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NexOn
Junior Member
Join Date: Dec 2011
Location: Lithuania
Old 12-07-2011 , 12:48   Zombie plague 4.3 new frost effect :)
Reply With Quote #1

Hi dear scripters i need one help with frost effect!!!!!!!! Its on image i thing it uses some codes on zombieplague40 sma so pls help me with this effect it uses some sprite files i have them but i only need help how to add this effect so pls help me!! i will be veryy gretafull http://**************/photo/my-images...only20004.png/
NexOn is offline
Send a message via Skype™ to NexOn
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 12-07-2011 , 12:54   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #2

yea its beautifull i whould like to help u coz i have that too, but i cant.. Ask dare devil on msn maybe he will help u

Last edited by Dr. Sexy; 12-07-2011 at 12:55.
Dr. Sexy is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 12-07-2011 , 13:24   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #3

Change sprite...
new g_sprite_grenade_trail[SPRITE_MAX_LENGTH] = "sprites/laserbeam.spr"
new g_sprite_grenade_ring[SPRITE_MAX_LENGTH] = "sprites/shockwave.spr"
new g_sprite_grenade_glass[SPRITE_MAX_LENGTH] = "models/glassgibs.mdl"
__________________

Last edited by H.RED.ZONE; 12-07-2011 at 13:25.
H.RED.ZONE is offline
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-07-2011 , 13:36   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #4

NexOn
can you upload sprite please ?
__________________
GAARA54 is offline
NexOn
Junior Member
Join Date: Dec 2011
Location: Lithuania
Old 12-07-2011 , 14:22   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #5

its only sprite changing. But not the effect of frost explosion !
NexOn is offline
Send a message via Skype™ to NexOn
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-07-2011 , 14:23   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #6

standart zp in create_blast using 3 TE_BEAMCYLINDER
here i think added TE_SPRITE
here no change sprite, here added sprite


PHP Code:
new g_frostexp 
PHP Code:
public plugin_precache()
{
    
g_frostexp precache_model("sprites/blabla.spr")
...
blabla... 
PHP Code:
// Frost Grenade: Freeze Blast
create_blast3(const Float:originF[3])
{

        
// Frost Sprite
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte (TE_SPRITE// TE ID
    
engfunc(EngFunc_WriteCoordoriginF[0]) // Position X
    
engfunc(EngFunc_WriteCoordoriginF[1]) // Y
    
engfunc(EngFunc_WriteCoordoriginF[2] + 50.0// Z
    
write_short(g_frostexp// Sprite index
    
write_byte(100// Size of sprite
    
write_byte(15// Framerate
    
message_end()

...
blablabla... 
__________________

Last edited by GAARA54; 12-07-2011 at 14:33.
GAARA54 is offline
NexOn
Junior Member
Join Date: Dec 2011
Location: Lithuania
Old 12-07-2011 , 14:43   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #7

Gaara pls tell me correctly couse i dont understand where to put it. I have seen some new frost effect in one brasilian server same like this but in their falling some icy things like little snowballs
NexOn is offline
Send a message via Skype™ to NexOn
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-07-2011 , 14:51   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #8

in .sma file of you zombie plague

search in it

PHP Code:
// CS sounds
new const sound_flashlight[] = "items/flashlight1.wav"
new const sound_buyammo[] = "items/9mmclip1.wav"
new const sound_armorhit[] = "player/bhit_helmet-1.wav" 
edit

PHP Code:
// CS sounds
new const sound_flashlight[] = "items/flashlight1.wav"
new const sound_buyammo[] = "items/9mmclip1.wav"
new const sound_armorhit[] = "player/bhit_helmet-1.wav"
new g_frostexp 
search

PHP Code:
    // Custom sprites for grenades
    
g_exploSpr engfunc(EngFunc_PrecacheModelsprite_grenade_ring)
    
g_flameSpr engfunc(EngFunc_PrecacheModelsprite_grenade_fire)
    
g_smokeSpr engfunc(EngFunc_PrecacheModelsprite_grenade_smoke)
    
g_glassSpr engfunc(EngFunc_PrecacheModelsprite_grenade_glass
edit

PHP Code:
    // Custom sprites for grenades
    
g_exploSpr engfunc(EngFunc_PrecacheModelsprite_grenade_ring)
    
g_flameSpr engfunc(EngFunc_PrecacheModelsprite_grenade_fire)
    
g_smokeSpr engfunc(EngFunc_PrecacheModelsprite_grenade_smoke)
    
g_glassSpr engfunc(EngFunc_PrecacheModelsprite_grenade_glass)
    
g_frostexp precache_model("sprites/blabla.spr"
search

PHP Code:
// Frost Grenade: Freeze Blast
create_blast3(const Float:originF[3])
{
    
// Smallest ring 
edit

PHP Code:
// Frost Grenade: Freeze Blast
create_blast3(const Float:originF[3])
{
        
// Frost Sprite
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte (TE_SPRITE// TE ID
    
engfunc(EngFunc_WriteCoordoriginF[0]) // Position X
    
engfunc(EngFunc_WriteCoordoriginF[1]) // Y
    
engfunc(EngFunc_WriteCoordoriginF[2] + 50.0// Z
    
write_short(g_frostexp// Sprite index
    
write_byte(100// Size of sprite
    
write_byte(15// Framerate
    
message_end()
    
// Smallest ring 
Compile .sma

Here
PHP Code:
    write_byte(100// Size of sprite 
change 100 to other number like 25, 50 test it by youself... (because i testing sprite ingame very very big)

and here change Z origin if sprite under ground or very far of it

PHP Code:
    engfunc(EngFunc_WriteCoordoriginF[2] + 50.0// Z 
__________________

Last edited by GAARA54; 12-07-2011 at 14:52.
GAARA54 is offline
Sprit3x
Senior Member
Join Date: Sep 2010
Location: Romania, Constanta
Old 12-07-2011 , 15:26   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #9

gaara, u know wht code is for that aura? is explospr+rings+aura =(
Sprit3x is offline
Send a message via Skype™ to Sprit3x
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-07-2011 , 15:37   Re: Zombie plague 4.3 new frost effect :)
Reply With Quote #10

PHP Code:
    // light effect
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
    
write_byte(TE_DLIGHT);
    
engfunc(EngFunc_WriteCoordoriginF[0]); // x
    
engfunc(EngFunc_WriteCoordoriginF[1]); // y
    
engfunc(EngFunc_WriteCoordoriginF[2]); // z
    
write_byte(30); // radius
    
write_byte(0); // r
    
write_byte(255); // g
    
write_byte(255); // b
    
write_byte(8); // life
    
write_byte(60); // decay rate
    
message_end(); 
this is edited code from frostnades
add it in create_blast3
tested - work fine, look very cool, going on my server
__________________
GAARA54 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 03:18.


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