Author Topic: Player armor - setPlayerArmor  (Read 1235 times)

I realize it can be done with VCE, but an add-on would just be too cool, I've realized. Armor would be used to soften damage taken. The event to set the armor would be setPlayerArmor. As an example:
onActivated>Player>setPlayerArmor>headSkin>Iron Helm

The types would go from wood to adamantine.
Wood
Bronze
Gold
Iron
Steel
Diamond
Adamantine

Wood takes away 5% of all damage done.
Bronze takes away 10%
Gold is 15%
Iron is 20%
Steel is 35%
Diamond is 55%
Adamantine is 75%








For the damage reduction you would need to change the player type.

For the damage reduction you would need to change the player type.
Not necessarily; you could package the function where the player is damaged.

I'll make this when I get home from class if no one else does first.
Post the exact color codes you want and I won't have to mess around with that and it'll be a little faster
« Last Edit: October 05, 2011, 10:04:28 AM by Headcrab Zombie »

Not necessarily; you could package the function where the player is damaged.
Like in the DRPG some people hosted so the armor could need editing.

I just use VHP player types to increase the max amount of HP a player has making them seem to be taking less damage. However, the same effect can be achieved through VCE Health Modding I hear making my VHP players useless.

A general rule with playertype mods is that if the effect you're trying to achieve can be done without playertypes, then don't use them.

I'm working on this now

How's this?
I didn't use different helms for each armor though
« Last Edit: October 05, 2011, 02:52:17 PM by Headcrab Zombie »

Pfft. Gold armour. Good luck with that.

For the Scavenger mod Derroith Munk and I are working on, there is an armor system, which divides damage. Munk is making it, so he would probably the the best for this job.

Yo, what about heedicalking's armor being used?
It's code is a bit rusty, but I'm sure we could find some way through that.

Yo, what about heedicalking's armor being used?
It's code is a bit rusty, but I'm sure we could find some way through that.

Heed's used something similar to Pandan's, it raises health. Something that divides damage would be better.

Actually, I thought heeds just reduced the damage percentage. Pandan's changed the playertype.

A general rule with playertype mods is that if the effect you're trying to achieve can be done without playertypes, then don't use them.

I'm working on this now

How's this?
I didn't use different helms for each armor though

Exactly what I was talking about! Thank you for making it!
« Last Edit: October 06, 2011, 09:42:00 AM by IkeTheGeneric »