Raised This Month: $ Target: $400
 0% 

CS Holodude (holoduke emulator)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Emp` (115)
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 06-03-2008 , 17:09   CS Holodude (holoduke emulator)
Reply With Quote #1

CS Holodude for Counter-Strike 1.6
(Note: This is a CS version of my dod_holodude plugin)
(updated 9-19-08)

About the Plugin:
Remember Duke Nukem 3D? Remember the holoduke? For those of you who don't,
a holoduke was an object aquired in the game that allowed Duke Nukem to
project a holographic image of himself. It had a lifespan of around 80
seconds and could be turned on and off as desired. Once activated, the
holoduke would remain in one place holding a BFG and rotated to mimic
Duke's z-axis. This could fool the enemies into attacking the holoduke.

This plugin allows you to throw out a 'Holodude' in Counter-Strike. It reacts
pretty much like the real holoduke. The image projected will take on the
same image as its creator. And the image will be created with a team rifle.

This plugin is strictly for FUN. Please use it in the spirit offered.
Its a pretty elementary plugin. It works by creating a simple non-solid NPC
at the player's position and 'tossing' it outward. Then it gives the NPC an
applicable weapon. After that, its just a matter of monitoring the Holodude
power level. Once the power is gone, or its turned off, its removed.

Control:
The Holodude is activated/deactivated with the command: holodude
It would be easiest to bind a key to the command. (Example: bind h holodude)
When activated/deactivated, a sound effect will be played at its point of
origin. This sound effect is the SAME sound effect used in the original DN
game. You can see the amount of power left in your Holodude, by entering
the command: say /holo.

The plugin can be configured for 4 modes of operation (see Commands below).
The default lifespan of a Holodude is 60 seconds. It is affected by gravity
so that if you activate it while in the air, on a ladder, or on a ledge, it
will drop to the ground below. If the Holodude is generated without a solid
'ground' under it, or inside another entity (like a wall or tree), it will
be deemed malfunctioning and deactivated if it doesn't hit solid ground
within 3 seconds. There may be rare situations that can't be detected by the
plugin and the Holodude will simply sink into oblivion while active.
The plugin has an OSD that will continually report the Holodude's power
level while active. Parameters can be adjusted via CVar.

Commands:
holodude - Activates/Deactivates your Holodude
say /buyholo - Buys a Holodude (default cost is $2000)
say /holo - Reports the current power level of your Holodude

cs_holodude <#|?> Plugin Control Command (access level 'h')
0 - Disables the Holodude plugin
1 - Buy Holodude (default mode)
2 - One Holodude per round
3 - One Holodude per map
4 - Unlimited Holodudes (One at a time)
? - Displays these command parameters
- (Changing the control mode mid-map could produce odd results)

Installation:
Compile the sma and place the resulting cs_holodude(_H).amxx file in the
cstriked/addons/amxmodx/plugins folder.
Unzip teleport.zip and place the teleport.wav file in the cstrike/sound/misc folder.
Add the line cs_holodude.amxx (or cs_holodude_H.amxx if using the Ham version)
to cstrike/addons/amxmodx/configs/plugins.ini
Optionally, place any CVar changes in configs as desired.

CVars:
cs_holodude_ctrl <0|1|2|3|4> - Controls Plugin Mode (default 1)
cs_holodude_life <##> - Life in Seconds (Range 10 - 100, default 60)
cs_holodude_osd <0|1> - Disable|Enable On-Screen Display (default 1)
cs_holodude_cost <####> - Holodude cost (default 2000)
cs_holodude_fu_ck - <0|1> Enable FUllupdate cheCK (default 1 - N/A on Ham version)

Notes:
- The name used throughout the plugin is holoduDe, not holoduKe.
- Bots won't be fooled by a Holodude. Damn it!
- There are 2 versions offered. V1.3 (cs_holodude.sma) is for those who haven't updated
to Amxmodx 1.8+ with Hamsandwich. V1.3H (cs_holodude_H.sma) utilizes features in
the Hamsandwich module. This would be preferred as the fullupdate protection is
not required using Ham.

Thanks:
Thanks to KoST's for his post on creating an entity offset from an origin.
All others who posted about generating NPCs

Version History:
1.3H - HoloDude is 'thrown' from player's position. Rarely malfunctions now.
1.3 - Non HamSandwich version of above
1.2H - Converted functions to HamSandwich (removed fullupdate protection routine)

1.2 - Original release

(updated 9-19-08)
.
Attached Files
File Type: zip teleport.zip (7.6 KB, 945 views)
File Type: sma Get Plugin or Get Source (cs_holodude.sma - 2002 views - 13.8 KB)
File Type: sma Get Plugin or Get Source (cs_holodude_H.sma - 1986 views - 13.4 KB)
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 09-19-2008 at 21:47. Reason: Plugin Update
Vet is offline
Send a message via MSN to Vet
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 06-03-2008 , 17:45   Re: CS Holodude (holoduke emulator)
Reply With Quote #2

wow , Great idea . Tomorrow gonna try .
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Martini123
New Member
Join Date: May 2008
Old 06-04-2008 , 00:35   Re: CS Holodude (holoduke emulator)
Reply With Quote #3

Some screenshots would be cool.
Martini123 is offline
Old 06-04-2008, 11:59
ultimatewarrior8888
This message has been deleted by YamiKaitou. Reason: lol, spam bot
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 06-05-2008 , 11:58   Re: CS Holodude (holoduke emulator)
Reply With Quote #4

A screenshot should'n't be needed. Just imagine a player standing around holding a weapon.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-09-2008 , 05:43   Re: CS Holodude (holoduke emulator)
Reply With Quote #5

How about a video then?

-Ooohhh forgot...
What if the player using this HoloDude has a custom model?
Will that show or one of the default player models?

(isn't an issue for me either way but a nice little detail to know)
__________________
Mod:
User:

Last edited by BlackMilk; 07-09-2008 at 05:47.
BlackMilk is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 07-09-2008 , 10:51   Re: CS Holodude (holoduke emulator)
Reply With Quote #6

Quote:
Originally Posted by BlackMilk View Post
What if the player using this HoloDude has a custom model? Will that show or one of the default player models?
Ooo, good question. IDK for sure. The plugin gets the player's model with the get_user_info() function and applies that same model to the HoloDude. Maybe someone can try it out for us and let us both know.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-09-2008 , 13:50   Re: CS Holodude (holoduke emulator)
Reply With Quote #7

I'd test it myself but I don't have custom players on right now, I used to though.

Perhaps it'll work in Zombie Plague though. I'll go and see how that goes
__________________
Mod:
User:
BlackMilk is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 09-19-2008 , 21:43   Re: CS Holodude (holoduke emulator)
Reply With Quote #8

Update notice...

The plugin was updated to emulate the HoloDude being thrown, much like a grenade would be thrown, by the player. This allows the HoloDude some flexibility as to where it materializes, and also prevents most 'malfunctions' since the HoloDude now bounces off walls, etc. instead of materializing inside of them.

Recommended Update!
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
hakutzu
Junior Member
Join Date: Jan 2007
Old 09-29-2008 , 17:27   Re: CS Holodude (holoduke emulator)
Reply With Quote #9

Too bad it dosen't work with the Biohazard mod , Would be awesome if it worked. Still using it anyway.. Hope u can make it to work with biohazard to make a holo zombie when ur a zombie .. Thx
hakutzu is offline
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 22:34.


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