Advertisement
Archon

Dawn of Man core data

Nov 2nd, 2014
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 13.61 KB | None | 0 0
  1. resource{name = "food";}
  2. resource{name = "wood";}
  3. resource{name = "stone";}
  4. resource{name = "metal";}
  5.  
  6. #entity types; index numbers MUST increment for each type.
  7.  
  8. buildingType{
  9.    name = "Cave";
  10.    index = 0;
  11.    
  12.    drawRect.x = -72;
  13.    drawRect.y = -54;
  14.    drawRect.w = 140;
  15.    drawRect.h = 70;
  16.    
  17.    baseRect.x = -72;
  18.    baseRect.y = -14;
  19.    baseRect.w = 140;
  20.    baseRect.h = 20;
  21.    
  22.    selectionCenter.x = 15;
  23.    selectionCenter.y = -16;
  24.    
  25.    cost.stone = 50;
  26.    
  27.    prereqTech = 17;
  28.    maxHealth = 2000;
  29.    progressCost = 4000;
  30.    soundFile = "cave.wav";
  31.    deathSoundFile = "destroy.wav";
  32. }
  33. buildingType{
  34.    name = "Armory";
  35.    index = 1;
  36.    
  37.    drawRect.x = -56;
  38.    drawRect.y = -52;
  39.    drawRect.w = 115;
  40.    drawRect.h = 60;
  41.    
  42.    baseRect.x = -56;
  43.    baseRect.y = -9;
  44.    baseRect.w = 115;
  45.    baseRect.h = 17;
  46.    
  47.    selectionCenter.x = -1;
  48.    selectionCenter.y = -16;
  49.    
  50.    cost.wood = 30;
  51.    
  52.    maxHealth = 1000;
  53.    progressCost = 1750;
  54.    soundFile = "armory.wav";
  55.    deathSoundFile = "destroy.wav";
  56. }
  57. buildingType{
  58.    name = "Storage";
  59.    index = 2;
  60.    
  61.    drawRect.x = -52;
  62.    drawRect.y = -52;
  63.    drawRect.w = 104;
  64.    drawRect.h = 104;
  65.    
  66.    baseRect.x = -52;
  67.    baseRect.y = -52;
  68.    baseRect.w = 104;
  69.    baseRect.h = 104;
  70.    
  71.    cost.wood = 20;
  72.    cost.food = 10;
  73.    
  74.    maxHealth = 1000;
  75.    progressCost = 1750;
  76.    soundFile = "storage.wav";
  77.    deathSoundFile = "destroy.wav";
  78. }
  79. buildingType{
  80.    name = "Training Grounds";
  81.    index = 3;
  82.    
  83.    drawRect.x = -80;
  84.    drawRect.y = -83;
  85.    drawRect.w = 163;
  86.    drawRect.h = 107;
  87.    
  88.    baseRect.x = -80;
  89.    baseRect.y = -24;
  90.    baseRect.w = 163;
  91.    baseRect.h = 48;
  92.  
  93.    selectionCenter.y = -25;
  94.    
  95.    cost.wood = 20;
  96.    cost.food = 30;
  97.    
  98.    maxHealth = 1000;
  99.    progressCost = 1750;
  100.    prereqBuilding = 1;
  101.    soundFile = "trainingGrounds.wav";
  102.    deathSoundFile = "destroy.wav";
  103.    military = true;
  104. }
  105. buildingType{
  106.    name = "Shrine";
  107.    index = 4;
  108.  
  109.    drawRect.x = -75;
  110.    drawRect.y = -67;
  111.    drawRect.w = 152;
  112.    drawRect.h = 77;
  113.  
  114.    baseRect.x = -76;
  115.    baseRect.y = -17;
  116.    baseRect.w = 154;
  117.    baseRect.h = 28;
  118.  
  119.    selectionCenter.x = 1;
  120.    selectionCenter.y = -20;
  121.  
  122.    cost.wood = 20;
  123.    cost.stone = 40;
  124.  
  125.    prereqTech = 5;
  126.    maxHealth = 1000;
  127.    progressCost = 3500;
  128.    prereqBuilding = 0;
  129.    soundFile = "shrine.wav";
  130.    deathSoundFile = "destroy.wav";
  131. }
  132. buildingType{
  133.    name = "Campfire";
  134.    index = 5;
  135.  
  136.    drawRect.x = -41;
  137.    drawRect.y = -91;
  138.    drawRect.w = 79;
  139.    drawRect.h = 111;
  140.  
  141.    baseRect.x = -42;
  142.    baseRect.y = -23;
  143.    baseRect.w = 81;
  144.    baseRect.h = 42;
  145.  
  146.    selectionCenter.x = 2;
  147.    selectionCenter.y = -37;
  148.  
  149.    cost.wood = 20;
  150.    cost.stone = 10;
  151.  
  152.    prereqTech = 14;
  153.    maxHealth = 2500;
  154.    progressCost = 1750;
  155.    soundFile = "fire.wav";
  156.    deathSoundFile = "destroy.wav";
  157. }
  158.  
  159. decorationType{
  160.    name = "Rock";
  161.    index = 0;
  162.    
  163.    drawRect.x = -11;
  164.    drawRect.y = -8;
  165.    drawRect.w = 22;
  166.    drawRect.h = 16;
  167.  
  168.    baseRect.x = -11;
  169.    baseRect.y = -8;
  170.    baseRect.w = 22;
  171.    baseRect.h = 16;
  172.    
  173.    color = 4;
  174. }
  175. decorationType{
  176.    name = "Skeleton";
  177.    index = 1;
  178.    
  179.    drawRect.x = -10;
  180.    drawRect.y = -77;
  181.    drawRect.w = 32;
  182.    drawRect.h = 41;
  183.  
  184.    baseRect.x = -10;
  185.    baseRect.y = -77;
  186.    baseRect.w = 32;
  187.    baseRect.h = 41;
  188.    
  189.    color = 5;
  190. }
  191.  
  192. unitType{
  193.    name = "Caveman";
  194.    index = 0;
  195.    
  196.    drawRect.x = -22;
  197.    drawRect.y = -124;
  198.    drawRect.w = 105;
  199.    drawRect.h = 133;
  200.  
  201.    baseRect.x = -20;
  202.    baseRect.y = -8;
  203.    baseRect.w = 48;
  204.    baseRect.h = 15;
  205.  
  206.    selectionCenter.x = 3;
  207.    selectionCenter.y = -50;
  208.  
  209.    cost.food = 10;
  210.  
  211.    speed = 8;
  212.    maxFrameCounter = 25;
  213.    frameCount = 8;
  214.    maxCombatFrameCounter = 10;
  215.    combatFrameCount = 4;
  216.    combatWait = 25;
  217.    maxHealth = 25;
  218.    attack = 5;
  219.    builder = true;
  220.    gatherer = true;
  221.    originBuilding = 0;
  222.    progressCost = 1000;
  223.    autoAttack = false;
  224.    decorationAtDeath = 1;
  225.    soundFile = "cavemanSelect.wav";
  226.    deathSoundFile = "death.wav";
  227.    hitSoundFile = "cavemanAttack.wav";
  228. }
  229. unitType{
  230.    name = "Warrior";
  231.    index = 1;
  232.    
  233.    drawRect.x = -22;
  234.    drawRect.y = -124;
  235.    drawRect.w = 105;
  236.    drawRect.h = 133;
  237.  
  238.    baseRect.x = -20;
  239.    baseRect.y = -8;
  240.    baseRect.w = 48;
  241.    baseRect.h = 15;
  242.  
  243.    selectionCenter.x = 3;
  244.    selectionCenter.y = -50;
  245.  
  246.    cost.food = 10;
  247.    cost.wood = 5;
  248.  
  249.    speed = 8;
  250.    maxFrameCounter = 25;
  251.    frameCount = 8;
  252.    maxCombatFrameCounter = 10;
  253.    combatFrameCount = 4;
  254.    combatWait = 21;
  255.    maxHealth = 40;
  256.    attack = 10;
  257.    originBuilding = 3;
  258.    prereqTech = 0;
  259.    progressCost = 1200;
  260.    decorationAtDeath = 1;
  261.    soundFile = "warriorSelect.wav";
  262.    deathSoundFile = "death.wav";
  263.    hitSoundFile = "warriorAttack.wav";
  264. }
  265. unitType{
  266.    name = "Clubman";
  267.    index = 2;
  268.    
  269.    drawRect.x = -22;
  270.    drawRect.y = -124;
  271.    drawRect.w = 105;
  272.    drawRect.h = 133;
  273.  
  274.    baseRect.x = -20;
  275.    baseRect.y = -8;
  276.    baseRect.w = 48;
  277.    baseRect.h = 15;
  278.  
  279.    selectionCenter.x = 3;
  280.    selectionCenter.y = -50;
  281.  
  282.    cost.food = 15;
  283.    cost.wood = 10;
  284.  
  285.    speed = 8;
  286.    maxFrameCounter = 25;
  287.    frameCount = 8;
  288.    maxCombatFrameCounter = 10;
  289.    combatFrameCount = 4;
  290.    combatWait = 17;
  291.    maxHealth = 50;
  292.    attack = 12;
  293.    armor = 2;
  294.    originBuilding = 3;
  295.    prereqTech = 1;
  296.    progressCost = 1400;
  297.    decorationAtDeath = 1;
  298.    soundFile = "warriorSelect.wav";
  299.    deathSoundFile = "death.wav";
  300.    hitSoundFile = "clubmanAttack.wav";
  301. }
  302. unitType{
  303.    name = "Axeman";
  304.    index = 3;
  305.    
  306.    drawRect.x = -22;
  307.    drawRect.y = -124;
  308.    drawRect.w = 105;
  309.    drawRect.h = 133;
  310.  
  311.    baseRect.x = -20;
  312.    baseRect.y = -8;
  313.    baseRect.w = 48;
  314.    baseRect.h = 15;
  315.  
  316.    selectionCenter.x = 3;
  317.    selectionCenter.y = -50;
  318.  
  319.    cost.food = 20;
  320.    cost.stone = 10;
  321.  
  322.    speed = 8;
  323.    maxFrameCounter = 25;
  324.    frameCount = 8;
  325.    maxCombatFrameCounter = 10;
  326.    combatFrameCount = 4;
  327.    combatWait = 13;
  328.    maxHealth = 60;
  329.    attack = 15;
  330.    armor = 4;
  331.    originBuilding = 3;
  332.    prereqTech = 2;
  333.    progressCost = 1600;
  334.    decorationAtDeath = 1;
  335.    soundFile = "warriorSelect.wav";
  336.    deathSoundFile = "death.wav";
  337.    hitSoundFile = "clubmanAttack.wav";
  338. }
  339. unitType{
  340.    name = "Swordsman";
  341.    index = 4;
  342.    
  343.    drawRect.x = -22;
  344.    drawRect.y = -124;
  345.    drawRect.w = 105;
  346.    drawRect.h = 133;
  347.  
  348.    baseRect.x = -20;
  349.    baseRect.y = -8;
  350.    baseRect.w = 48;
  351.    baseRect.h = 15;
  352.  
  353.    selectionCenter.x = 3;
  354.    selectionCenter.y = -50;
  355.  
  356.    cost.food = 20;
  357.    cost.metal = 5;
  358.  
  359.    speed = 8;
  360.    maxFrameCounter = 25;
  361.    frameCount = 8;
  362.    maxCombatFrameCounter = 10;
  363.    combatFrameCount = 4;
  364.    combatWait = 9;
  365.    maxHealth = 75;
  366.    attack = 20;
  367.    armor = 8;
  368.    originBuilding = 3;
  369.    prereqTech = 3;
  370.    progressCost = 2500;
  371.    decorationAtDeath = 1;
  372.    soundFile = "warriorSelect.wav";
  373.    deathSoundFile = "death.wav";
  374.    hitSoundFile = "swordAttack.wav";
  375. }
  376. unitType{
  377.    name = "Deer";
  378.    index = 5;
  379.    
  380.    drawRect.x = -132;
  381.    drawRect.y = -155;
  382.    drawRect.w = 235;
  383.    drawRect.h = 165;
  384.  
  385.    baseRect.x = -67;
  386.    baseRect.y = -52;
  387.    baseRect.w = 139;
  388.    baseRect.h = 82;
  389.  
  390.    selectionCenter.x = 29;
  391.    selectionCenter.y = -64;
  392.  
  393.    speed = 14;
  394.    maxFrameCounter = 17;
  395.    frameCount = 8;
  396.    maxCombatFrameCounter = 13;
  397.    combatFrameCount = 4;
  398.    combatWait = 5;
  399.    maxHealth = 40;
  400.    attack = 15;
  401.    resourceAtDeath = 1;
  402.    autoAttack = false;
  403.    deathSoundFile = "deerDeath.wav";
  404.    hitSoundFile = "deerAttack.wav";
  405. }
  406. unitType{
  407.    name = "Visitor";
  408.    index = 6;
  409.    
  410.    drawRect.x = -73;
  411.    drawRect.y = -132;
  412.    drawRect.w = 147;
  413.    drawRect.h = 38;
  414.  
  415.    baseRect.x = -73;
  416.    baseRect.y = -22;
  417.    baseRect.w = 147;
  418.    baseRect.h = 38;
  419.  
  420.    speed = 6;
  421.    maxFrameCounter = 1;
  422.    frameCount = 1;
  423.    maxCombatFrameCounter = 30;
  424.    combatFrameCount = 1;
  425.    combatWait = 30;
  426.    maxHealth = 400;
  427.    attack = 60;
  428.    autoAttack = true;
  429.    deathSoundFile = "destroy.wav";
  430.    hitSoundFile = "destroy.wav";
  431. }
  432. resourceNodeType{
  433.    name = "Tree";
  434.    index = 0;
  435.  
  436.    drawRect.x = -56;
  437.    drawRect.y = -132;
  438.    drawRect.w = 114;
  439.    drawRect.h = 133;
  440.  
  441.    baseRect.x = -17;
  442.    baseRect.y = -5;
  443.    baseRect.w = 34;
  444.    baseRect.h = 12;
  445.  
  446.    selectionCenter.x = 2;
  447.    selectionCenter.y = -78;
  448.  
  449.    maxResources.wood = 50;
  450.    yield.wood = 3;
  451.    
  452.    color = 7;
  453. }
  454. resourceNodeType{
  455.    name = "Dead Deer";
  456.    index = 1;
  457.  
  458.    drawRect.x = -110;
  459.    drawRect.y = -112;
  460.    drawRect.w = 219;
  461.    drawRect.h = 141;
  462.  
  463.    baseRect.x = -67;
  464.    baseRect.y = -52;
  465.    baseRect.w = 139;
  466.    baseRect.h = 82;
  467.  
  468.    selectionCenter.x = -19;
  469.    selectionCenter.y = -32;
  470.  
  471.    maxResources.food = 80;
  472.    yield.food = 3;
  473.    
  474.    color = 6;
  475. }
  476. resourceNodeType{
  477.    name = "Forage Bush";
  478.    index = 2;
  479.  
  480.    drawRect.x = -16;
  481.    drawRect.y = -24;
  482.    drawRect.w = 33;
  483.    drawRect.h = 26;
  484.  
  485.    baseRect.x = -10;
  486.    baseRect.y = -4;
  487.    baseRect.w = 20;
  488.    baseRect.h = 8;
  489.  
  490.    selectionCenter.y = -14;
  491.  
  492.    maxResources.wood = 5;
  493.    maxResources.food = 15;
  494.    yield.wood = 1;
  495.    yield.food = 1;
  496.    
  497.    color = 7;
  498. }
  499. resourceNodeType{
  500.    name = "Stone Pile";
  501.    index = 3;
  502.  
  503.    drawRect.x = -33;
  504.    drawRect.y = -46;
  505.    drawRect.w = 69;
  506.    drawRect.h = 55;
  507.  
  508.    baseRect.x = -33;
  509.    baseRect.y = -8;
  510.    baseRect.w = 69;
  511.    baseRect.h = 16;
  512.  
  513.    selectionCenter.x = -3;
  514.    selectionCenter.y = -18;
  515.  
  516.    maxResources.stone = 40;
  517.    maxResources.metal = 2;
  518.    yield.stone = 3;
  519.    yield.metal = 1;
  520.    
  521.    color = 8;
  522. }
  523. resourceNodeType{
  524.    name = "Copper Deposit";
  525.    index = 4;
  526.  
  527.    drawRect.x = -33;
  528.    drawRect.y = -46;
  529.    drawRect.w = 69;
  530.    drawRect.h = 55;
  531.  
  532.    baseRect.x = -33;
  533.    baseRect.y = -8;
  534.    baseRect.w = 69;
  535.    baseRect.h = 16;
  536.  
  537.    selectionCenter.x = -3;
  538.    selectionCenter.y = -18;
  539.  
  540.    maxResources.metal = 20;
  541.    maxResources.stone = 10;
  542.    yield.stone = 1;
  543.    yield.metal = 2;
  544.    
  545.    color = 9;
  546. }
  547. technology{
  548.    name = "Weapons";
  549.    index = 0;
  550.    description = "Higher unit attack";
  551.    bonus.unitAttack = 1;
  552.    originBuilding = 1;
  553.    cost.wood = 20;
  554. }
  555. technology{
  556.    name = "Heavy Weapons";
  557.    index = 1;
  558.    description = "Higher unit attack";
  559.    bonus.unitAttack = 2;
  560.    originBuilding = 1;
  561.    cost.stone = 10;
  562.    cost.wood = 25;
  563.    prereqTech = 0;
  564. }
  565. technology{
  566.    name = "Sharp Weapons";
  567.    index = 2;
  568.    description = "Higher unit attack";
  569.    bonus.unitAttack = 4;
  570.    originBuilding = 1;
  571.    cost.stone = 40;
  572.    cost.wood = 25;
  573.    prereqTech = 1;
  574. }
  575. technology{
  576.    name = "Copper Weapons";
  577.    index = 3;
  578.    description = "Higher unit attack";
  579.    bonus.unitAttack = 8;
  580.    originBuilding = 1;
  581.    cost.wood = 25;
  582.    cost.metal = 10;
  583.    prereqTech = 2;
  584.    prereqTech2 = 15;
  585. }
  586. technology{
  587.    name = "Wooden Tools";
  588.    index = 4;
  589.    description = "Faster gathering";
  590.    bonus.gathering.food = 1;
  591.    bonus.gathering.wood = 1;
  592.    bonus.gathering.stone = 1;
  593.    bonus.gathering.metal = 1;
  594.    originBuilding = 2;
  595.    cost.wood = 20;
  596. }
  597. technology{
  598.    name = "Stone Tools";
  599.    index = 5;
  600.    description = "Faster building construction";
  601.    bonus.buildingSpeed = 40;
  602.    originBuilding = 2;
  603.    cost.stone = 20;
  604.    prereqTech = 4;
  605. }
  606. technology{
  607.    name = "Sharpened Stones";
  608.    index = 6;
  609.    description = "Faster gathering";
  610.    bonus.gathering.food = 2;
  611.    bonus.gathering.wood = 2;
  612.    bonus.gathering.stone = 2;
  613.    bonus.gathering.metal = 2;
  614.    originBuilding = 2;
  615.    cost.stone = 30;
  616.    prereqTech = 5;
  617. }
  618. technology{
  619.    name = "Copper Tools";
  620.    index = 7;
  621.    description = "Faster unit training";
  622.    bonus.trainingSpeed = 4;
  623.    originBuilding = 2;
  624.    cost.metal = 10;
  625.    prereqTech = 6;
  626.    prereqTech2 = 15;
  627. }
  628. technology{
  629.    name = "Salt";
  630.    index = 8;
  631.    description = "Better food gathering";
  632.    bonus.gathering.food = 2;
  633.    originBuilding = 2;
  634.    cost.food = 20;
  635.    cost.stone = 5;
  636. }
  637. technology{
  638.    name = "Leather";
  639.    index = 9;
  640.    description = "Higher unit armor";
  641.    bonus.unitArmor = 2;
  642.    originBuilding = 2;
  643.    cost.food = 30;
  644.    prereqTech = 8;
  645. }
  646. technology{
  647.    name = "Masonry";
  648.    index = 10;
  649.    description = "Higher buiding armor";
  650.    bonus.buildingArmor = 4;
  651.    originBuilding = 2;
  652.    cost.wood = 30;
  653.    cost.stone = 40;
  654.    prereqTech = 5;
  655. }
  656. technology{
  657.    name = "Faith";
  658.    index = 11;
  659.    description = "Higher unit health";
  660.    bonus.unitHealth = 25;
  661.    originBuilding = 4;
  662.    cost.food = 20;
  663. }
  664. technology{
  665.    name = "Fervor";
  666.    index = 12;
  667.    description = "Faster units";
  668.    bonus.unitSpeed = 4;
  669.    originBuilding = 4;
  670.    cost.food = 30;
  671.    cost.metal = 5;
  672.    prereqTech = 11;
  673. }
  674. technology{
  675.    name = "Nature Worship";
  676.    index = 13;
  677.    description = "Better wood gathering";
  678.    bonus.gatehring.wood = 2;
  679.    originBuilding = 4;
  680.    cost.wood = 30;
  681. }
  682. technology{
  683.    name = "Fire";
  684.    index = 14;
  685.    description = "Higher unit health";
  686.    bonus.unitHealth = 25;
  687.    originBuilding = 4;
  688.    cost.stone = 5;
  689.    cost.wood = 50;
  690.    prereqTech = 13;
  691. }
  692. technology{
  693.    name = "Smelting";
  694.    index = 15;
  695.    description = "Allows copper technologies";
  696.    originBuilding = 5;
  697.    cost.wood = 50;
  698.    cost.metal = 20;
  699. }
  700. technology{
  701.    name = "Cooking";
  702.    index = 16;
  703.    description = "Higher unit health";
  704.    bonus.unitHealth = 50;
  705.    originBuilding = 5;
  706.    cost.wood = 30;
  707.    cost.food = 20;
  708. }
  709. technology{
  710.    name = "Expansion";
  711.    index = 17;
  712.    description = "Allows cave construction";
  713.    originBuilding = 5;
  714.    cost.food = 40;
  715.    cost.metal = 10;
  716. }
  717.  
  718. ;   any text below is ignored
  719.  
  720. 0: default
  721. 1: dark shadow
  722. 2: light shadow
  723. 3: black
  724. 4: decoration
  725. 5: corpse
  726. 6: food
  727. 7: wood
  728. 8: stone
  729. 9: metal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement