AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Infection Countdown Remix (https://forums.alliedmods.net/showthread.php?t=97536)

dels 07-16-2009 21:48

[ZP] Infection Countdown Remix
 
4 Attachment(s)
=============================================
* Infection Countdown For Zombie Plague 4.3+ *
=============================================


Description:
Remake version of zp_server_addon_countdown by Mr. Apple,
I made two version with CSX and without CSX:
- zp_countdown_remix, require CSX for smooth hud
- zp_countdown_remix_wo_csx, this doesn't need CSX however little bit flicker

Like the original it will count from 10 (according zp_delay) to 0, and in final it will say biohazard detected, all use Half-Life sound so no external file required

Changelog:
Quote:

1.0 Initial release
1.1 Change logic, Fix sync issue
1.2 Use client_cmd instead emit_sound
1.3 Release included
> Support zp_delay up to 15 seconds
+ cvar countdown_sound <1|0>
+ Multilanguage support

Updated
Just download the sma you like (and compile locally) or download the zip package that included all files needed
The multi-language support is untested, report if it show error

Credits:
- AMXModx Team (AMXModX 1.8.1)
- Mercylezz (Zombie Plague 4.3)
- SAMURAI (bcdhud_timer, ideas to use csx & hudsyncmessage)
- Mr. Apple (zp_server_addon_countdown)


Screenshot:
[IMG]http://img32.**************/img32/8085/infectioncountdown.th.jpg[/IMG].

PS:
- Download the sma and compile it locally Download the archive it already included the compiled version
- I haven't tried about the sound (since it added after the main plugins compile) so report if it can't played or else

albert123 07-17-2009 01:16

Re: [ZP] Infection Countdown Remix
 
Nice plugin +kar

Kukulis :* 07-17-2009 03:21

Re: [ZP] Infection Countdown Remix
 
5 error compile ...

Fry! 07-17-2009 03:22

Re: [ZP] Infection Countdown Remix
 
please provide these errors maybe?

dels 07-17-2009 03:32

Re: [ZP] Infection Countdown Remix
 
oops looks like i missed something:
Quote:

new speak[10][] = {
should be
Quote:

new speak[11][] = {
and
Quote:

emit_sound(0, CHAN_VOICE, speak[11], 1.0, ATTN_NORM, 0, PITCH_NORM);
should be
Quote:

emit_sound(0, CHAN_VOICE, speak[10], 1.0, ATTN_NORM, 0, PITCH_NORM);
forgot about that, it caused i added the new sound (biohazard_detected) after the script compile

fix it ASAP
fixed already uploaded the new please recheck

Pamaliska 07-17-2009 09:57

Re: [ZP] Infection Countdown Remix
 
Did you test it?

sunx 07-17-2009 10:22

Re: [ZP] Infection Countdown Remix
 
compiling csx version:

[IMG]http://img269.**************/img269/4977/withcsx.th.jpg[/IMG]

compiling non-csx version:

[IMG]http://img269.**************/img269/5313/withoucsx.th.jpg[/IMG]


Using newest amxx, compiled localy :)

5c0r-|3i0 07-17-2009 11:15

Re: [ZP] Infection Countdown Remix
 
1 Attachment(s)
Here CSO Countdown sound :P ....So your plugin can be call "Remix" for now :wink:

CryWolf 07-17-2009 13:05

Re: [ZP] Infection Countdown Remix
 
Hy many thank's for plugin it compiles with no error with a clean compiler of amxmodx 1.8.1 Windows:
And a clean zombieplague.inc 4.3
CSX Version:
Code:

//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// zp_countdown_remix.sma
// Header size:            420 bytes
// Code size:            1520 bytes
// Data size:            1824 bytes
// Stack/heap size:      16384 bytes; estimated max. usage=778 cells (3112 bytes
)
// Total requirements:  20148 bytes
// Done.
//
// Compilation Time: 0,16 sec
// ----------------------------------------

Press enter to exit ...

If someone whants this .amxx compiled please PM me...
Only one problem:
In server's console it's shows this
Code:

SV_StartSound: biohazard_detected.wav not precached (0)
SV_StartSound: biohazard_detected.wav not precached (0)


The counting sound is playng but not the:
biohazard_detected.wav

Fry! 07-17-2009 13:13

Re: [ZP] Infection Countdown Remix
 
I think dels forget to add that sound and precached too..


All times are GMT -4. The time now is 14:52.

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