AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Planting Normalizer (https://forums.alliedmods.net/showthread.php?t=88626)

Empowers 03-27-2009 11:51

Planting Normalizer
 
2 Attachment(s)
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:3

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)


M1R0n,M' 03-27-2009 11:55

Re: [CSDM] Planting Normalizer
 
GooD JoB.

Arkshine 03-27-2009 12:20

Re: [CSDM] Planting Normalizer
 
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.

Empowers 03-27-2009 12:47

Re: [CSDM] Planting Normalizer
 
Quote:

Originally Posted by arkshine (Post 790289)
Anyway, it looks like a copy-paste from another plugin ( like you say )

what A U talking about? :cry: 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 (Post 790289)
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?

Arkshine 03-27-2009 12:56

Re: [CSDM] Planting Normalizer
 
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. ;)

Empowers 03-27-2009 13:26

Re: [CSDM] Planting Normalizer
 
Quote:

Originally Posted by arkshine (Post 790320)
You are not allowed to upload *.amxx file. You should remove it. ;)

but if people wanna to download amxx?

DarkGod 03-27-2009 13:29

Re: [CSDM] Planting Normalizer
 
Attach the csdm include instead.

Then they just have to download the .sma and include and they can compile locally.

Empowers 03-27-2009 13:33

Re: [CSDM] Planting Normalizer
 
Quote:

Originally Posted by DarkGod (Post 790339)
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

DarkGod 03-27-2009 13:37

Re: [CSDM] Planting Normalizer
 
You're still not allowed to upload a .amxx file.

crazyeffect 03-27-2009 13:38

Re: [CSDM] Planting Normalizer
 
Its gone :D


All times are GMT -4. The time now is 04:57.

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