Dateien

> > CS2D > Lua Scripts > [FFBAU] FREE Fast Building & Upgrade Unlimited! v3
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [FFBAU] FREE Fast Building & Upgrade Unlimited! v3 >

15 Kommentare863 b, 1.429 Downloads

Kommentare

15 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Stinger
User Off Offline

@user stilltech: [GF}<Cyxapuk^_^>{RUS] is him, see the sreenshot

alt

EXOSuit
User Off Offline

Are this allready made?

alt

stilltech
User Off Offline

@user Julia D14M0ND-H34RT: edit from
--|Lua version 3
--|LUA SCRIPT by [GF}<Cyxapuk^_^>{RUS]
--|IP:85.142.55.116:30001 - Zombie [ON]

Free=1
upgradedwalls=0
upgradedturrets=1
upgradedsupplys=1
FastUpgrade=1
fastbuilding=1

if Free==1 then
     parse('mp_building_price "Barricade" 0')
     parse('mp_building_price "Barbed Wire" 0')
     parse('mp_building_price "Wall I" 0')
     parse('mp_building_price "Wall II" 0')
     parse('mp_building_price "Wall III" 0')
     parse('mp_building_price "Gate Field" 0')
     parse('mp_building_price "Supply" 0')
     parse('mp_building_price "Dispenser" 0')
     parse('mp_building_price "Turret" 0')
     parse('mp_building_price "Teleporter Entrance" 0')
     parse('mp_building_price "Teleporter Exit" 0')
end


addhook("buildattempt","fast_build")
function fast_build(id,type,tx,ty)
     if fastbuilding==1 then
          if (type~=2) and (type<=14) then
               if upgradedwalls==1 and (type==1 or type==3 or type==4) then type=5 end
               if upgradedturrets==1 and type==8 then type=12 end
               if upgradedsupplys==1 and type==9 then type=15 end
               parse("spawnobject "..type.." "..tx.." "..ty.." "..player(id,"rot").." 1 "..player(id,"team").." "..id)
               return 1
          end
     end
end
addhook("objectupgrade","fast_upgrade")
function fast_upgrade(id,idp,progress,total)
     if FastUpgrade==1 then
          local x=object(id,"tilex")
          local y=object(id,"tiley")
          local type=object(id,"type")
          local rot=object(id,"rot")
          local team=player(idp,"team")
          local idp=object(id,"player")
          local mode=object(id,"mode")
          if type==8 then type=11
          elseif type==11 then type=12
          elseif type==9 then type=15
          elseif type==1 then type=3
          elseif type==3 then type=4
          elseif type==4 then type=5
          end
          parse("killobject "..id)
          parse("spawnobject "..type.." "..x.." "..y.." "..rot.." "..mode.." "..team.." "..idp)
          return 1
     end
end
addhook("minute","minute")
function fast_minute()
     msg("©000255000|Lua version 3")
     msg("©000255000|LUA SCRIPT by [GF}<Cyxapuk^_^>{RUS]")
     msg("©000255000|IP:85.142.55.116:30001 - Zombie [ON]")
end
addhook("mapchange","mapchange")
function mapchange(newmap)
     parse('mp_building_price "Barricade" 300')
     parse('mp_building_price "Barbed Wire" 500')
     parse('mp_building_price "Wall I" 1000')
     parse('mp_building_price "Wall II" 2000')
     parse('mp_building_price "Wall III" 3000')
     parse('mp_building_price "Gate Field" 1500')
     parse('mp_building_price "Supply" 5000')
     parse('mp_building_price "Dispenser" 5000')
     parse('mp_building_price "Turret" 5000')
     parse('mp_building_price "Teleporter Entrance" 3000')
     parse('mp_building_price "Teleporter Exit" 3000')
end


TO


--|Lua version 3
--|LUA SCRIPT by [GF}<Cyxapuk^_^>{RUS]
--|IP:85.142.55.116:30001 - Zombie [ON]

Free=1
upgradedwalls=0
upgradedturrets=0
upgradedsupplys=1
FastUpgrade=1
fastbuilding=1

if Free==1 then
     parse('mp_building_price "Barricade" 0')
     parse('mp_building_price "Barbed Wire" 0')
     parse('mp_building_price "Wall I" 0')
     parse('mp_building_price "Wall II" 0')
     parse('mp_building_price "Wall III" 0')
     parse('mp_building_price "Gate Field" 0')
     parse('mp_building_price "Supply" 0')
     parse('mp_building_price "Dispenser" 0')
     parse('mp_building_price "Turret" 0')
     parse('mp_building_price "Teleporter Entrance" 0')
     parse('mp_building_price "Teleporter Exit" 0')
end


addhook("buildattempt","fast_build")
function fast_build(id,type,tx,ty)
     if fastbuilding==1 then
          if (type~=2) and (type<=14) then
               if upgradedwalls==1 and (type==1 or type==3 or type==4) then type=5 end
               if upgradedturrets==1 and type==8 then type=12 end
               if upgradedsupplys==1 and type==9 then type=15 end
               parse("spawnobject "..type.." "..tx.." "..ty.." "..player(id,"rot").." 1 "..player(id,"team").." "..id)
               return 1
          end
     end
end
addhook("objectupgrade","fast_upgrade")
function fast_upgrade(id,idp,progress,total)
     if FastUpgrade==1 then
          local x=object(id,"tilex")
          local y=object(id,"tiley")
          local type=object(id,"type")
          local rot=object(id,"rot")
          local team=player(idp,"team")
          local idp=object(id,"player")
          local mode=object(id,"mode")
          if type==8 then type=11
          elseif type==11 then type=12
          elseif type==9 then type=15
          elseif type==1 then type=3
          elseif type==3 then type=4
          elseif type==4 then type=5
          end
          parse("killobject "..id)
          parse("spawnobject "..type.." "..x.." "..y.." "..rot.." "..mode.." "..team.." "..idp)
          return 1
     end
end
addhook("minute","minute")
function fast_minute()
     msg("©000255000|Lua version 3")
     msg("©000255000|LUA SCRIPT by [GF}<Cyxapuk^_^>{RUS]")
     msg("©000255000|IP:85.142.55.116:30001 - Zombie [ON]")
end
addhook("mapchange","mapchange")
function mapchange(newmap)
     parse('mp_building_price "Barricade" 300')
     parse('mp_building_price "Barbed Wire" 500')
     parse('mp_building_price "Wall I" 1000')
     parse('mp_building_price "Wall II" 2000')
     parse('mp_building_price "Wall III" 3000')
     parse('mp_building_price "Gate Field" 1500')
     parse('mp_building_price "Supply" 5000')
     parse('mp_building_price "Dispenser" 5000')
     parse('mp_building_price "Turret" 5000')
     parse('mp_building_price "Teleporter Entrance" 3000')
     parse('mp_building_price "Teleporter Exit" 3000')
end

alt

tom282f3
User Off Offline

I do think we have a whole bunch of this. Dash it all, mister!

alt Good!

ItsAdamLY
User Off Offline

Nice script! Hope you make more lua
Ich mag es!

alt 4/5

Julia D14M0ND-H34RT
User Off Offline

It seriously needs something like this:
When I deploy a Turret, I cannot decide what level it will be.
It automatically does it 3.
Something like this will be better
-------------
after deploy|
1 hit - lvl 1 |
2 hit - lvl 2 |
3 hit - lvl 3 |
------------
Ich mag es!

alt

melatisri
User Off Offline

wow ay like you portal 2 theaks for lua
Ich mag es!

alt good good

like cs2d
User Off Offline

wow city life and building its g*best script in world
Ich mag es!

alt

Apache uwu
User Off Offline

Haha I stole your idea I like your script though...
Ich mag es!

alt :)

Fabio-pro-kill
User Off Offline

I love it ! keep it on ! : D ! : D
Ich mag es!

alt

Kostyan1996
User Off Offline

Oh yea!
The best script of all others!
Ich mag es!

alt Omg

SDKey
User Off Offline

Congratulation with no bugs))
Ich mag es!

alt nice

laying
User Off Offline

it is end update
no fast build laser mines and mines!
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang