PDA

View Full Version : Uncle Sam [Admin Only]


AssKicR
07-18-2004, 08:43
Uncle Sam v1.2

Description
NUKE (Admin Only) - *** Admin Only Hero *** - Launch a Nuclear Strike and kill everyone (no XP gain/loss)

http://asskicr.calzinger.net/superheros/images/UncleSam.jpg

http://en.wikipedia.org/wiki/Uncle_Sam

shconfig.cfg CVARS
//Uncle Sam
unclesam_level 10
unclesam_adminflag a // Admin flag required to use this hero (Default a = ADMIN_IMMUNITY)
unclesam_timer 15 // Number of seconds before the nuke goes off (Default 15)
unclesam_admins_immune 0 // Admins with immuinity are immune to Nukes: 0=no 1=yes (Default 0)
unclesam_loguse 0 // Log use of Nuke, both fake and real are logged: 0=no 1=yes (Default 0)

vittu
07-22-2004, 19:41
Freecode you want to edit the subject line so that it shows up with the correct author in the superheros download page

PM
07-31-2004, 07:57
this doesnt work for me :?

123
07-31-2004, 08:18
I can't get it to work either...

CL-kraven
07-31-2004, 08:49
there is one with that suX with this hero...

its that the player who chooses it and uses it and dies, how did he knew that he will die?

It has to be so it wont work on normal players....

123
07-31-2004, 09:18
Can someone tell me how to make this hero work ?

Chivas2973
07-31-2004, 09:24
you have to make sure you have admin status with all the flags in order for this to work for you

CL-kraven
07-31-2004, 09:27
yeah i know that dude... lolz...

I ment that they have to change the hero so players without admin wont be able to pick/use the cmd...

123
07-31-2004, 09:33
Chivas2973
-> Im have in the 'addons\amxusers.ini' file given myself all the flags, and I am admin on the server, but it still doesn't work.
Is there anywhere else I can give myself flags ???

DoinK!!!
08-18-2004, 22:53
hey...i have a question....isn't there a fake nuke that they have made too...do u know where i can find that at?? get back soon plz! lata

|DbD|Xtreme
08-19-2004, 01:39
Does anyone know where i can find some other admin only heros?

DoinK!!!
08-19-2004, 23:51
Anyone know where to get the fake nuke...it acts like the real one...but it really ends up saying...ahah this was a fake nuke...or something like that? Any help plz?

DoinK!!!
09-04-2004, 22:17
Does any1 know man? Im here waiting for something!! :)

123
09-05-2004, 08:01
Here:

http://djeyl.net/forum/index.php?showtopic=5444

Iconoclast
03-26-2005, 00:04
can anyone make this hero so that when you press the binded button for it a menu pops up that asks you if you want to lauch the real nuke or the fake nuke...? I know that the fake nuke code is in there because i can see it, so we might as well use it.

CL-kraven
03-26-2005, 05:53
Don't know tha codes your self?...

Make it a bind or something.. Easier..

Iconoclast
03-26-2005, 14:03
i have no idea what the hell you just said. but uncle sam already has a bind, i want a menu to pop up asking if i want to lauch the real nuke or the fake nuke.

CL-kraven
03-26-2005, 19:03
i have no idea what the hell you just said. but uncle sam already has a bind, i want a menu to pop up asking if i want to lauch the real nuke or the fake nuke.

Allrighty... I would be happy to help ya, but dont really have the time at the moment.. Soo.. srY..

Gullasuppe
06-07-2005, 09:27
I cant get this thing to work :( Plzz help someone..

guy
06-07-2005, 09:33
post in tech support not here

123
06-07-2005, 09:38
Make sure that you are admin... (That you have the 'a' flag)
Else the hero won't work.

(Or does it kill ppl who want to use it?)

bLiNd
06-07-2005, 10:09
if you do not have the 'A' flag it will client_print "You are not authed to use this hero" then slay you ;)

vittu
06-08-2005, 23:07
Fake Nuke code was already in the hero, just not used...

So anything else besides a menu for nuke choice?

jtp10181
06-09-2005, 06:47
the admin only part should be done how I did the noob level limiting, force them to drop it. Its pretty simple to do, just look at the noob I posted.

MeHMeT
06-09-2005, 06:50
mabye make it so it doesnt kill anyone with a certain flag? cause other admins used this against me

123
06-09-2005, 08:35
Is it possible to make it so that it only shows in the menu, if a player has the admin flag, so that other people who are not admin can't pick it.

Iconoclast
06-09-2005, 13:12
Fake Nuke code was already in the hero, just not used...

So anything else besides a menu for nuke choice?
If you just read my post than idk how everyone missed it... i posted it back in march...

i knew what i was talking about 8) 8)
I know that the fake nuke code is in there because i can see it, so we might as well use it.

jtp10181
06-09-2005, 16:10
Is it possible to make it so that it only shows in the menu, if a player has the admin flag, so that other people who are not admin can't pick it.

not currently... thats why there are those things on the todo list in the source code.... for v1.2

vittu
06-09-2005, 18:57
the admin only part should be done how I did the noob level limiting, force them to drop it. Its pretty simple to do, just look at the noob I posted.already did that...

mabye make it so it doesnt kill anyone with a certain flag? cause other admins used this against mek I'll add the option to not kill admins with immunity.

If you just read my post than idk how everyone missed it... i posted it back in march...

i knew what i was talking about 8) 8)
I know that the fake nuke code is in there because i can see it, so we might as well use it.I did read your post, that's why I said what I did.


Truthfully I don't see the point as to why this is a hero: it's only for admins, doesn't give you any XP or credit for killing, might aswell just get the plugin amx_ejl_nukem cause it'd be the same thing without having to use up space for a bound key/hero slot...

MeHMeT
06-09-2005, 19:19
thanks vittu

vittu
06-10-2005, 14:46
Icono how is this for a menu? (any suggestions welcome)


Q's:
1. Should the user be given +frags for kills and -frags for tks? I made it so it shows who killed you, just not sure if I should add to the score...
2. Should the use of a nuke be logged into the admin log file? I guess it's a way to see if your admins spam it....

bLiNd
06-10-2005, 14:47
great work ;)

1. No
2. Yes

123
06-10-2005, 14:55
Looks nice
1. No
2. No

Iconoclast
06-10-2005, 15:02
looks amazing. thank you very much for doing it.

A's:
1. no, admins might just keep doing it to get higher ranks.
2. i dont think its really necessary ... if it will save you the trouble of having to code some more than no, not needed.

vittu
07-12-2005, 06:33
Hero Updated:
* v1.1 - vittu - 7/12/05
* - Cleaned up code, made timer more efficient, and used
* more reliable messages for round events.
* - Changed how Admin was checked, now made into a cvar.
* - Created menu and made Fake Nuke available for use.
* - Added options for Admin immunity from Nukes and able to
* log use of Nukes.
* - Added and changed sounds.
If you guys don't like something let me know. Also, let me know if everything works ok.


I was thinking to add an option to the menu to +5 seconds or -5 seconds to the timer, would anyone want that?

123
07-12-2005, 06:57
I haven't had time to look at it, but did you make the 'admin only' code easy to add to other heroes, like JTP's maxlevel one, so that other people can put it on their heroes.

imported_HOMiE
07-12-2005, 11:33
hey i have a question......if u use silver sirfer and u move really far away from them map...so far u cant see it no more and a admin uses uncle sam will u die or will u survive???

123
07-12-2005, 11:34
Test it yourself...
I don't think anyone has tested it.

imported_HOMiE
07-12-2005, 11:35
can someone else plz test? im not running a server.

vittu
07-13-2005, 03:19
I haven't had time to look at it, but did you make the 'admin only' code easy to add to other heroes, like JTP's maxlevel one, so that other people can put it on their heroes.Yes it's basically the same thing should be easy enough if you know just a little bit.
hey i have a question......if u use silver sirfer and u move really far away from them map...so far u cant see it no more and a admin uses uncle sam will u die or will u survive???die


No one answered my question, I was hoping Iconoclast would say something since he basically asked for this update:
I was thinking to add an option to the menu to +5 seconds or -5 seconds to the timer, would anyone want that?Should I add to the menu so you can add and subtract to the amount of time for the nuke to go off?
Like this:
3. +5 seconds
4. -5 seconds

123
07-13-2005, 07:00
I don't care.
But if a person will give it 5 seconds more, he might as well just wait 5 seconds before he press the botton.
Though it is not possible to wait 5 less seconds, but maybe some people would like it.

MeHMeT
07-13-2005, 13:42
i say nay

ballafacio
07-13-2005, 21:10
wow this looks nice
1.no
2.no

mage
07-23-2005, 09:07
it is good to use vs hackers. hehe

peoplerpoop
07-26-2005, 00:22
is this hero usable after the admin is dead? if not you should (if you could) make it so you can
some people (me) are to lazy to open up the console to slay people :o

also, maybe not a +5 seconds option because as someone said, you could just wait 5 extra seconds, but an option to take 5 seconds from it is a good idea

vittu
07-27-2005, 04:19
I'll see what I can do, I guess it wouldn't matter since this is admin only... The only thing I don't like about that is some admin could just keep using it so that he could get back into the game, guess i'll make a cvar for it.

peoplerpoop
07-27-2005, 14:21
if that ever became a problem, the flag could always be changed to something else instead of 'a'
or even make a cvar so you could control if it could be used while dead or not, so its not something thats forced

imported_guardian
09-12-2005, 19:04
uhh can u guys post where to download gogeta??

guiman
04-27-2006, 17:00
plz...help me...i dont know wht 2 put on the "a" admin flag...my nick?? my id? wht?

Emp`
04-27-2006, 21:01
the matching flag from users.ini file

guiman
04-28-2006, 03:46
but i don't have any autoexec.cfg file on the folder steam...where is it?

vittu
04-30-2006, 02:45
go away

guiman
04-30-2006, 17:35
thx for helping me :\

.:Predator:.
01-21-2007, 13:47
i use to play on a superhero-server and when an admin uses this power my cz just shuts down whitout any error-message:( why:?:

Bridgestone
10-03-2008, 07:51
Hi.

Do you think you can edit this plugin so it works with amxmodx without using the SuperHero mod?

I really love this plugin and I want to use it on an regular server. :)

Thanks in advance

/Bridge

vittu
10-03-2008, 14:44
Hi.

Do you think you can edit this plugin so it works with amxmodx without using the SuperHero mod?

I really love this plugin and I want to use it on an regular server. :)

Thanks in advance

/Bridge
http://forums.alliedmods.net/showthread.php?t=610

Bridgestone
10-04-2008, 05:30
@vittu

Thank you a lot!

Mazzerin
10-04-2008, 05:39
How can I make the other heroes to be only-admin?What code?Or something?