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

Base Builder Zombie Mod v6.5 [01/15/2011]


Post New Thread Reply   
 
Thread Tools Display Modes
orange
Senior Member
Join Date: Dec 2005
Old 06-08-2010 , 18:32   Re: Base Builder Zombie Mod
Reply With Quote #131

blanks will do the trick
__________________
orange is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2010 , 20:13   Re: Base Builder Zombie Mod
Reply With Quote #132

Ok...

"Just remove IN_ATTACK button from pev_buttons (it would be better to hook FM_CmdStart, and use UC_Buttons there) "

I'll try it, but how would I just remove the button from working? All I can think is making it another IN_ or plugin handled.

My way of detecting barriers is automatic as long as the map make made the map right. Post the .bsp and I'll fix it in 2 seconds.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-08-2010 , 20:22   Re: Base Builder Zombie Mod
Reply With Quote #133

Quote:
Originally Posted by Tirant View Post
Ok...

"Just remove IN_ATTACK button from pev_buttons (it would be better to hook FM_CmdStart, and use UC_Buttons there) "

I'll try it, but how would I just remove the button from working? All I can think is making it another IN_ or plugin handled.

My way of detecting barriers is automatic as long as the map make made the map right. Post the .bsp and I'll fix it in 2 seconds.
Something like this

PHP Code:
public plugin_init()
{
    
register_forward(FM_CmdStart"player_cmdstart")
}

public 
player_cmdstart(iducrandom)
{
    new 
buttons get_uc(ucUC_Buttons)
    if(
g_CanBuild && (buttons IN_ATTACK))
    {
        
buttons &= ~IN_ATTACK
        set_uc
(ucUC_Buttonsbuttons)
        return 
FMRES_SUPERCEDE
     
}
     return 
FMRES_IGNORED

__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
marquezs
Member
Join Date: Jun 2010
Old 06-08-2010 , 20:30   Re: Base Builder Zombie Mod
Reply With Quote #134

Quote:
Originally Posted by orange View Post
blanks will do the trick
Is this message to me? If it is I don't understand what you said
marquezs is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2010 , 20:31   Re: Base Builder Zombie Mod
Reply With Quote #135

He was talking about blanks. Like shooting blanks.

K, thanks joropito, I'll give it a try.

Question though... What happens if the plugin ignores the button first and then the prethink check never triggers? I realize I sound like an idiot, I'll figure it all out.

The game continues the attack (reads it too fast), plays the fire anim (doesn't actually fire bullets) and the object doesn't move.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 06-08-2010 at 20:40.
Tirant is offline
Old 06-08-2010, 20:33
Tirant
This message has been deleted by Tirant.
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 06-08-2010 , 20:42   Re: Base Builder Zombie Mod
Reply With Quote #136

Haha, a successful mod, many people like to play this, I don't why I like it too. Probably you should add something like bb_lighting "a", since it's a zombie mod. Since you know how to code I won't have to paste it here.
Excalibur.007 is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2010 , 20:46   Re: Base Builder Zombie Mod
Reply With Quote #137

I have another idea. I think I'll make it so that they will be forced to have knife only and then the mod will pull out their primary when the round begins. I think that is the best solution.

It isn't that kinda zombie mod. I don't want it to be "dark and scary" littered with different zombie classes and such. I want to avoid all of that. TBH, I would rather remove the zombie aspect of this (to improve fps an such), I don't remember why I added them in the first place.

EDIT: I'm a genius, it seems to be working perfectly... cross your fingers

EDIT: I'll work on it more when I get home. I'm getting issues with it pulling out the primary weapon.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 06-08-2010 at 21:53.
Tirant is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-08-2010 , 22:00   Re: Base Builder Zombie Mod
Reply With Quote #138

Quote:
Originally Posted by Tirant View Post
EDIT: I'm a genius
Oh boy... you're one of them.
__________________
Hi.
Kreation is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-08-2010 , 22:20   Re: Base Builder Zombie Mod
Reply With Quote #139

Quote:
Originally Posted by Kreation View Post
Oh boy... you're one of them.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-08-2010 , 22:43   Re: Base Builder Zombie Mod
Reply With Quote #140

Quote:
Originally Posted by wrecked_ View Post
Yes, that was directed towards you.

Btw, I'm going to be around in your vent, we lost ours.
__________________
Hi.
Kreation 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 17:46.


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