Raised This Month: $404 Target: $400
 101% 

Planting Normalizer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 03-27-2009 , 11:51   Planting Normalizer
Reply With Quote #1

Planting Normalizer


Description:
With this plugin round end will not be forced , when bomb has been defused or it has exploded.. Also fixed bug when fake team bots get bomb and so until round end U can't use it. After bomb defused/expoded it's spawning again..
Note: it is not changing the whole Counter-Strike Planting system, but just the last few game events, so bots will equally use this system, and it's can be used with plugins like silly c4, plant anywhere and all others..

PLUGIN CAN WORK WITHOUT CSDM


Cvars:

plant_nonstop - Enables plugin
Default:1

defuse_message - Enable message "Bomb Has Been Defused"
Default:1

defuse_sound - if 1: sound when bomb defused would be "CT's win", if 2: "Bomb Has Been Defused", 0: Disabled
Default:1

plant_message - Enable message "Bomb Has Been Planted"
Default:1

plant_sound - Enable sound "Bomb Has Been Planted"
Default:1

defuser_frags - How many frags player get for defusing the bomb
Default

score_blowup - How many score points team get for Exploding the bomb
Default:1

score_defuse - How many score points team get for Defusing the bomb
Default:1

kill_crates - is breakable stuff destoyed by bomb explosion
Default:1

c4_damage - bomb expolosion max damage
Default:400.0

c4_radius - bomb explosion radius
Default:1000.0




Modules:
CSDM or Hamsandwich <--------- It's not matter what

Cstrike

Fakemeta



Great Thx to VEN for "CS Bomb Scripting tutorial", to Alka for fakedamage stock code and to jim_yang for msghelper module.

Сhangelog:
Code:
	*v1.0 - First relese

	*v1.1 - Fixed Bug when after death, droping bomb and respawning
	user couldn't see the bomb on radar.
	
	- support "Roundend Blocker"  fake team bots (by Nextra)
	- fixed small bug in score attribute message code]

	*v1.2 - fixed bug in fake team bots check code

	*1.3 - added modules filter so now plugin can be used without csdm

	 - fixed error when player was disconnecting during respawn task
	 - added cvar amx_respawnbombed for non - respawn servers
	 - fixed bug when after giving bomb backpack wasn't showed

	*v1.4 - optimized code ( very much )

	*v1.5 - optimized checking for CSDM module
	
	- added check is csdm_main.amxx loaded
	
	- added extra check for csdm block objectives not to
	cause gameplay bugs
	
	- blocked message "You got the bomb" when just
	respawned and got the bomb
	
	- fixed some gameplay bugs when cvar 
	gg_block_objectives is 1
	
	- added cvar nonstop_plant
	
	- added cvar kill_crates
	
	- removed cvar amx_respawnbombed
	
	- removed prefix "amx_" from cvars
	
	- added hud message "You have the bomb!
	Find the target zone or DROP
	the bomb for another Terrorist."
	when user pickup the bomb
	it's the same like default in CS

	*v1.6 - bomb explosion can be hooked by Gungame
	so players can recive level ups.
	
	- when players defuse bomb they get level ups in Gungame
	
	- now bomb explosion is much more realistic
	
	- fixed time task bug ( some times round end was forced when was defusing)
Attached Files
File Type: inc csdm.inc (8.1 KB, 510 views)
File Type: sma Get Plugin or Get Source (Planting_Normalizer.sma - 1451 views - 24.8 KB)

Last edited by Empowers; 04-08-2009 at 13:26.
Empowers is offline
Send a message via ICQ to Empowers
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 03-27-2009 , 11:55   Re: [CSDM] Planting Normalizer
Reply With Quote #2

GooD JoB.
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
Old 03-27-2009, 12:14
crazyeffect
This message has been deleted by crazyeffect. Reason: Sorry for the post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-27-2009 , 12:20   Re: [CSDM] Planting Normalizer
Reply With Quote #3

It won't compile because of csdm include.

Anyway, it looks like a copy-paste from another plugin ( like you say ) and thus there are so many things to improve. I will post here later.
Arkshine is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 03-27-2009 , 12:47   Re: [CSDM] Planting Normalizer
Reply With Quote #4

Quote:
Originally Posted by arkshine View Post
Anyway, it looks like a copy-paste from another plugin ( like you say )
what A U talking about? I was making this plugin for 2 days. And just took 1 stock from other plugin.. it's not copy-paste

Quote:
Originally Posted by arkshine View Post
It won't compile because of csdm include.
yes.. but I saw here plugin with csdm include and it was nicely compiled.. I could download it by pressing Get Plugin. So how can I do the same for my plugin?

Last edited by Empowers; 03-28-2009 at 05:59.
Empowers is offline
Send a message via ICQ to Empowers
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-27-2009 , 12:56   Re: [CSDM] Planting Normalizer
Reply With Quote #5

Quote:
what A U talking about? I was making this plugin for 2 days. And just took 1 stock from other plugin.. it's not copy-paste
I was just meant I see some stock you have probably copy-paste but it's not a problem, don't worry lol. Just your whole plugin you could/should change/optimize a lot of things.

Quote:
yes.. but saw here plugin with csdm include and it was nicely compiled.. I could download it by pressing Get Plugin. So how can I do the same for my plugin?
You are not allowed to upload *.amxx file. You should remove it. ;)
Arkshine is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 03-27-2009 , 13:26   Re: [CSDM] Planting Normalizer
Reply With Quote #6

Quote:
Originally Posted by arkshine View Post
You are not allowed to upload *.amxx file. You should remove it. ;)
but if people wanna to download amxx?
Empowers is offline
Send a message via ICQ to Empowers
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-27-2009 , 13:29   Re: [CSDM] Planting Normalizer
Reply With Quote #7

Attach the csdm include instead.

Then they just have to download the .sma and include and they can compile locally.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 03-27-2009 , 13:33   Re: [CSDM] Planting Normalizer
Reply With Quote #8

Quote:
Originally Posted by DarkGod View Post
Attach the csdm include instead.

Then they just have to download the .sma and include and they can compile locally.
many people don't know how to compile
Empowers is offline
Send a message via ICQ to Empowers
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-27-2009 , 13:37   Re: [CSDM] Planting Normalizer
Reply With Quote #9

You're still not allowed to upload a .amxx file.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-27-2009 , 13:38   Re: [CSDM] Planting Normalizer
Reply With Quote #10

Its gone
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply


Thread Tools
Display Modes

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 13:23.


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