Author Topic: Looking for a scripter.  (Read 399 times)

Hello i'm requesting some help with a "Game-mode" i'm working on and I need to make the weapons slightly get better so you can purchase them, i'm no sure how to do this exactly but I have the idea. Every-time I do try it just cokks up badly.

If I can get help it would be appreciated.

 :cookieMonster:

Use vce,

make a brick with following events,

On activate >> client >> ifvalue coin == costofitem
on variable true >> player >> add item

and if it's something you get money from killing bots

Onbotkilled >> client >> (value or something, not if) >> coin >> add >> number here

it's something like that.

yes i understand that part i have the money system in.
I need someone to code a weapon pack to be decent to ungodly.
Like change the variables around inside the addon so i have
Gun -0 50 dmg     Not very accurate slow reload
Gun -1 55 dmg
Gun -2 60 dmg
Gun -3 65 dmg
Gun -4 70 dmg
Gun -5 75 dmg
Gun -6 80 dmg
Gun -7 85 dmg
Gun -8 90 dmg
Gun -9 95 dmg
Gun -6 80 dmg
Gun -7 100 dmg   100% accurate not instant but fast reload

Thanks :D!


datablock ProjectileData(gun50dmgProjectile:gunProjectile)
{
     uiname="50 Damage Bulllet";
     directDamage=50;
};
datablock ProjectileData(gun55dmgProjectile:gunProjectile)
{
     uiname="55 Damage Bulllet";
     directDamage=55;
};


there's your projectiles


datablock ItemData(gun50dmgItem:gunItem)
{
     uiname = "Gun 50 Damage";
     image = gun50DmgImage;
};
datablock ShapeBaseImageData(gun50dmgImage:gunImage)
{
     projectile=gun50dmgProjectile;
     stateTimeoutValue[3] = 0.02; //increase this value for longer reloading speeds
};


here's one of the 10 items you wanted

There are much more efficient ways of making this work with only 1 datablock by parenting armor::onDamage, but w/e
start basic


datablock ProjectileData(gun50dmgProjectile:gunProjectile)
{
     uiname="50 Damage Bulllet";
     directDamage=50;
};
datablock ProjectileData(gun55dmgProjectile:gunProjectile)
{
     uiname="55 Damage Bulllet";
     directDamage=55;
};


there's your projectiles


datablock ItemData(gun50dmgItem:gunItem)
{
     uiname = "Gun 50 Damage";
     image = gun50DmgImage;
};
datablock ShapeBaseImageData(gun50dmgImage:gunImage)
{
     projectile=gun50dmgProjectile;
     stateTimeoutValue[3] = 0.02; //increase this value for longer reloading speeds
};



What would you even do with this

What would you even do with this
modify the values for each of the 8 different guns he wants so each has a different damage value?

What would you even do with this

Put it in your backpack.

Alright well now that i have done this i put it in my game it wont show up in-game
any help?

(I'm using Gravity cat's Flintlock-Weapons)

modify the values for each of the 8 different guns he wants so each has a different damage value?
But doing it by spamming datablocks is horrible
Oh I misread that post you were responding to as "Why would you even do this?"

start basic
He's looking to make a gamemode, gamemodes are not "basic"
Being "basic" is never an excuse for encouraging horrible practices
« Last Edit: October 24, 2013, 01:26:48 PM by Headcrab Zombie »