Raised This Month: $ Target: $400
 0% 

Snowballs


Post New Thread Reply   
 
Thread Tools Display Modes
icequeenzz
Member
Join Date: May 2008
Old 11-30-2008 , 13:22   Re: Snowballs
Reply With Quote #71

can somebody please add the sounds and make a explosion sprite for the snowball.. because it looks cool exept the sound and the explosion..
icequeenzz is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 12-01-2008 , 03:08   Re: Snowballs
Reply With Quote #72

arkshine if you need the snow war mod files, i'll upload them somewhere.
alexinno is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-01-2008 , 05:10   Re: Snowballs
Reply With Quote #73

No thanks, alexinno. I've already the necessary files otherwise how could I try to convert this mod. ^^
__________________

Last edited by Arkshine; 12-01-2008 at 05:13.
Arkshine is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 12-01-2008 , 09:35   Re: Snowballs
Reply With Quote #74

Quote:
Originally Posted by arkshine View Post
No thanks, alexinno. I've already the necessary files otherwise how could I try to convert this mod. ^^
ok
it will be a great season mod
alexinno is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-01-2008 , 11:19   Re: Snowballs
Reply With Quote #75

This mod is clearly NOT a snowball mod.
All this does is change the model, give a trail, and make the grenade glow.
This plugin can be made with a model changing plugin and the trail plugin for grenades.
The grenades explode like normal, instead of hitting like snow.

Unapproved.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 12-08-2010, 09:03
GAARA54
This message has been deleted by GAARA54. Reason: lol
GANGSTA_
Senior Member
Join Date: Nov 2010
Location: IR/ Romania
Old 12-08-2010 , 11:07   Re: Snowballs
Reply With Quote #76

Nice plugin ..
but we can make the difference between a smoke and a flashbang?
I want use this plugin to my hns server.
GANGSTA_ is offline
Send a message via Yahoo to GANGSTA_
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-08-2010 , 15:50   Re: Snowballs
Reply With Quote #77

PHP Code:

/* AMX Mod X
*   Snowballs
*
* (c) Copyright 2008 by FakeNick
*
* This file is provided as is (no warranties)
*
*     DESCRIPTION
*       This plugin is changing grenade view model and grenade world model
*    for snowball models. Also it is adding (optional) trail and glow
*
*     MODULES
*    fakemeta
*
*     CVARS
*    snowballs_on - turns snowballs on/off (default on)
*    snowballs_trail - turns on/off trail behind snowball (default on)
*    snowballs_rendering - turns on/off a glow for snowballs (default on)
*
*     VERSIONS
*    1.0 - first release
*    
*    1.1 - cleaned up the code (thanks Arkshine for tips)
*  
*  1.2 - added p_ model (GAARA54)
*/

#include <amxmodx>
#include <fakemeta>
#include <fakemeta_util>

new VERSION[] = "1.2"

new const model_nade_world[] = "models/snowballs/w_snowball.mdl" 
new const model_nade_view[] = "models/snowballs/v_snowball.mdl" 
new const model_nade_hands[] = "models/snowballs/p_snowball.mdl"
new const model_trail[] = "sprites/laserbeam.spr" 

//Cvars
new on
new rendering
new trail

//For snowball trail
new g_trail

public plugin_init()
{
    
register_plugin("Snowballs!"VERSION"FakeNick")
    
on register_cvar("snowballs_on","1")
    if(
get_pcvar_num(on))
    {
        
rendering register_cvar("snowballs_rendering","1")
        
trail register_cvar("snowballs_trail","1")
        
        
register_forward(FM_SetModel,"forward_model")
        
        
register_event("CurWeapon","func_modelchange_hook","be","1=1","2=4","2=9","2=25")
    }
    
}
public 
plugin_precache()
{
    
engfunc(EngFunc_PrecacheModel,model_nade_world)
    
    
engfunc(EngFunc_PrecacheModel,model_nade_view)
    
    
engfunc(EngFunc_PrecacheModel,model_nade_hands)
    
    
g_trail engfunc(EngFunc_PrecacheModel,model_trail)
}
public 
func_modelchange_hook(id)
{
    
set_pev(idpev_viewmodel2,model_nade_view)
    
set_pev(idpev_weaponmodel2,model_nade_hands)
}
public 
forward_model(entity,const model[])
{
    if(!
pev_valid(entity))
    {
        return 
FMRES_IGNORED
    
}
    
    if ( 
model] == 'm' && model] == 'w' && model] == '_' )
    {
        switch ( 
model] )
        {
            case 
'f' :
            {
                
engfunc EngFunc_SetModelentitymodel_nade_world )
                if(
get_pcvar_num(trail))
                {
                    
fm_set_trail(entity,255,255,255,255)
                }
                if(
get_pcvar_num(rendering))
                {
                    
fm_set_rendering entitykRenderFxGlowShell255255255kRenderNormal255 )
                }
        
            }
            case 
'h' :
            {
                
engfunc EngFunc_SetModelentitymodel_nade_world )
                if(
get_pcvar_num(trail))
                {
                    
fm_set_trail(entity,255,0,0,255)
                }
                if(
get_pcvar_num(rendering))
                {
                    
fm_set_rendering entitykRenderFxGlowShell25500kRenderNormal255 )
                }
            }
            case 
's' :
            {
                
engfunc EngFunc_SetModelentitymodel_nade_world )
                if(
get_pcvar_num(trail))
                {
                    
fm_set_trail(entity,0,255,0,255)
                }
                if(
get_pcvar_num(rendering))
                {
                    
fm_set_rendering entitykRenderFxGlowShell02550kRenderNormal255 )
                }
            }
        }
        return 
FMRES_SUPERCEDE
    
}
    
    return 
FMRES_IGNORED
}
stock fm_set_trail(id,r,g,b,bright)
{
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(TE_BEAMFOLLOW)              
    
write_short(id)         
    
write_short(g_trail)        
    
write_byte(25)              
    
write_byte(5)               
    
write_byte(r)             
    
write_byte(g)               
    
write_byte(b)                
    
write_byte(bright)                
    
message_end()

code with p_ model... don't tested


p_ model you can use from Snowball War Mod
__________________

Last edited by GAARA54; 12-12-2010 at 04:57.
GAARA54 is offline
GANGSTA_
Senior Member
Join Date: Nov 2010
Location: IR/ Romania
Old 12-09-2010 , 08:53   Re: Snowballs
Reply With Quote #78

Don't work ..
How is good ?

snowballs_on
snowballs_trail_on
snowballs_rendering_on

or

snowballs_on on
snowballs_trail on
snowballs_rendering on

Don't work .. i like this plugin =[

GANGSTA_ is offline
Send a message via Yahoo to GANGSTA_
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 12-12-2010 , 04:51   Re: Snowballs
Reply With Quote #79




model with standart cs 1.6 hands and with lowpoly snowball


Quote:
Originally Posted by GANGSTA_ View Post
Don't work ..
How is good ?

snowballs_on
snowballs_trail_on
snowballs_rendering_on

or

snowballs_on on
snowballs_trail on
snowballs_rendering on

Don't work .. i like this plugin =[

snowballs_on 1
snowballs_trail 1
snowballs_rendering 1
Attached Thumbnails
Click image for larger version

Name:	sadasda.JPG
Views:	2151
Size:	36.0 KB
ID:	78986  
Attached Files
File Type: zip v_snowball_lowpoly.zip (103.9 KB, 239 views)
__________________
GAARA54 is offline
HuNt3RiQ
Member
Join Date: Mar 2011
Location: Slovakia
Old 11-11-2011 , 13:31   Re: Snowballs
Reply With Quote #80

hi..please,when i drop bomb or plant bomb ..bomb is invisible
(when run this plugin)
please where is problem?thx
__________________
do you want a ?then ok
HuNt3RiQ is offline
Send a message via ICQ to HuNt3RiQ
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 20:00.


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