Page 1 of 1

[Suggestions] CSmPlayer attributes

Posted: 06 Feb 2013, 21:53
by steeffeen
hey there,

there are a few things about the CSmPlayer class which are driving me crazy.

ArmorGain
currently this attribute has only an effect if the current armor of a player isn't a multiple of 100 (like 100, 200, 300, ..)
that means if a player has only 100 out of 200 armor the armor gain doesn't do anything, you have to set the armor to 101 with the script to enable the armor gain... i think that's kind of weird
// Edit: the default value is currently 25, but i would rather suggest a default value of 0

StaminaMax, StaminaPower, StaminaGain
the default value of these attributes is 1.0, while this value is also the max value.. i understand that setting a gain value of 100.0 would make it possible to use stamina the whole time which would make it kind of pointless.. but in my opinion this should be open to the script author..
i would like to request opening up the value range of these 3 attributes :)

ForceColor
this request isn't so important but it would be still nice if it would be possible to force a different color in a team context, as it's only possible without teams right now

ShootingFrequency
just a small idea of mine, it would open up more possibilities if you set the ratio with which players are able to shoot
in case it's difficult to understand, if you have 4 rockets and keep shooting all of them. the 4 rockets won't be shot instantly all together but one after another with a small delay. and i would like to modify this delay :)
it has the same function as AmmoGain if you have only 1 ammunition, but you would have to be more cautious while shooting if you can't just spam all of your rockets

thanks
steff

P.s. feedback would be appreciated

Re: [Suggestions] CSmPlayer attributes

Posted: 09 Feb 2013, 11:20
by steeffeen
steeffeen wrote:ArmorGain
currently this attribute has only an effect if the current armor of a player isn't a multiple of 100 (like 100, 200, 300, ..)
that means if a player has only 100 out of 200 armor the armor gain doesn't do anything, you have to set the armor to 101 with the script to enable the armor gain... i think that's kind of weird
// Edit: the default value is currently 25, but i would rather suggest a default value of 0
okay i figured out that the effect of ArmorGain isn't what i expected, in fact a constant reload of armor is achieved through the attribute ArmorReplenishGain which works fine for me :thumbsup:

but now i'm puzzled with the attribute ArmorGain, what's the point of it?

Re: [Suggestions] CSmPlayer attributes

Posted: 09 Mar 2013, 01:01
by steeffeen
during my script work today i missed the possibility of checking the current ammunition of a player
it would be great if there would be an attribute like

Code: Select all

Const Real CSmPlayer::CurrentAmmo

Re: [Suggestions] CSmPlayer attributes

Posted: 30 Mar 2013, 23:37
by racer_simon
steeffeen wrote: ForceColor
this request isn't so important but it would be still nice if it would be possible to force a different color in a team context, as it's only possible without teams right now
I need this, too.
Come on, Nadeo! :)

Re: [Suggestions] CSmPlayer attributes

Posted: 14 May 2013, 11:33
by steeffeen
How about opening up the value ranges only for title packs? then the players still know what do expect from SMStorm but content creators have more possibilities inside their title packs :)

Re: [Suggestions] CSmPlayer attributes

Posted: 24 May 2013, 11:16
by Gugli
steeffeen wrote:How about opening up the value ranges only for title packs? then the players still know what do expect from SMStorm but content creators have more possibilities inside their title packs :)
That's exactly the spirit ;)
Keeping "vanilla" and "non-vanilla" modes well separated to avoid confusion ^_^.

Don't know when we will have time for that, though.

Re: [Suggestions] CSmPlayer attributes

Posted: 31 May 2013, 20:07
by steeffeen
another thing i would like to see: increase of the range of SpeedPower ;)

Re: [Suggestions] CSmPlayer attributes

Posted: 02 Dec 2015, 20:29
by kadaz
steeffeen wrote:during my script work today i missed the possibility of checking the current ammunition of a player
it would be great if there would be an attribute like

Code: Select all

Const Real CSmPlayer::CurrentAmmo
was looking for this today..