Raised This Month: $32 Target: $400
 8% 

Hero: Secretary of Defense


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-07-2012 , 10:45   Hero: Secretary of Defense
Reply With Quote #1

Secretary of Defense v1.1

Description
Ion Cannon - Call the Secretary of Defense while you setup your beacon. Once the beacon installed, after a while the Ion Cannon Satellite will lock on your beacon and fire with a poweful ionic beam.

[IMG]http://img838.**************/img838/8695/secretaryofdefense.jpg[/IMG]

This hero is a based on Weapon Mod weapon : Ion Cannon (C&C Renegade: Reborn) v1.92 by A.F. aka hjkwe654. (video)
There is optimizations to do on the original code but i don't have the time to look at them, anyway it work perfectly without them.

secretary_workinside with the value 1 shoudn't be used because it's illogical.
The main purpose of this cvar is to get the hero work in full walled maps. (like de_rats)
you can put secretary_workinside 1 in a specific map config for theses maps.

shconfig.cfg CVARS
Code:
//Secretary of Defense
secretary_level 0
secretary_radius 2000       //Radius of people affected by blast
secretary_maxdamage 1000    //Maximum damage to deal to a player
secretary_cooldown 60       //# of seconds before you can install another beacon
secretary_delay 35          //# of seconds between setup and start of rotation
secretary_burndecals 1      //Show the burn decals on the ground
secretary_workinside 0      //Allow Ion Cannon to work inside buidings and so on
***Warning: This hero contains many extra files and may cause problems if you are precaching too much.*** (2 models, 8 sounds, 6 sprites)

**SuperHero Mod 1.2.0 & up ONLY**
Attached Files
File Type: sma Get Plugin or Get Source (sh_secretary.sma - 1213 views - 28.3 KB)
File Type: zip sh_secretary_required_files.zip (3.45 MB, 416 views)

Last edited by Fr33m@n; 05-08-2012 at 05:07.
Fr33m@n is offline
Tieblaze
New Member
Join Date: May 2012
Old 05-07-2012 , 15:27   Re: Hero: Secretary of Defense
Reply With Quote #2

That's pretty cool! How long is the delay from setting up beacon till the ion cannon hits?
Tieblaze is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-07-2012 , 17:57   Re: Hero: Secretary of Defense
Reply With Quote #3

Freeman's working
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-07-2012 , 18:03   Re: Hero: Secretary of Defense
Reply With Quote #4

I didn't modified the original hero so the delay is really long 50 seconds yeah.
There is 15.2 second that you can't modify. because it's all the rotation process.
But before that there is 35 second that you can modify but i need to modify the beacon sound part in consequence to look nice. so it will be possible but i need time and i have exams so after that.

Last edited by Fr33m@n; 05-07-2012 at 18:04.
Fr33m@n is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-07-2012 , 18:37   Re: Hero: Secretary of Defense
Reply With Quote #5

Quote:
Originally Posted by Jelle View Post
Freeman's working
Is it so surprising ?
Fr33m@n is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-07-2012 , 19:00   Re: Hero: Secretary of Defense
Reply With Quote #6

Quote:
Originally Posted by Fr33m@n View Post
Is it so surprising ?
Very!
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-07-2012 , 20:28   Re: Hero: Secretary of Defense
Reply With Quote #7

Tieblaze, your problem is fixed by using a simple but ugly rule of three for the delay.
Still don't forget to add 15.2 second to that delay cause you can't lower the time between start of rotation part and explosion.

Last edited by Fr33m@n; 05-07-2012 at 20:31.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 05-13-2012 , 11:45   Re: Hero: Secretary of Defense
Reply With Quote #8

Cool as usual ;)
__________________
The Art of War is offline
XxKarlaxX
New Member
Join Date: May 2012
Location: Haapsalu
Old 05-16-2012 , 11:22   Re: Hero: Secretary of Defense
Reply With Quote #9

Good Work!!On my Superhero server works great!
XxKarlaxX is offline
Send a message via MSN to XxKarlaxX Send a message via Skype™ to XxKarlaxX
tommylee
Junior Member
Join Date: Jul 2014
Old 07-11-2014 , 12:54   Re: Hero: Secretary of Defense
Reply With Quote #10

How to make this hero be a admin hero?
tommylee is offline
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 17:18.


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