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

Quake Like


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sb123
Senior Member
Join Date: Jan 2007
Old 01-07-2008 , 04:37   Quake Like
Reply With Quote #1

Sounds at start round, when entering/exiting game
and when hitting enemy, teammate ...

Sounds are from original game.
Attached Files
File Type: sma Get Plugin or Get Source (quake_like.sma - 956 views - 2.1 KB)
File Type: rar sound.rar (171.4 KB, 484 views)
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-07-2008 , 05:00   Re: Quake Like
Reply With Quote #2

Would be better to convert it to amxX, even if it stay in old/unapproved section.
Something like this :
PHP Code:
/* 
*    AMX Mod X script. 
*    
*   Plugin : Quake like 

*       by DanRaZor 

* Just remember Quake III Arena ... 

* New Cvar : amx_q3_mode = "abcde" (default) 

*    a : emit sound when enemy damaged 
*    b : emit sound when teammate damaged 
*    c : sound at start of round 
*    d : emit sound when entering game 
*    e : emit sound when disconnecting 

* Originals Wavs From the Game. Just Boosted in volume. 
*/  

#include <amxmodx> 

new amx_q3_modeg_mode

public plugin_precache() { 
    
precache_sound"q3/ric2.wav" 
    
precache_sound"q3/hks2.wav" 
    
precache_sound"q3/prepare.wav" 
    
precache_sound"q3/enter.wav" 
    
precache_sound"q3/leave.wav" 
}  

public 
plugin_init() { 
    
register_plugin ("Quake like""1.3""DanRaZor"

    
amx_q3_mode register_cvar("amx_q3_mode" ,"abcde")

    
register_event("Damage" ,"eDamage" "b""2!0""3=0""4!0")
    
register_event("HLTV""eNewRound""a""1=0""2=0")
}

public 
plugin_cfg() {
    
g_mode readSettings()
}

readSettings() { 
    static 
flags[12
    
get_pcvar_string(amx_q3_modeflags11
    return 
read_flagsflags 


public 
client_putinserver(id) { 
    if ( 
g_mode ) { 
        
set_task 2.0 "enterMsg" id
    } 


public 
enterMsg (id) {
    
client_cmdid "spk q3/enter" 
}

public 
client_disconnect(id) { 
    if ( 
g_mode 16
        
client_cmd(0,"spk q3/leave")  


public 
eNewRound ( ) {
    
g_mode readSettings()
    if ( 
g_mode )    
        
client_cmd(0,"spk q3/prepare"


public 
eDamagevictim ) { 
    new 
crap,  attacker get_user_attacker(victimcrapcrap
    if(!
is_user_connected(attacker) || !is_user_connected(victim)) return 
    new 
teamA get_user_team attacker 
    new 
teamV get_user_team victim 
    if ( 
teamV == teamA ) { 
        if ( 
g_mode 
            
client_cmd(attacker,"spk q3/hks2"
    } 
    else if ( 
g_mode 
        
client_cmd(attacker,"spk q3/ric2"

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
s3r
Senior Member
Join Date: Aug 2007
Old 01-20-2008 , 07:13   Re: Quake Like
Reply With Quote #3

Well this plugin works perfect, im changed the hit sounds to quake armor hit
Attached Files
File Type: rar hit.rar (2.0 KB, 182 views)
__________________
PS srr 4 strange enlish
s3r 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 09:37.


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