669 << QVariant(0) // world edge 42 |
670 << QVariant(0) // world edge 42 |
670 // NOTE: If you change this, also change the defaults in the Construction Mode script |
671 // NOTE: If you change this, also change the defaults in the Construction Mode script |
671 << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam 43 |
672 << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam 43 |
672 ; |
673 ; |
673 |
674 |
|
675 QList<QVariant> specialists; |
|
676 specialists |
|
677 << predefSchemesNames[12] // name 0 |
|
678 << QVariant(true) // switchhog 1 |
|
679 << QVariant(false) // team divide 2 |
|
680 << QVariant(false) // solid land 3 |
|
681 << QVariant(false) // border 4 |
|
682 << QVariant(false) // low gravity 5 |
|
683 << QVariant(false) // laser sight 6 |
|
684 << QVariant(false) // invulnerable 7 |
|
685 << QVariant(false) // reset health 8 |
|
686 << QVariant(false) // vampiric 9 |
|
687 << QVariant(false) // karma 10 |
|
688 << QVariant(false) // artillery 11 |
|
689 << QVariant(false) // random order 12 |
|
690 << QVariant(false) // king 13 |
|
691 << QVariant(true) // place hog 14 |
|
692 << QVariant(false) // shared ammo 15 |
|
693 << QVariant(false) // disable girders 16 |
|
694 << QVariant(false) // disable land objects 17 |
|
695 << QVariant(false) // AI survival 18 |
|
696 << QVariant(true) // inf. attack 19 |
|
697 << QVariant(true) // reset weps 20 |
|
698 << QVariant(true) // per hog ammo 21 |
|
699 << QVariant(false) // no wind 22 |
|
700 << QVariant(false) // more wind 23 |
|
701 << QVariant(false) // tag team 24 |
|
702 << QVariant(false) // bottom border 25 |
|
703 << QVariant(100) // damage modfier 26 |
|
704 << QVariant(45) // turn time 27 |
|
705 << QVariant(100) // init health 28 |
|
706 << QVariant(15) // sudden death 29 |
|
707 << QVariant(5) // case prob 30 |
|
708 << QVariant(3) // mines time 31 |
|
709 << QVariant(0) // mines number 32 |
|
710 << QVariant(0) // mine dud pct 33 |
|
711 << QVariant(0) // explosives 34 |
|
712 << QVariant(0) // air mines 35 |
|
713 << QVariant(100) // health case pct 36 |
|
714 << QVariant(25) // health case amt 37 |
|
715 << QVariant(47) // water rise amt 38 |
|
716 << QVariant(5) // health dec amt 39 |
|
717 << QVariant(100) // rope modfier 40 |
|
718 << QVariant(100) // get away time 41 |
|
719 << QVariant(0) // world edge 42 |
|
720 // NOTE: If you change this, also change the defaults in the The Specialists script |
|
721 << QVariant("t=SENDIAPL") // scriptparam 43 |
|
722 ; |
|
723 |
674 QList<QVariant> spaceinvasion; |
724 QList<QVariant> spaceinvasion; |
675 spaceinvasion |
725 spaceinvasion |
676 << predefSchemesNames[12] // name 0 |
726 << predefSchemesNames[13] // name 0 |
677 << QVariant(false) // switchhog 1 |
727 << QVariant(false) // switchhog 1 |
678 << QVariant(false) // team divide 2 |
728 << QVariant(false) // team divide 2 |
679 << QVariant(false) // solid land 3 |
729 << QVariant(false) // solid land 3 |
680 << QVariant(false) // border 4 |
730 << QVariant(false) // border 4 |
681 << QVariant(false) // low gravity 5 |
731 << QVariant(false) // low gravity 5 |
720 << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam 43 |
770 << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam 43 |
721 ; |
771 ; |
722 |
772 |
723 QList<QVariant> hedgeeditor; |
773 QList<QVariant> hedgeeditor; |
724 hedgeeditor |
774 hedgeeditor |
725 << predefSchemesNames[13] // name 0 |
775 << predefSchemesNames[14] // name 0 |
726 << QVariant(false) // switchhog 1 |
776 << QVariant(false) // switchhog 1 |
727 << QVariant(false) // team divide 2 |
777 << QVariant(false) // team divide 2 |
728 << QVariant(false) // solid land 3 |
778 << QVariant(false) // solid land 3 |
729 << QVariant(false) // border 4 |
779 << QVariant(false) // border 4 |
730 << QVariant(false) // low gravity 5 |
780 << QVariant(false) // low gravity 5 |
780 schemes.append(timeless); |
830 schemes.append(timeless); |
781 schemes.append(thinkingportals); |
831 schemes.append(thinkingportals); |
782 schemes.append(kingmode); |
832 schemes.append(kingmode); |
783 schemes.append(mutant); |
833 schemes.append(mutant); |
784 schemes.append(construction); |
834 schemes.append(construction); |
|
835 schemes.append(specialists); |
785 schemes.append(spaceinvasion); |
836 schemes.append(spaceinvasion); |
786 schemes.append(hedgeeditor); |
837 schemes.append(hedgeeditor); |
787 |
838 |
788 if (!QDir(cfgdir->absolutePath() + "/Schemes").exists()) { |
839 if (!QDir(cfgdir->absolutePath() + "/Schemes").exists()) { |
789 QDir().mkdir(cfgdir->absolutePath() + "/Schemes"); |
840 QDir().mkdir(cfgdir->absolutePath() + "/Schemes"); |