[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Vorpal for additional weapon types  XML
Forum Index -> Druids RPG
Author Message
KohanX

Godlike

Joined: 03/04/2006 13:40:23
Messages: 350
Offline

Old Title: Universal Vorpality. Dru changed it because the title doesn't explain the thread.

That's a really cool title... anyhow, I was thinking that every weapon should be able to be Vorpal. Just scale the Instagibity (fun word) inversely on the speed of the weapon, and everything will be balanced. Sound like a plan? It wouldn't be too hard to do, so I can do it in my spare time if you so wish.
320

Wicked Sick!

Joined: 10/11/2005 21:28:38
Messages: 605
Offline

KohanX wrote:
That's a really cool title... anyhow, I was thinking that every weapon should be able to be Vorpal. Just scale the Instagibity (fun word) inversely on the speed of the weapon, and everything will be balanced. Sound like a plan? It wouldn't be too hard to do, so I can do it in my spare time if you so wish. 


I think we should have sharks with laser beams attached to their heads.
Drago'Nish

Dominating
[Avatar]
Joined: 08/10/2005 18:38:46
Messages: 205
Offline

actually.. i already adjusted vorpal for that in my rpg, i made it have 3 steps, depending on weapon speed.

Code:
static function bool AllowedFor(class<Weapon> Weapon, Pawn Other)
 {
 	if ( Weapon.default.FireModeClass[0] != None && Weapon.default.FireModeClass[0].default.AmmoClass != None
 	          && class'MutUT2004RPG'.static.IsSuperWeaponAmmo(Weapon.default.FireModeClass[0].default.AmmoClass) )
 		return false;
 
 	if ( ClassIsChildOf(Weapon, class'ONSAVRiL') || (instr(caps(string(Weapon)), "AVRIL") > -1)) //hack for vinv avril
 	{
 		default.MinModifier=default.minmodslow;
 		default.MaxModifier=default.maxmodslow;
 	}
 	else if ( ClassIsChildOf(Weapon, class'FlakCannon') || ClassIsChildOf(Weapon, class'AssaultRifle') || ClassIsChildOf(Weapon, class'LinkGun') || ClassIsChildOf(Weapon, class'Minigun'))
 	{
 		default.MinModifier=default.minmodfast;
 		default.MaxModifier=default.maxmodfast;
 	}
 	else
 	{
 		default.MinModifier=default.minmodmed;
 		default.MaxModifier=default.maxmodmed;
 	}
 
 	return true;
 }
 
 defaultproperties
 {
      minmodslow=6
      maxmodslow=10
      minmodmed=3
      maxmodmed=7
      minmodfast=1
      maxmodfast=4
      IgnoreDamageTypes(0)=Class'XWeapons.DamTypeRedeemer'
      IgnoreDamageTypes(1)=Class'XWeapons.DamTypeIonBlast'
      ModifierOverlay=Shader'XGameShaders.BRShaders.BombIconYS'
      MinModifier=3
      MaxModifier=7
      AIRatingBonus=0.080000
      PrefixPos="Vorpal "
 }


druid can use this if he wishes to, in no way he has to stick to the exact value's i used, or weapon configurations.
this is just the way i think it is best.
(btw, as far as i have tested this, it works completly. generating the modifier amount correctle based on the Min/Max modifier after the adjustment. only thing remaining to test is if it works on dedicated mode, the thing that often brings trouble..)

might want to try to directly look to the firerate of a weapon instead of weapontype like i did.
i guesse i just could not find how to check for the firerate of a weapon..
(like healing checks if a weapon has splash damage or not.)

Zenas: Weapons Master - lvl 26
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

Eenh, I want it on slow fire weapons only, because it does piles of damage. If it was on the flak, it would diminish the usefulness of rage flak..

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
Drago'Nish

Dominating
[Avatar]
Joined: 08/10/2005 18:38:46
Messages: 205
Offline

i know, the +damage makes the vorpal a bit to.. powerfull on most weapon.
that why i changed it to only have the gib chance. making it balanced afterall. ^^

Zenas: Weapons Master - lvl 26
Szlat

Wicked Sick!

Joined: 05/18/2005 18:32:41
Messages: 2124
Location: UK
Offline

The check for the vorpal instagib is as follows
Code:
	Chance = Modifier - MinModifier;
 	if(Damage > 0 && Chance >= rand(99))
 		//this is a vorpal hit. Frag them.
 
The rand(99) generates a number between 0 and 98. If that number is less than or equal to the difference between the modifier and the minmodifier, then it instagibs. It should probably be rand(100) unless UnrealWiki has its data on rand wrong.

So, the normal vorpal has a MinModifier of 6, so a +6 has a 1% chance, +7 2% chance, ....., +10 5% chance of instagib.

If you change the Min and Max modifiers for the mini to 1 and 4, then a +1 mini would have a 1% chance of instagib, +2 would be 2%, +3 3%, +4 4%. So, on a +4 mini with 50 weapon speed firing 24 shots/sec, you should average very close to a vorpal every second. A +10 shock firing approx 2.4 shots/sec will vorpal on average around every 8 secs.

Are you sure that is balanced?
Drago'Nish

Dominating
[Avatar]
Joined: 08/10/2005 18:38:46
Messages: 205
Offline

i know that makes the mini trigger a lot more often, atleast.. the calculation makes it look like that.
i havent seen the mini trigger once a second on avarage, did seen it trigger twice a second once a while, but avarage.. nope.. not once a second. and there are more monsters when i play.

neither did i ever hear people say that they like vorpal that much at all, in the contrary, most people rether have a different magic weapon then vorpal.
incl. myself, however on DC vorpal indeed is a lot more popular, and i find it better on DC aswel then in my RPG.

maybe it is because here it also does more damage, and mine doesnt.

and ever seen a vorpal flak +4, how often that triggers, it doesnt calculate per shot, but per projectile.

however, if you put vorpal on every weapon, a perfect balance just isnt possible.
so sometimes you just have to accept some weapons trigger more then others..

Zenas: Weapons Master - lvl 26
KohanX

Godlike

Joined: 03/04/2006 13:40:23
Messages: 350
Offline

Perfect balance is possible. Allow me to give a few examples of how this would work. Let's take a minigun and a shock rifle. Make them both vorpal. Now, let us say that we want a weapon to Instagib once in every ten seconds.
Code:
 Minigun Fire Rate       = 1 / 15   = 0.067
 Shock Rifle Fire Rate   = 0.7
 Minigun Vorpal Rate     = 10 / 15  = 2 / 3 = 0.67%
 Shock Rifle Vorpal Rate = 10 * 0.7         = 7.00%

However, in order for the balance to persevere, the Vorpality must be customized to each firing mode (Assault Rifle primary fire would lag down its alt-fire, vorpally-speaking). Now then, have such a formula used for each weapon, and simply divide the Flak primary's by 9. It would also be necessary to do some weird modding on the flak shells and the resulting chunks.
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

Yup. Not going to do it. Post closed.

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
 
Forum Index -> Druids RPG
Go to: