Raised This Month: $32 Target: $400
 8% 

[CS1.6|CZ] Steal C4 Mod [v1.2]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-18-2014 , 02:06   [CS1.6|CZ] Steal C4 Mod [v1.2]
Reply With Quote #1

Steal C4 Mod
- v1.2, last updated : 29th March 2014

Description:

This is an added Objective for all maps with Bomb Objective which allows Counter-Terrorists to Steal the Bomb in Counter Strike 1.6 or Condition Zero. This Mod is focused at countering Bomb Timer with Steal Timer - a more Competitive environment for Gaming

Modules:
  • Orpheu
  • Engine
  • Hamsandwich
  • Cstrike
  • Fun

Features:
  • Allows Counter-Terrorists to Steal the dropped Bomb ( but can't Plant )
  • Steal Delay Timer ( Before Picking Up the Bomb )
  • Steal Countdown Timer ( Before declaring #CT_Win )
  • Steal Type ( On Touch / Button )
  • Steal Multiplier ( For "Countdown Timer" w/o Defusal Kit )
  • Advanced RoundTimer Management ( Orpheu )
  • No External GUI ( Uses Existing GUI )
  • Fully Synchronized with Game ( Events )
  • Included Sound
  • Superfast and Lagfree ( Fakemeta module not used )

ToDo:
  • Set Bomb Bag ( "backpack.mdl" ) model for Counter-Terrorists on Bomb Pickup
  • Add "bomb" status for Bomb Stealer on Scoreboard

cVars:
Code:
  1. steal_delaytimer - Sets the Timer ( in Seconds ) for Delay
    • Default: 1
    • Minimum: 0 ( No Delay Timer / Immediate Bomb Pickup )
    • Maximum: 60
  2. steal_timer - Sets the Timer ( in Seconds ) for Countdown
    • Default: 35
    • Minimum: 0 ( No Countdown Timer. Note - RoundTimer will not be Paused )
    • Maximum: 540
  3. steal_type - Sets the Type of Steal ( 0 - On Touch / 1 - Button <+Use/IN_USE/'E'> )
    • Default: 1
    • Minimum: 0
    • Maximum: 1
  4. steal_multiplier - Multiplies Countdown Timer with exact Float Amount
    • Default: 1.5
    • Minimum: 1.0
    • Maximum: 5.0
Installation Instructions:
  • Extract Steal_C4_1_0_1.zip in [ <gamedir> ] ( cstrike or czero )
  • Compile StealC4.sma and put StealC4.amxx in [ <gamedir>/addons/amxmodx/plugins/ ]
  • Write "StealC4.amxx" in [ <gamedir>/addons/amxmodx/configs/plugins.ini ]

Important Note - Orpheu is required to compile as well as run the Plugin. You can get it HERE

Changelog:
Code:
  • 1.1 - 1.2 :
    • Removed: Dependency on CSX Module
    • Fixed: Bomb on the ground not getting removed upon Steal ( especially in linux )
    • Replaced: Drop and Remove Entity Events with "Ham_RemovePlayerItem"
    • Replaced: "give_item" with "Ham_AddPlayerItem"
  • 1.0.1 :
    • Fixed: minor handles
  • 1.0 :
    • Initial Release
Credits:
  • Arkshine ( for Orpheu Signatures )
  • VEN ( for TUTORIAL on C4 Handling/Management )
  • ConnorMcLeod ( for ham_strip_user_weapon and related offsets )
  • ^Look ( for help in Testing )
  • LoRD|Delpan ( for help in Testing )
  • sk_-_)-(@rami_-_ ( for help in Testing )
  • NEOSTAR94 ( for help in Testing )
Attached Files
File Type: zip Steal_C4_1_2.zip (44.3 KB, 1565 views)

Last edited by souvikdas95; 04-05-2014 at 08:40. Reason: Fixed a small bug with Timer Sound
souvikdas95 is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 03-18-2014 , 03:15   Re: [CS1.6|CZ] Steal C4 [v1.0]
Reply With Quote #2

Good job I'll try it on my server.
ArabicMan is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-18-2014 , 05:24   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #3

sorry, but what's the real difference with this one: CT PickUP C4 v1.6 ( updated again )

edit: didn't notice that the thread was trashed, and only searched for c4 so didn't find the VEN's plugin.
__________________

Last edited by ANTICHRISTUS; 03-18-2014 at 05:53.
ANTICHRISTUS is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-18-2014 , 05:38   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #4

A lot! That's a simple plugin to allow CTs to pickup bomb. But that's not an objective + that's just for testing / fun. It lacks many handles required for the game to work + remove_entity() is deprived for bombs. Instead Think is used. Moreover I hope you get it that I haven't copied anything. The code is entirely mine.
souvikdas95 is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-18-2014 , 05:41   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #5

https://forums.alliedmods.net/showth...43868?p=343868

Even makes the player to plant the bomb. Your plugin has only the delay timer as something new if I am not wrong.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-18-2014 , 05:44   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #6

As I said, it's an added objective. Means, it will work for both teams in equal favour. While CTs may waste time in picking up bomb for getting a +3 score, terrorists may kill the CT during that period. I have wantedly not included plant. If others feel it should be there, I may but not so soon. Need more reviews.
Also. you will notice that I have tried to make it reserve the original game GUI. That's an achievement for me. You may criticise :\
Also, you will notice that he used "drop" as clcmd which is again deprived. Try to continously pick up and drop the bomb. Due to client - server interaction delay, it will fail a no. of times where you will find the bomb dropped and you still can't pick up....
He has esecially used VIP model to set CT VIP status. I had also thought of using that but that'd not resemble original mode. I am searching for a new way to add "bomb" status.
I wasn't refering to that when I gave credit to Ven. I used some techniques mentioned here : https://forums.alliedmods.net/showthread.php?t=40164

Last edited by souvikdas95; 03-18-2014 at 06:04.
souvikdas95 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-18-2014 , 07:14   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #7

You are not allowed to upload AMXX files. Removed.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 03-18-2014 at 07:20.
hornet is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-18-2014 , 07:58   Re: [CS1.6|CZ] Steal C4 [v1.0.1]
Reply With Quote #8

Sorry and thanks for reuploading

Last edited by souvikdas95; 03-18-2014 at 08:05.
souvikdas95 is offline
FR0NTLINE
AlliedModders Donor
Join Date: Apr 2006
Location: Riverside Cali
Old 03-19-2014 , 17:22   Re: [CS1.6|CZ] Steal C4 Mod [v1.0.1]
Reply With Quote #9

The old steal the bomb plugin has a radar for the CT that has stolen the bomb. That would be a cool option. I will test this now and let ya know how it went, Thanks.
__________________
FR0NTLINE is offline
Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
FR0NTLINE
AlliedModders Donor
Join Date: Apr 2006
Location: Riverside Cali
Old 03-19-2014 , 17:29   Re: [CS1.6|CZ] Steal C4 Mod [v1.0.1]
Reply With Quote #10

Welcome to the AMX Mod X 1.8.1-300 Compiler.


StealC4.sma(29) : error 017: undefined symbol "get_map_objectives"

1 Error.
Could not locate output file StealC4.amx (compile failed).
__________________
FR0NTLINE is offline
Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
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 13:29.


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