View Single Post
heliumdream
Senior Member
Join Date: Aug 2006
Old 06-09-2015 , 14:54   Re: Hero: Forge (SRGrty)
Reply With Quote #8

Not the most flashy or significant power, but this was always a staple damage dealer on the servers I played on. I had to get this classic hero working again.

I had trouble getting the missile entity to draw right, it was just plain not there. The explosion, damage, and knockup effect worked fine but the missile and beam never appeared.

I tinkered with it substantially, but ultimately had to recode it. I jacked the common missile out of bazooka; and used what I could from the original forge code.

Works how I remember it now. Enjoy.

edit: i think i got Forge_force working properly.

i posted in script help. reference: https://forums.alliedmods.net/showth...49#post2306349

Code:
//Forge
Forge_cooldown 6 		//How long it takes Forge to reload
Forge_damage 80			//How much damage will be dealt (According to how far away missile is)
Forge_velocity 2000		//Speed of Forge's missile
Forge_force 300			//How much player hit by missile will fly up into the air with
Forge_radius 400		//The radius from where missile hit people will be damaged
Forge_obeygravity 0		//Makes missile obey server gravity rules 1 -yes, 0 - no
Forge_effects 2			//1 Regualy missile, no effects
				//2 Yellow sprites around missile - laggy
				//3 Light given off around missile
				//4 2 & 3 combined
Attached Files
File Type: sma Get Plugin or Get Source (sh_forge.sma - 1026 views - 14.7 KB)
__________________

Last edited by heliumdream; 06-09-2015 at 20:10.
heliumdream is offline