Permalink
Browse files

Convert structure loading from csv to ini format. Based on patch by c…

…rabster / Reg312.
  • Loading branch information...
1 parent e3097c0 commit 066ba771b7bab49d8cf6b0920f06feec745c2f93 @perim perim committed Mar 10, 2013
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,37 +0,0 @@
-A0ResearchFacility,Research Facility,4
-A0LightFactory,FacProd1,5
-A0PowerGenerator,PowGen1,6
-A0FacMod1,FacMod1,12
-A0ResourceExtractor,Resource,14
-A0BaBaFactory,BaBaFacProd,22
-A0BaBaPowerGenerator,BaBaPowGen,23
-A0ResearchModule1,Research Module,24
-A0PowMod1,PowerModule,36
-A0HardcreteMk1Wall,Hardcrete Wall1,41
-A0BaBaHorizontalWall,baba Wall Function,45
-A0ComDroidControl,Research Facility,50
-GuardTower1,Basic Wall Function,51
-GuardTower2,Basic Wall Function,52
-GuardTower3,Basic Wall Function,53
-GuardTower4,Basic Wall Function,54
-GuardTower5,Basic Wall Function,55
-GuardTower6,Basic Wall Function,56
-A0CyborgFactory,FacProd1,57
-PillBox1,Basic Wall Function,58
-A0TankTrap,TankTrapFunc,60
-PillBox2,Basic Wall Function,62
-PillBox3,Basic Wall Function,63
-PillBox4,Basic Wall Function,64
-Emplacement-Howitzer105,Basic Wall Function,67
-A0VtolPad,ReArm,68
-A0CommandCentre,Basic Wall Function,69
-A0CommandCentreCO,Basic Wall Function,70
-A0CommandCentreNP,Basic Wall Function,71
-A0VTolFactory1,FacProd1,72
-UplinkCentre,Basic Wall Function,74
-A0CommandCentreNE,Basic Wall Function,79
-CollectiveWall,Collective Wall1,80
-NEXUSWall,NEXUS Wall1,81
-A0RepairCentre3,RepairFacilityFunc,83
-NX-CruiseSite,Basic Wall Function,84
-NX-ANTI-SATSite,Basic Wall Function,85

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,83 +0,0 @@
-A0BaBaRocketPit,BabaPitRocket,NULL,NULL,NULL,29
-A0CannonTower,BaBaCannon,NULL,NULL,NULL,31
-WallTower01,MG3Mk1,NULL,NULL,NULL,33
-WallTower02,Cannon1Mk1,NULL,NULL,NULL,34
-WallTower03,Cannon2A-TMk1,NULL,NULL,NULL,35
-WallTower04,Cannon375mmMk1,NULL,NULL,NULL,37
-A0BaBaBunker,MG3Mk1,NULL,NULL,NULL,39
-GuardTower1,MG3Mk1,NULL,NULL,NULL,40
-GuardTower2,MG2Mk1,NULL,NULL,NULL,41
-GuardTower3,MG3Mk1,NULL,NULL,NULL,42
-GuardTower4,Flame1Mk1,NULL,NULL,NULL,43
-GuardTower5,Rocket-LtA-T,NULL,NULL,NULL,44
-GuardTower6,Rocket-Pod,NULL,NULL,NULL,45
-PillBox2,MG2-Pillbox,NULL,NULL,NULL,47
-PillBox3,MG3-Pillbox,NULL,NULL,NULL,48
-PillBox4,Cannon1Mk1,NULL,NULL,NULL,49
-A0BaBaGunTowerEND,BuggyMG,NULL,NULL,NULL,50
-PillBox1,MG3-Pillbox,NULL,NULL,NULL,51
-Emplacement-Howitzer105,Howitzer105Mk1,NULL,NULL,NULL,52
-Emplacement-MortarPit01,Mortar1Mk1,NULL,NULL,NULL,54
-PillBox5,Flame1Mk1,NULL,NULL,NULL,57
-WallTower05,Flame1Mk1,NULL,NULL,NULL,58
-WallTower06,Rocket-LtA-T,NULL,NULL,NULL,60
-PillBox6,Rocket-LtA-T,NULL,NULL,NULL,61
-A0BaBaRocketPitAT,BabaPitRocketAT,NULL,NULL,NULL,62
-Tower-Projector,Flame2,NULL,NULL,NULL,63
-WallTower-Projector,Flame2,NULL,NULL,NULL,64
-Emplacement-RotMor,Mortar3ROTARYMk1,NULL,NULL,NULL,65
-Emplacement-RotHow,Howitzer03-Rot,NULL,NULL,NULL,66
-AASite-QuadBof,AAGun2Mk1,NULL,NULL,NULL,68
-AASite-QuadMg1,QuadMg1AAGun,NULL,NULL,NULL,69
-Tower-RotMg,MG4ROTARYMk1,NULL,NULL,NULL,73
-Tower-VulcanCan,Cannon4AUTOMk1,NULL,NULL,NULL,74
-Wall-RotMg,MG4ROTARYMk1,NULL,NULL,NULL,75
-AASite-QuadRotMg,QuadRotAAGun,NULL,NULL,NULL,76
-Wall-VulcanCan,Cannon5VulcanMk1,NULL,NULL,NULL,77
-A0BaBaFlameTower,Flame1Mk1,NULL,NULL,NULL,80
-A0BaBaGunTower,BuggyMG,NULL,NULL,NULL,83
-Emplacement-PrisLas,Laser3BEAMMk1,NULL,NULL,NULL,85
-WallTower-PulseLas,Laser3BEAMMk1,NULL,NULL,NULL,87
-WallTower-Rail2,RailGun2Mk1,NULL,NULL,NULL,88
-GuardTower-BeamLas,Laser3BEAMMk1,NULL,NULL,NULL,89
-GuardTower-ATMiss,Missile-A-T,NULL,NULL,NULL,90
-GuardTower-Rail1,RailGun1Mk1,NULL,NULL,NULL,91
-Emplacement-Rail3,RailGun3Mk1,NULL,NULL,NULL,92
-Emplacement-Rocket06-IDF,Rocket-IDF,NULL,NULL,NULL,93
-CO-Tower-MG3,MG3Mk1,NULL,NULL,NULL,94
-CO-Tower-RotMG,MG4ROTARYMk1,NULL,NULL,NULL,95
-CO-Tower-MdCan,Cannon2A-TMk1,NULL,NULL,NULL,96
-CO-WallTower-HvCan,Cannon375mmMk1,NULL,NULL,NULL,97
-CO-WallTower-RotCan,Cannon5VulcanMk1,NULL,NULL,NULL,98
-CO-Tower-HVCan,Cannon4AUTOMk1,NULL,NULL,NULL,99
-CO-Tower-HvFlame,Flame2,NULL,NULL,NULL,100
-CO-Tower-LtATRkt,Rocket-LtA-T,NULL,NULL,NULL,102
-NX-Tower-Rail1,RailGun1Mk1,NULL,NULL,NULL,113
-NX-Tower-ATMiss,Missile-A-T,NULL,NULL,NULL,114
-NX-Tower-PulseLas,Laser2PULSEMk1,NULL,NULL,NULL,115
-NX-WallTower-Rail2,RailGun2Mk1,NULL,NULL,NULL,116
-NX-WallTower-BeamLas,Laser3BEAMMk1,NULL,NULL,NULL,117
-NX-WallTower-Rail3,RailGun3Mk1,NULL,NULL,NULL,118
-NX-Emp-MedArtMiss-Pit,Missile-MdArt,NULL,NULL,NULL,119
-NX-Emp-MultiArtMiss-Pit,Missile-HvyArt,NULL,NULL,NULL,120
-NX-Emp-Plasma-Pit,PlasmaHeavy,NULL,NULL,NULL,121
-P0-AASite-SAM1,Missile-LtSAM,NULL,NULL,NULL,124
-P0-AASite-SAM2,Missile-HvySAM,NULL,NULL,NULL,125
-Emplacement-MRL-pit,Rocket-MRL,NULL,NULL,NULL,127
-GuardTower-RotMg,MG4ROTARYMk1,NULL,NULL,NULL,128
-Emplacement-HvyATrocket,Rocket-HvyA-T,NULL,NULL,NULL,129
-Emplacement-HPVcannon,Cannon4AUTOMk1,NULL,NULL,NULL,130
-Emplacement-PulseLaser,Laser2PULSEMk1,NULL,NULL,NULL,131
-Emplacement-Rail2,RailGun2Mk1,NULL,NULL,NULL,132
-Emplacement-HvART-pit,Missile-HvyArt,NULL,NULL,NULL,133
-WallTower-HvATrocket,Rocket-HvyA-T,NULL,NULL,NULL,134
-WallTower-HPVcannon,Cannon4AUTOMk1,NULL,NULL,NULL,135
-WallTower-Atmiss,Missile-A-T,NULL,NULL,NULL,136
-WallTower-Rail3,RailGun3Mk1,NULL,NULL,NULL,137
-Emplacement-MortarPit02,Mortar2Mk1,NULL,NULL,NULL,139
-Emplacement-MdART-pit,Missile-MdArt,NULL,NULL,NULL,140
-Emplacement-Howitzer150,Howitzer150Mk1,NULL,NULL,NULL,141
-Pillbox-RotMG,MG4ROTARY-Pillbox,NULL,NULL,NULL,142
-Sys-NEXUSLinkTOW,NEXUSlink,NULL,NULL,NULL,143
-CO-Tower-HvATRkt,Rocket-HvyA-T,NULL,NULL,NULL,144
-A0BaBaMortarPit,Mortar1Mk1,NULL,NULL,NULL,146
@@ -11,8 +11,8 @@ file SWEAPON "weapons.ini"
file SSENSOR "sensor.ini"
file SECM "ecm.ini"
file SREPAIR "repair.ini"
-file SSTRUCT "structures.txt"
-file SSTRWEAP "structureweapons.txt"
+file SFUNC "functions.txt"
+file SSTRUCT "structure.ini"
directory "multiplay/script"
file SCRIPT "multilim.slo"
file SCRIPTVAL "multilim.vlo"
View
@@ -23,9 +23,7 @@ file SWEAPMOD "weaponmodifier.ini"
file STEMPL "templates.txt"
file STEMPWEAP "assignweapons.txt"
file SFUNC "functions.txt"
-file SSTRUCT "structures.txt"
-file SSTRFUNC "structurefunctions.txt"
-file SSTRWEAP "structureweapons.txt"
+file SSTRUCT "structure.ini"
file SSTRMOD "structuremodifier.ini"
file SFEAT "features.txt"
directory "messages"
Oops, something went wrong.

0 comments on commit 066ba77

Please sign in to comment.