AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Submissions (https://forums.alliedmods.net/forumdisplay.php?f=35)
-   -   Hero: Secretary of Defense (https://forums.alliedmods.net/showthread.php?t=184652)

Fr33m@n 05-07-2012 10:45

Hero: Secretary of Defense
 
2 Attachment(s)
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**

Tieblaze 05-07-2012 15:27

Re: Hero: Secretary of Defense
 
That's pretty cool! How long is the delay from setting up beacon till the ion cannon hits?

Jelle 05-07-2012 17:57

Re: Hero: Secretary of Defense
 
Freeman's working :shock::shock::shock::shock::shock::shock:

Fr33m@n 05-07-2012 18:03

Re: Hero: Secretary of Defense
 
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.

Fr33m@n 05-07-2012 18:37

Re: Hero: Secretary of Defense
 
Quote:

Originally Posted by Jelle (Post 1704528)
Freeman's working :shock::shock::shock::shock::shock::shock:

Is it so surprising ? :D

Jelle 05-07-2012 19:00

Re: Hero: Secretary of Defense
 
Quote:

Originally Posted by Fr33m@n (Post 1704544)
Is it so surprising ? :D

Very! :mrgreen:

Fr33m@n 05-07-2012 20:28

Re: Hero: Secretary of Defense
 
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.

The Art of War 05-13-2012 11:45

Re: Hero: Secretary of Defense
 
Cool as usual ;)

XxKarlaxX 05-16-2012 11:22

Re: Hero: Secretary of Defense
 
Good Work!!On my Superhero server works great!

tommylee 07-11-2014 12:54

Re: Hero: Secretary of Defense
 
How to make this hero be a admin hero?


All times are GMT -4. The time now is 14:11.

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