Author Topic: Coop Edit Gear-up Script  (Read 806 times)

Offline ArdTheSheep

  • Administrator
  • Super Devil
  • *****
  • Posts: 212
  • Hit points: +8/-12
  • Sup Foo
    • View Profile
Coop Edit Gear-up Script
« on: June 04, 2016, 03:41:58 am »
THIS ONLY WORKS IN COOP-EDIT

Full ammo! Max health! Quad! Healing!

Put this in your autoexec.cfg located in: Documents/My Games/Sauerbraten/autoexec.cfg

Press 'V' to gear up.

Type /loadhb for +900 health.

Quote
// loaded by Ardelico

plantshells = [loop i 3 [newent "shells"0 0 0 0 123"";]];
plantbullets = [loop i 3 [newent "bullets"0 0 0 0 123"";]];
plantrockets = [loop i 3 [newent "rockets"0 0 0 0 123"";]];
plantrifle = [loop i 3 [newent "riflerounds"0 0 0 0 123"";]];
plantgrenades = [loop i 3 [newent "grenades"0 0 0 0 123"";]];
plantarmour = [newent "yellowarmour"0 0 0 0 123"";];
planthealth = [loop i 15 [newent health 0 0 0 0 123;]];
plantlightning = [loop i 10 [newent particles 7 0 1000 -1 123]]

loadshells = [edittoggle; plantshells; edittoggle;];
loadbullets = [edittoggle; plantbullets; edittoggle;];
loadrockets = [edittoggle; plantrockets; edittoggle;];
loadrifle = [edittoggle; plantrifle; edittoggle;];
loadgrenades = [edittoggle; plantgrenades; edittoggle;];
loadarmour = [edittoggle; plantarmour; edittoggle;];
loadhealth = [edittoggle; planthealth; edittoggle;];
loadlightning = [edittoggle; plantlightning; edittoggle;];
loadquad = [edittoggle; newent quaddamage 0 0 0 0 5; edittoggle;];

clearloaded = [edittoggle; entfind "shells"0 0 0 0 123""; entfind "bullets"0 0 0 0 123""; entfind "rockets"0 0 0 0 123""; entfind "riflerounds"0 0 0 0 123""; entfind "grenades"0 0 0 0 123""; entfind "yellowarmour"0 0 0 0 123""; entfind health 0 0 0 0 123; entfind particles 7 0 1000 -1 123; entfind quaddamage 0 0 0 0 5; delent; edittoggle;];

loaded = [sleep 50 [entdrop 1; loadshells; loadbullets; loadrockets; loadrifle; loadgrenades; loadarmour; loadhealth; loadlightning; loadquad; sleep 750 [entdrop 2; clearloaded;]]];

bind v loaded

loadhb = [edittoggle; entdrop 1; loadhb2; edittoggle; sleep 600 [edittoggle; entfind healthboost; delent; edittoggle;]];
loadhb2 = [loop i 90 [newent healthboost]]
« Last Edit: June 04, 2016, 03:46:02 am by ArdTheSheep »
Signature