Raised This Month: $12 Target: $400
 3% 

Hero: Danimoth X


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
1sh0t2killz
Senior Member
Join Date: Dec 2004
Old 06-01-2008 , 16:15   Hero: Danimoth X
Reply With Quote #1

Danimoth X version 2.2

Description
Freeze Enemies near you and cloak allies near you. (makes sounds when you freeze and cloak, sounds from starcraft, oh thats cool)

Code:
//Danimoth
danimoth_level 10
danimoth_cooldown 45
danimoth_freezeradius 750
danimoth_freezetime 10.0
danimoth_prismlife 100
danimoth_radius 750
danimoth_alpha 20
Change Log:
Code:
v 2.2 - July 18, 2010
 - stasis field now appears instantly
 - other minor changes
v 2.1 - October 20, 2009
 - reduced prism size and made it fit around the victim
 - modified loop function
 - slight modification to the prism code and color
 - minor fixes
v 2.0 - October 13, 2009
 - updated to SH 1.20 format
 - use pcvars instead of cvars
 - cleaned up code
File Descriptions
sh_zdanimothX.sma = v1.41
sh_danimothX.sma = v2.1
sh_danimothX_22.sma = v2.2

Screenshots:
v2.1 Prism Style
http://i57.photobucket.com/albums/g2...dani21pic1.jpg
http://i57.photobucket.com/albums/g2...dani21pic2.jpg
v2.0 and lower Prism Style
http://i57.photobucket.com/albums/g2...roj2status.png
http://i57.photobucket.com/albums/g2...XprojStats.png
Attached Files
File Type: zip Danimoth Sounds.zip (95.3 KB, 1397 views)
File Type: sma Get Plugin or Get Source (sh_zdanimothX.sma - 2439 views - 29.2 KB)
File Type: sma Get Plugin or Get Source (sh_danimothX.sma - 1603 views - 29.6 KB)
File Type: sma Get Plugin or Get Source (sh_danimothX_22.sma - 1330 views - 30.1 KB)

Last edited by 1sh0t2killz; 07-18-2010 at 15:29. Reason: Updated
1sh0t2killz is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 06-01-2008 , 22:38   Re: Hero: Danimoth X
Reply With Quote #2

you shouldn't deal with their gravity at all, setting their velocity should be enough. but if you really want to, instead of setting their gravity back to 1.0, just use shRemGravityPower(id)

for weapon fire: http://forums.alliedmods.net/showthread.php?t=41265


Code:
public danimoth_loop()
{
	if (!shModActive()) return
	for ( new id = 1; id <= SH_MAXSLOTS; id++ ) {
		if (  g_hasdanimothPower[id] && is_user_alive(id)  )   {
			set_task(0.1,"CloakRad",id)
		}
	}
}
//----------------------------------------------------------------------------------------------
public CloakRad(id){
	new distanceBetween
	new origin[3], origin1[3] 
	get_user_origin(id,origin)

	for(new a = 1; a <= SH_MAXSLOTS; a++) 
	{ 
		if( is_user_alive(a) && get_user_team(id) == get_user_team(a) )
		{
			get_user_origin(a,origin1) 
			distanceBetween = get_distance(origin, origin1 )
			if( !gIsInvisible[a] )
			{
				if( distanceBetween < cloak_cir )
				{
					emit_sound(id, CHAN_BODY, "shmod/danimoth_cloak.wav", 0.6, ATTN_NORM, 0, PITCH_HIGH)
					emit_sound(a, CHAN_BODY, "shmod/danimoth_cloak.wav", 0.6, ATTN_NORM, 0, PITCH_HIGH)
					setInvisibility(a, get_cvar_num("danimoth_alpha"))
					gIsInvisible[a] = 1
				} // distance
			}
			else{
				if( distanceBetween > cloak_cir )
				{
					//remInvisibility(a)
					shUnglow(a)
					client_print(a,print_center,"[SH]Danimoth: You are De-cloaked")
					gIsInvisible[a] = 0
				} // distance
			}
		} // loop    	
	}

Last edited by Emp`; 06-01-2008 at 22:51.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
wiLd2k
Member
Join Date: Feb 2008
Location: Finland
Old 06-02-2008 , 04:03   Re: Hero: Danimoth X
Reply With Quote #3

WOW This hero isnt even working -.- Putting in beatiful cage, and bots still can shoot me and they can move.. And if you press alt, you cant aim at anything self. + sounds are not working.

Fail.
But beatiful cage
__________________
After a long time, I am again interested in SuperHero Mod (08.2011 ->). Please PM me, if you have heroes by clan-sok!!! Very Important! Tnx.

Last edited by wiLd2k; 06-02-2008 at 04:56.
wiLd2k is offline
Send a message via MSN to wiLd2k Send a message via Skype™ to wiLd2k
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-02-2008 , 08:44   Re: Hero: Danimoth X
Reply With Quote #4

Beatiful cage?
i dont know but i want 1 better before i add to server
but nice you added what part is what
micke1101 is offline
wiLd2k
Member
Join Date: Feb 2008
Location: Finland
Old 06-02-2008 , 09:16   Re: Hero: Danimoth X
Reply With Quote #5

I mean with beatiful cage that its allmost like SOK's danimoth.
Too big, i'll fix it, and make exactly same like in sok. + I change colours.

Btw hero haves many buggs.
__________________
After a long time, I am again interested in SuperHero Mod (08.2011 ->). Please PM me, if you have heroes by clan-sok!!! Very Important! Tnx.
wiLd2k is offline
Send a message via MSN to wiLd2k Send a message via Skype™ to wiLd2k
1sh0t2killz
Senior Member
Join Date: Dec 2004
Old 06-02-2008 , 18:21   Re: Hero: Danimoth X
Reply With Quote #6

@ emp' - , thanks for the no-shoot code and i will fix the codes used to stop people (gravity and such)

@ wild2k - thanks for the +karma, but I've tested it on real people and it works fine, they cannot move their crosshair while frozen, also I had someone test it on me, and i found no problem with it. The plugin works perfectly fine on my server, I think you need to check again.

edit: also I forgot to mention, fakemeta is needed, I'll add that in.
__________________
I ♥ ⌂ ♫

Last edited by 1sh0t2killz; 06-02-2008 at 18:30. Reason: forgot stuff
1sh0t2killz is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-02-2008 , 19:47   Re: Hero: Danimoth X
Reply With Quote #7

Remove the use of amxmod or this hero gets insta-trashed:
Code:
#include <Vexd_Utilities>
I kinda don't understand the need for this when yang is creating the same thing already, can someone please explain to me why we need someone creating a secondary hero at the same time when this has already started?
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
wiLd2k
Member
Join Date: Feb 2008
Location: Finland
Old 06-03-2008 , 05:37   Re: Hero: Danimoth X
Reply With Quote #8

Quote:
Originally Posted by vittu View Post
Remove the use of amxmod or this hero gets insta-trashed:
Code:
#include <Vexd_Utilities>
I kinda don't understand the need for this when yang is creating the same thing already, can someone please explain to me why we need someone creating a secondary hero at the same time when this has already started?
@vittu: I dont know why he created ripoff hero from ripoff from original hero oO
Why he just dont relase in danimoth topic danimoth named hero with yangs coding, but danimoth cage? it would be better?

Btw, if he wants to make exactly same danimoth cage, use suggested colours for danimoth by me, and use zbeam4 sprite instead of laserbeam.
__________________
After a long time, I am again interested in SuperHero Mod (08.2011 ->). Please PM me, if you have heroes by clan-sok!!! Very Important! Tnx.
wiLd2k is offline
Send a message via MSN to wiLd2k Send a message via Skype™ to wiLd2k
1sh0t2killz
Senior Member
Join Date: Dec 2004
Old 06-02-2008 , 22:00   Re: Hero: Danimoth X
Reply With Quote #9

I'll fix the amx thing, but well, if there is a reason for not considering this a duplicate, it would be that it cloaks nearby allies, which house does not do, i guess.

Edit: ok I updated it.
__________________
I ♥ ⌂ ♫

Last edited by 1sh0t2killz; 06-02-2008 at 22:37.
1sh0t2killz is offline
yoko
Member
Join Date: Mar 2008
Location: Bucharest
Old 06-03-2008 , 07:39   Re: Hero: Danimoth X
Reply With Quote #10

hi i tried to add this hero on my server and it worls and when i get on the server it doesn;t appear.Why?
__________________
yoko is offline
Send a message via Yahoo to yoko
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 18:13.


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