Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Class: Nightcrawler + [ZP] Addon: Nemesis to Nightcrawler


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SergiCruz
Senior Member
Join Date: Mar 2012
Location: Andalucía, España
Old 04-08-2015 , 20:55   [ZP] Class: Nightcrawler + [ZP] Addon: Nemesis to Nightcrawler
Reply With Quote #1

Idea from: Zombie Plague Special
This is a really simple zombie class. It's 99% invisible but it becomes visible when it's hurt. It has a very low HP and a really high speed, which makes him hard to get hit.

Also, added an addon to make nemesis this kind of zombie.

Cvars:
Code:
ZP: Class Nightcrawler
zp_nc_invisibility_amount    2        // How visible is nightcrawler [0 (invisible) - 15 (totally visible)]
zp_nc_R    20                              // Red color amount when it's invisible [0-255]
zp_nc_G    20                              // Green color amount when it's invisible [0-255]
zp_nc_B    20                              // Guess
ZP: Addon nemesis to nightcrawler
zp_nemesis_invisible_amount 2      
zp_nemesis_invisible_red 4
zp_nemesis_invisible_green 4
zp_nemesis_invisible_blue 4
zp_nemesis_silent_footsteps 1        // Should nemesis have silent footsteps?

* Adjust nemesis health to this addon!! *
* Open addon sma and adjust default values for lighting and thunderclap!! *
Natives:
Code:
/* Returns 1 if user has nightcrawler ZombieClass */
native zp_is_user_nightcrawler(id);
Changelog:
Code:
09/04/2015 - 0.1 - First release (ZP Class)
04/05/2015 - 0.1 - First release (ZP Addon)
Discussion:
- Bugs? Errors?
- How can I improve my code?
- What features shall I add to the zombie class?
- Is it better to use fm_set_user_rendering? I think the effect is cooler, but I've always used set_user_rendering instead
- Would it be better not to use PlayerPreThink? How to avoid using it?
Attached Files
File Type: sma Get Plugin or Get Source (zp_class_nightcrawler.sma - 919 views - 2.4 KB)
File Type: inc nightcrawler.inc (89 Bytes, 322 views)
File Type: sma Get Plugin or Get Source (zp_nemesis_to_nightcrawler.sma - 538 views - 2.4 KB)
__________________
PodBot waypointer. Feel free to ask for waypoints for zm_ maps.

Last edited by SergiCruz; 05-04-2015 at 16:40. Reason: Added ZP addon
SergiCruz is offline
Send a message via MSN to SergiCruz
 



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 00:35.


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