[Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Proposal: Small change to DruidLoaded.uc  XML
Forum Index -> Druids RPG Development
Author Message

Wicked Sick!

Joined: 01/13/2006 15:23:41
Messages: 1239
Location: Florida

Thanks to KohanX, I'd like to change the end of giveWeapon in DruidLoaded to:
 	else if(AbilityLevel > 1)
 +		if (oldName == "XWeapons.AssaultRifle")
 +		{
 +			RPGWeapon.Loaded();
 +		}

(Note that the + signs are simply indicating what would be added to the code - they won't actually be "in" the change)

I don't know what "Loaded" does in most weapons (probably just gives full ammo), but "simulated function Loaded()" was put into the Assault Rifle simply to set bDualMode to True.

This would result in LW2+ having dual assault rifles.

If we'd rather, it wouldn't take too much to split out the four lines into a separate if routine that would grant the duals to a higher level LW than 2.

I use the Futurama Prof. Farnsworth Skin: http://www.disastrousconsequences.com/dcforum/posts/list/1595.page
WM: (DC)BotFodder 170
MM: (DC)BotDoctor 141
AM: (DC)BotBooster 147
http://ericdives.com/ - My DC Newbie FAQ: http://tinyurl.com/lz229
Twitter: http://twitter.com/ericdives
[WWW] aim icon [MSN]

Wicked Sick!

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

sounds great. check it in

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 Development
Go to: