Files

> > CS2D > Lua Scripts > [MECH] UpgradeMe 1.1
Files overviewCS2D overviewLua Scripts overview

English [MECH] UpgradeMe 1.1 >

34 comments6 kb, 594 Downloads

old [MECH] UpgradeMe 1.1

VADemon
User Off Offline

[Mechanics] UpgradeMe
not finished but stable: 1.2: https://dl.dropbox.com/u/53753604/vad/lua/UpgradeMe.lua - I'm pissed off just take it and have fun... If you find any bugs I will completely rewrite THAT SHIT. Thank you for using UpgradeMe.
(1.2): Huge performance improvements, caching.


I don't have a lot to say except that I hate dumb people who try to disturb you from upgrading something and hey, it makes upgrades like in Team Fortress 2!

∗ What it does: ∗
Whenever a building gets damaged it saves it's current upgrade progress. So you don't need to upgrade it again from 0%.

Just repair the building and continue upgrading from where you stopped!

Also, look at the pictures!


° Installation °
Copy gfx folder into your CS2D directory

And drop the .lua into your autorun folder!

(e.g. D:\Counter-Strike 2D\sys\lua\autorun\)



∗ Changelog ∗
1.1:
*
FIXED
Turret I -> Turret II bug, thanks VaiN
(really, I don't think it's my own mistake if Lua compares and tells THAT 100 IS NOT EQUAL TO 100! >:[
([00:35:11] Current Progress isnt equal to 100! 100)

*
FIXED
Unnecessary trash-objects were created for buildings without upgrades
*
CHANGED
The upgrade progress is more precise now

∗ License ∗
Yea, this script is licensed

IMG:https://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
.

To keep it simple: you're allowed to distribute and edit the script, but you must say that I'm the initial author and you have to use/distribute it under the same license. Click at the link for more info.


Enjoy!
edited 12×, last 12.01.13 07:20:34 pm
Approved by GeoB99

Download Download

6 kb, 594 Downloads

Comments

34 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old Chill

Rythmfair
User Off Offline

chill bro haha don't insult brah ahahha

old Very Nice

TempoCat
User Off Offline

Verii nice! now i dont need to go back HITTING my MOTHERF***ING SUPPLY again just because of a BASTARD PEOPLE who keeps HITTING MY SUPPLY AGAIN AND AGAIN...

Sorry for the rude comment but, I Like it
user TempoCat loves you
I like it!

old

AtomKuh
User Off Offline

very useful
I like it!

old

BATTLEKOT
User Off Offline

important script
I like it!

old

pbeloto
User Off Offline

Good Like
I like it!

old

Pseudon
User Off Offline

Ahem,i like it.
I like it!

old

limonata
User Off Offline

Good script.
I like it!

old Yeah!

Avo
User Off Offline

No more trollers attacking my buildings when I upgrade them!
I like it!

old

iii
User Off Offline

nice work
I like it!

old

phihung940
User Off Offline

Awesome
I like it!

old

VADemon
User Off Offline

Thank you, Vain. Since nobody really downloads anything / uses it, it's nearly impossible to test something.

I will reupload and include the image right now and a fix for turrets will be done a bit later after further testing.

UPD: The .png is included

old good idea

VaiN
User Off Offline

I was considering using this on the REWARDS Construction server. But then I tested it..

It seems to work OK with all buildings except for turrets.
After upgrading turret to dual-turret the Total shows 99% still. When you use wrench once, it goes from 99% to 25%, and you only have to upgrade 75% to get tripple-turret.

Edit: Disabling the other buildings was simple enough, I only wanted it for the supplies anyway. But you should probably still fix it if possible.

Also this image was not included: onmap.data.image[id] = image("gfx//upgrademe.png", x+1, y+64, 2, id)

Edit Again: Scratch that, disabling other buildings just makes them blow up when upgraded. I won't be using this script until it's fixed.
I like it!
edited 2×, last 27.11.12 04:10:19 pm

old

Shawni
User Off Offline

@user Sneaky: Do bots destroy building ?
Fail.

Useful
I like it!

old

Suprise
BANNED Off Offline

@user Sneaky: Obviously..Alone guy is playing alone.

--
Script is nice. Liked it before
I like it!

old

BcY
Reviewer Off Offline

great idea against the f****ts
I like it!

old

Sneaky
BANNED Off Offline

@user VADemon: nice perfect now the Bots will not stop me upgrading my supply u deserve a like.HERE U GO TAKE IT
I like it!

old

uaiek
User Off Offline

Pretty nice trick to prevent some noobs attacking your 99% supply.
Liked!
I like it!

old

omg
User Off Offline

if u want enemy hits to restart progress, just compare player(player,"team") to object(id,"team")...
I like it!

old good

J_Lucas
User Off Offline

is good for my server thanks ()^o^)
I like it!

old

4Vendetta
User Off Offline

Epic *u*
I like it!
To the start Previous 1 2 Next To the start