ItsMods

Full Version: Backwards Killstreaks!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=689]First ModBig Grin
Basically everything is backwards so at 3 kills you get a gunship and dogs and so on, only problem with this is you get both for the number of killstreak you have got(if you get 11, you get rc and uav).
I could not work out a way how to.
If you have any tips for my coding and stuff like that, always appreciated.
Thanks you For your Time!

Credits!
Minecraftftw- How i learnt to put text at the top!(From his famas war code)
alistair3149- To say something at every spawn or at the start of the game (can't remember which one) From his Minigun Mod)

Also I've noticed in many mods this type of stuff at the start.
Code:
DVARnosway()
{
    self setClientDvar( "player_breath_gasp_lerp", "0" );
    self setClientDvar( "player_breath_snd_lerp", "0" );
    self setClientDvar( "player_breath_gasp_scale", "0" );
    self setClientDvar( "player_breath_fire_delay", "0" );
    self setClientDvar( "player_breath_snd_delay", "0" );
    self setClientDvar( "player_breath_gasp_time", "0" );
    self setClientDvar( "bg_viewBobMax", 0 );
    self setClientDvar( "bg_weaponBobMax", 0 );
    self setClientDvar( "scr_xpcollectorsscale", 0.01 );
    self setClientDvar( "scr_xpzmscale", 0.01 );
    self setClientDvar( "bg_bobMax", "0" );
    self setClientDvar( "bg_bobAmplitudeStanding", "0" );
    self setClientDvar( "bg_bobAmplitudeSprinting", "0" );
    self setClientDvar( "bg_bobAmplitudeDucked", "0 0" );
    self setClientDvar( "bg_bobAmplitudeProned", "0 0" );
(from Isnipe)
Does that mean you can put DVARnosway() at any point in the code and it will refer to the dvar is the text above?

Thanks Again!



Yes, you can put it everywhere, and call in onplayerspawned
I sense chaos. BTW, it's in releases. Where's the release?:L
i wrote him that he needs to reup it cause the attachment system is bugged sometimes..i approved the attachment but its not visible
k sorry was afk, will do that now >.<
approved