| Blockland Forums > Suggestions & Requests |
| Looking for a scripter. |
| (1/2) > >> |
| Thex0r:
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: |
| Starzy:
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. |
| Thex0r:
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! |
| MARBLE MAN:
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 |
| TBD:
--- Quote from: MARBLE MAN on October 23, 2013, 09:09:39 PM --- 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 }; --- End quote --- What would you even do with this |
| Navigation |
| Message Index |
| Next page |