Raised This Month: $ Target: $400
 0% 

(Ayuda) Zombie Mutilation EDIT


  
 
 
Thread Tools Display Modes
Author Message
axelgrox
BANNED
Join Date: Mar 2009
Location: Argentina [Tucuman]
Old 03-14-2009 , 14:35   (Ayuda) Zombie Mutilation EDIT
#1

Holas bueno soy new y keria pedirle si me pasan como cambiar las armas del mod armagedon q trae el mutialation y como poner para que el sniper saque mas vida o cambiarle el arma tambien espero su respuesta gracias

salu2
axelgrox is offline
Send a message via MSN to axelgrox Send a message via Skype™ to axelgrox
aeroff
Member
Join Date: Dec 2008
Old 03-14-2009 , 15:40   Re: (Ayuda) Zombie Mutilation EDIT
#2

usa el search del foro, esto ya lo preguntaron y solucionaron
aeroff is offline
axelgrox
BANNED
Join Date: Mar 2009
Location: Argentina [Tucuman]
Old 03-14-2009 , 15:50   Re: (Ayuda) Zombie Mutilation EDIT
#3

me podes pasar el link o algo pls por q no encuentro ensima pongo el search y tampoco no pasa nada plss
axelgrox is offline
Send a message via MSN to axelgrox Send a message via Skype™ to axelgrox
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 03-14-2009 , 16:00   Re: (Ayuda) Zombie Mutilation EDIT
#4

Busca esto en tu Zombie Mutilation:

PHP Code:
// MAKE SNIPER
        
g_sniper[id] = true
        humanme
(id1)
        
fm_strip_user_weapons(id)
        
fm_give_item(id"weapon_knife")
        
fm_give_item(id"weapon_awp")
        
        
// FINISH SNIPER 
Ahi puedes cambiar las armas que quieres, por ejemplo: "fm_give_item(id, "weapon_awp")" , puedes reemplasarlo por "fm_give_item(id, "weapon_g3sg1")" y te estaria dando una Auto-Sniper, y quedaria asi:

PHP Code:
// MAKE SNIPER
        
g_sniper[id] = true
        humanme
(id1)
        
fm_strip_user_weapons(id)
        
fm_give_item(id"weapon_knife")
        
fm_give_item(id"weapon_g3sg1")
        
        
// FINISH SNIPER 
Tambien le puedes agregar las Granadas, o ponerle mas armas:

PHP Code:
// MAKE SNIPER
         
g_sniper[id] = true
         humanme
(id1)
         
fm_strip_user_weapons(id)
         
fm_give_item(id"weapon_knife")
         
fm_give_item(id"weapon_g3sg1")
         
fm_give_item(id"weapon_hegrenade)
         fm_give_item(id, "
weapon_smokegrenade")
         fm_give_item(id, "
weapon_flashbang")

         
         // FINISH SNIPER 

Visita esta pagina para ver los nombres de las armas: http://wiki.amxmodx.org/CS_Weapons_Information

PD: Ignora los colores combinados que salieron en el Tercer PHP Code, estan bien
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 03-14-2009 , 16:44   Re: (Ayuda) Zombie Mutilation EDIT
#5

mira speed ya lo habia dicho pero te lo digo igual si qres cambiar el damage del arma tenes q buscar esto

PHP Code:
// Attacker is human 
PHP Code:
if (!g_nemesis[victim])
        {
            
damage *= get_pcvar_float(cvar_zombiearmor)
            
SetHamParamFloat(4damage)
        } 
abajo de esto de if (!nemesis[victim]) agrega esto:


PHP Code:
if (g_sniper[attacker])
        {                      
            new 
plrWeapIdplrClipplrAmmo    
            plrWeapId 
get_user_weapon(attackerplrClipplrAmmo)
            static 
Float:predamage
            predamage 
damage get_pcvar_float(cvar_zombiearmor)
            static 
Float:postdamage
            
if (plrWeapId == CSW_AWP)
            
postdamage predamage 14
            SetHamParamFloat
(4postdamage)
        } 
cambia el 14 por el numero q quieras para aumentar o disminuir el atake

lo q si si pones 100 no va a sakar eso por es predamage multiplicado por ese numero


PD si alguien me dice como hacer para q yo ponga 100 y sake solo eso se lo agradesco

weno para cambiarle el arma solo en el armagedon buscas
el modo armagedon y en esta parte


PHP Code:
        // Randomly turn iMaxZombies players into zombies
        
while (iZombies iMaxZombies)
        {
            if (
id g_maxplayers)
                
id++
            else
                
id 1
            
            
// Dead or already a zombie or survivor
            
if (!is_user_alive(id) || g_zombie[id] || g_survivor[id])
                continue;
            
            
// Random chance
            
if (random_num(01))
            {
                
// Turn into a nemesis
                
zombieme(id010)
                
iZombies++
            }
        } 
y lo cambias por esto

PHP Code:
        // Randomly turn iMaxZombies players into zombies
        
while (iZombies iMaxZombies)
        {
            if (
id g_maxplayers)
                
id++
            else
                
id 1
            
            
// Dead or already a zombie or survivor
            
if (!is_user_alive(id) || g_zombie[id] || g_survivor[id])
                continue;
            
            
// Random chance
            
if (random_num(01))
            {
                
// Turn into a nemesis
                
zombieme(id010)
                
fm_strip_user_weapons(id)
                
fm_give_item(id"weapon_knife"// entre las comillas pones 
                
iZombies++            // el name del arma como dijo metalicros    
            
}
        } 
despues para el survivor un moco mas abajo tenes esto

PHP Code:
        // Turn the rest of players into humans
        
for (id 1id <= g_maxplayersid++)
        {
            
// Only those of them who arent zombies or survivor
            
if (!is_user_alive(id) || g_zombie[id] || g_survivor[id])
                continue
            
            
// Remove previous tasks and make them survivors
            
remove_task(id+TASK_TEAM)
            
humanme(id1)

            
            
/* Switch to CT
            if (fm_get_user_team(id) != CS_TEAM_CT) // need to change team?
            {
                fm_set_user_team(id, CS_TEAM_CT)
                set_task(0.1+g_teams_i, "fm_set_user_team_msg", id+TASK_TEAM)
                g_teams_i += 0.1; // increase teams task counter
            }*/
        

lo cambias por esto

PHP Code:
        // Turn the rest of players into humans
        
for (id 1id <= g_maxplayersid++)
        {
            
// Only those of them who arent zombies or survivor
            
if (!is_user_alive(id) || g_zombie[id] || g_survivor[id])
                continue
            
            
// Remove previous tasks and make them survivors
            
remove_task(id+TASK_TEAM)
            
humanme(id1)
       
fm_strip_user_weapons(id)
       
fm_give_item(id"weapon_knife")
       
fm_give_item(id"weapon_mp5navy")
            
            
/* Switch to CT
            if (fm_get_user_team(id) != CS_TEAM_CT) // need to change team?
            {
                fm_set_user_team(id, CS_TEAM_CT)
                set_task(0.1+g_teams_i, "fm_set_user_team_msg", id+TASK_TEAM)
                g_teams_i += 0.1; // increase teams task counter
            }*/
        

y para cambiar el arma lo mismo q para el nemesis.

PD: espero haberte ayudado
__________________
Facebook: Ariel Berardi

Last edited by larito; 07-18-2009 at 13:20.
larito is offline
Send a message via MSN to larito
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 03-14-2009 , 17:18   Re: (Ayuda) Zombie Mutilation EDIT
#6

Quote:
Originally Posted by larito View Post
PD si alguien me dice como hacer para q yo ponga 100 y sake solo eso se lo agradesco
PHP Code:
SetHamParamFloat(4postdamage
En esta funcion, el 4 indica el parametro a modificar de la funcion takedamage, que en este caso es parametro Float:damage, El postdamage es el valor que se le seteará. Si lo que estas buscando es sacarle de daño 100, simplemente lo haces de esta manera:

PHP Code:
postdamage 100.0
SetHamParamFloat
(4postdamage


O simplemente...

PHP Code:
SetHamParamFloat(4100.0
__________________
L// is offline
Send a message via MSN to L//
Old 03-14-2009, 17:23
Speed!
This message has been deleted by Speed!. Reason: error mio
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 03-14-2009 , 17:23   Re: (Ayuda) Zombie Mutilation EDIT
#7

Larito, mejor explicale de una forma de "Aqui debes poner esto:", porque si lo haces diciendo que "Reemplasa esto" de seguro no entendera como lo isiste ;)
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Speed!
BANNED
Join Date: Jan 2009
Old 03-14-2009 , 17:26   Re: (Ayuda) Zombie Mutilation EDIT
#8

larito:
no recomiendo usar ese metodo, mira el metodo que uso yo para las distintas armas:
PHP Code:
// Ham Take Damage Forward (inflictor = weapon)
public fw_TakeDamage(victiminflictorattackerFloat:damagedamage_type)
{
    static 
plrWeapId
    
if (is_user_connected(attacker))
        
plrWeapId get_user_weapon(attacker)
    
// Non-player damage or self damage
    
if (victim == attacker || !is_user_connected(attacker))
        return 
HAM_IGNORED;
    
    
// New round starting or round ended
    
if (g_newround || g_endround)
        return 
HAM_SUPERCEDE;
    
    
// Victim shouldn't take damage or victim is frozen
    
if (g_nodamage[victim] || g_frozen[victim])
        return 
HAM_SUPERCEDE;
    
    
// Prevent friendly fire
    
if (g_zombie[attacker] == g_zombie[victim])
        return 
HAM_SUPERCEDE;
    
    
// Attacker is human...
    
if (!g_zombie[attacker])
    {
        
damage *= get_pcvar_float(cvar_zombiearmor)
        switch (
plrWeapId)
        {
            case (
CSW_MP5NAVY): damage *= 2.5
            
case (CSW_DEAGLE): damage += 3.0
            
case (CSW_SCOUT): damage /= 2.5
            
case (CSW_KNIFE): damage -= 3.0
        
}
        
SetHamParamFloat(4damage)
        
// ..... 
weno, asi, si la arma es una MP5, el daño va a ser 2.5 veces mas. x ej si hubieses pegado 100, sacas ahora 250.

con la deagle, sacas 3 mas de daño, si hubieses pegado 66, ahora sacas 63

con la scout, igual que la MP5, pero se divide el daño en vez de multiplicar

con la knife(cuchi), igual que la deagle, pero sacas 3 menos en vez de mas

Last edited by Speed!; 03-14-2009 at 17:54.
Speed! is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 03-14-2009 , 17:44   Re: (Ayuda) Zombie Mutilation EDIT
#9

Modo Chainsaw Rulez... =D
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
axelgrox
BANNED
Join Date: Mar 2009
Location: Argentina [Tucuman]
Old 03-14-2009 , 18:42   Re: (Ayuda) Zombie Mutilation EDIT
#10

Muchas gracias por todo. loo q ayudan
espero q yo tbm pueda aportar con ayudas xD bueno pediria si me dicen como cambiar el color de los glow del survi neme y raptor y sniper muchs gracias !!!
axelgrox is offline
Send a message via MSN to axelgrox Send a message via Skype™ to axelgrox
 



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 16:54.


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