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

Help me please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
..Gabox..
Member
Join Date: Dec 2007
Old 04-25-2009 , 19:11   Help me please
Reply With Quote #1

Well I have some problems with my zombie plague are the following:

I made such a mode is called Mode Allied
Now I want the player esque "Special" in this way is that as a nemesis, especially with a knife .. and did this:

PHP Code:
new const model_vknife_allied [] = ( "models / zombie_plague / v_acha.mdl")  
 new const 
model_pknife_allied [] = ( "models / zombie_plague / p_acha.mdl"
Below I put this:

PHP Code:
/ / Custom weapon models  
     engfunc 
(EngFunc_PrecacheModelmodel_vknife_human)  
     
engfunc (EngFunc_PrecacheModelmodel_vknife_nemesis)  
     
engfunc (EngFunc_PrecacheModelmodel_vknife_allied)  
     
engfunc (EngFunc_PrecacheModelmodel_pknife_allied
Then I put this:

PHP Code:
CSW_KNIFE case: / / Custom knife models  
         
(  
             if (
g_zombie [id] & &! g_newround & &! g_endround)  
             (  
                 if (
g_nemesis [id]) / / Nemesis  
                 
(  
                     
set_pev (idpev_viewmodel2model_vknife_nemesis)  
                     
set_pev (idpev_weaponmodel2"")  
                 )  
                 if (
g_allied [id])  
                 (  
                     
set_pev (idpev_viewmodel2model_vknife_allied)  
                     
set_pev (idpev_weaponmodel2"models / p_knife.mdl"
I understand this is just the p and v would see, but I do not recognize the p is only the v .. Bone is the only player not others ..

To all this I also add a special sound to this knife Acha, "which sounds no different to the default one zombie in my case it would be this:

PHP Code:
new const zombie_miss_slash [] [] = ( "zombie_plague/claw_miss1.wav")  
 new const 
zombie_miss_wall [] [] = ( "zombie_plague/claw_miss1.wav")  
 new const 
zombie_hit_normal [] [] = ( "zombie_plague/claw_strike1.wav")  
 new const 
zombie_hit_stab [] [] = ( "zombie_plague/claw_strike2.wav"
In lieu of that I want for example:

PHP Code:
new const zombie_mimodo_slash [] [] = ( "zombie_plague/claw_miss1.wav")  
 new const 
zombie_mimodo_wall [] [] = ( "zombie_plague/claw_miss1.wav")  
 new const 
zombie_mimodo_normal [] [] = ( "zombie_plague/claw_strike1.wav")  
 new const 
zombie_mimodo_stab [] [] = ( "zombie_plague/claw_strike2.wav"
Now the problem is no pattern to follow as in any of 2 ways ..

-------------------------------------------------- ----------------------

Leaving this aside also wanted to add my menu .. choice in the main menu option which says "Options" that will lead you to a submenu for example where to put the game up duller place rain or fog can be anything .. That seems very interesting ..

-------------------------------------------------- -----------------------

I also did a walk around so it compiles perfect but rather in launching ala mode simply nothing happens because alguen knows? I leave here:

PHP Code:
/ / Leon Mode  
         g_survround 
true  
         g_leonround 
true  
         g_lastmode 
MODE_SURVIVOR  
         
         
/ / Choose randomly player?  
         if (
mode == MODE_NONE)  
             
id fnGetRandomAlive (random_num (1iPlayersnum))  
             
         static 
surv2  
         surv2 
fnGetRandomAlive (random_num (1iPlayersnum))  
         
         / / 
Same player arent  
         
if (id == surv2)  
             
surv2 fnGetRandomAlive (random_num (1iPlayersnum))  
                 
         / / 
Remember our id for calling forward later  
         id 
forward_id  
         
         
/ / Turn player into a survivor  
         g_leon 
[id] = true  
         humanme 
(id1)  
         
humanme (surv21)  
         
         
copy (g_playermodel [id], sizeof g_playermodel [] - 1model_leon [random_num (0sizeof model_leon -1)])  
         
copy (g_playermodel [surv2], sizeof g_playermodel [] - 1model_leon2 [random_num (0sizeof model_leon2 -1)])  
         
fm_strip_user_weapons (id)  
         
fm_give_item (id"weapon_knife)  
         fm_give_item (id, "
weapon_m4a1)  
         
fm_strip_user_weapons (surv2)  
         
fm_give_item (surv2"weapon_knife)  
         fm_give_item (surv2, "
weapon_m4a1)  
         
fm_give_item (surv2"weapon_hegrenade)  
         if (get_pcvar_num (cvar_leonaura))  
             set_pev (id, pev_effects, ENP (id, pev_effects) | EF_BRIGHTLIGHT)  
         
         fm_set_user_health (id, get_pcvar_num (cvar_leonbasehp))  
         
         / / Turn the remaining players into zombies  
         for (id = 1; id <= g_maxplayers, id + +)  
         (  
             / / Not alive  
             if (! is_user_alive (id))  
                 continue;  
             
             / / Already a zombie or Survivor  
             if (g_survivor [id] | | g_zombie [id])  
                 continue;  
             
             / / Turn into a zombie  
             zombieme (id, 0, 1, 0)  
         
         ) 
The idea of what is supposed to make the way would be "a nemesis," "Zombies" and "A survivor 1" and "Survivor 2" each with its special model pongamosle Jill and Leon ..

I thank you very much sum up what I would greatly appreciate more than the slightest help ..
..Gabox.. is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-28-2009 , 09:50   Re: Help me please
Reply With Quote #2

As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Old 04-28-2009, 13:40
nelson
This message has been deleted by YamiKaitou. Reason: if you don't know, don't post
Old 04-28-2009, 13:56
fezh
This message has been deleted by YamiKaitou. Reason: reply to deleted post
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 11:54.


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