Jump to content

Stan`

0 A.D. Project Leader
  • Posts

    18709
  • Joined

  • Last visited

  • Days Won

    616

Posts posted by Stan`

  1. I tried to imagine what the latte tavern that was discovered some time ago could look like hence the curved smoke. I remember reading than chairs weren't common pratice so I went for benches. Add that it wasn't originally planned to add a table but without it it lozt the tavern fil. I then added plates mugs and beef horns :)

    • Like 1
  2. Currently only the c++ part has its documentation generated. Since there are some JSDOC comments on the Js part of the code as well I thought it would be nice to generate it as well. I therefore separated the js code (AI, GUI, RMGEN, Components, Globals, Helpers,...) from the public folder of A20 to generate the documentation.

    Documentation was generated with JSDOC 3 using the node.js plugin
     

    Since classes don't have the proper @class tag for now I added in attack.js so you can see what it can look like.

    Here are the Documentation files (Open Index.html) : out.7z

    And here are the files I used for the generation : 0adtest.7z

    During the execution I got the following warnings : The unexpected identifiers ones are deprecated foreach (@elexis if you want to nuke those) and there are some errors with comments.

     

    Spoiler

    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\AlertRaiser.js: Line 43: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\Formation.js: Line 100: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\FormationAttack.js: Line 28: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\Foundation.js: Line 174: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\GarrisonHolder.js: Line 69: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\Guard.js: Line 52: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\GuiInterface.js: Line 753: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\PlayerManager.js: Line 92: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\ProductionQueue.js: Line 320: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\ResourceGatherer.js: Line 96: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\StatisticsTracker.js: Line 205: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\tests\test_UnitAI.js: Line 298: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\Trader.js: Line 48: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\Trigger.js: Line 31: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\TriggerPoint.js: Line 77: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\components\UnitAI.js: Line 4646: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\common\functions_utility.js: Line 39: Unexpected token for
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\common\music.js: Line 111: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\common\timer.js: Line 55: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\manual\manual.js: Line 16: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\savedgames\load.js: Line 22: Unexpected token for
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\savedgames\save.js: Line 34: Unexpected token for
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\session\input.js: Line 222: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\session\unit_actions.js: Line 580: Unexpected identifier
    ERROR: Unable to parse a tag's type expression for source file C:\Users\User\Desktop\0adtest\gui\structree\helper.js with tag title "param" and text "keypath The path to the value to be fetched. "Identity/GenericName"
                   is equivalent to {"Identity":{"GenericName":"FOOBAR"}}": Invalid type expression ""Identity":{"GenericName":"FOOBAR"}": Expected "!", ".", "<", "=", "?", "[]", "|" or end of input but ":" found.
    ERROR: Unable to parse a tag's type expression for source file C:\Users\User\Desktop\0adtest\gui\structree\helper.js with tag title "param" and text "keypath The path to the value to be fetched. "Identity/GenericName"
                   is equivalent to {"Identity":{"GenericName":"FOOBAR"}}": Invalid type expression ""Identity":{"GenericName":"FOOBAR"}": Expected "!", ".", "<", "=", "?", "[]", "|" or end of input but ":" found.
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\gui\structree\structree.js: Line 22: Unexpected token for
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\helpers\Commands.js: Line 769: Unexpected token for
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\helpers\Damage.js: Line 22: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\helpers\FSM.js: Line 168: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\helpers\Setup.js: Line 14: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\helpers\Walls.js: Line 163: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\maps\random\rmgen\map.js: Line 270: Unexpected identifier
    ERROR: Unable to parse C:\Users\User\Desktop\0adtest\maps\random\survivalofthefittest_triggers.js: Line 95: Unexpected identifier
    ERROR: Unable to parse a tag's type expression for source file C:\Users\User\Desktop\0adtest\maps\scripts\TriggerHelper.js with tag title "return" and text "A list of new entities per origin like
    {originId1: [entId1, entId2], originId2: [entId3, entId4], ...}": Invalid type expression "originId1: [entId1, entId2], originId2: [entId3, entId4], ...": Expected "$", "'", ".", "0", "\"", "\\", "_", "break", "case", "catch", "class", "const", "continue", "debugger", "default", "delete", "do", "else", "enum", "export", "extends", "finally", "for", "function", "if", "implements", "import", "in", "instanceof", "interface", "let", "new", "package", "private", "protected", "public", "return", "static", "super", "switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", "yield", Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode titlecase letter, Unicode uppercase letter or [1-9] but " " found.
    ERROR: Unable to parse a tag's type expression for source file C:\Users\User\Desktop\0adtest\maps\scripts\TriggerHelper.js with tag title "return" and text "A list of new entities per origin like
    {originId1: [entId1, entId2], originId2: [entId3, entId4], ...}": Invalid type expression "originId1: [entId1, entId2], originId2: [entId3, entId4], ...": Expected "$", "'", ".", "0", "\"", "\\", "_", "break", "case", "catch", "class", "const", "continue", "debugger", "default", "delete", "do", "else", "enum", "export", "extends", "finally", "for", "function", "if", "implements", "import", "in", "instanceof", "interface", "let", "new", "package", "private", "protected", "public", "return", "static", "super", "switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", "yield", Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode titlecase letter, Unicode uppercase letter or [1-9] but " " found.

     

    • Like 5
  3. Here you go templates actors everything :P

    (The first guy who says I'm not nice enough gets punched :P)

     

     You just have to copy paste the public folder. Don't forget to delete the remaining tavern actors, and, If you can, edit the celt struct so that the cardigan cloth is player color. (Don't have any DDS editor that doesn't screw up everything)

    Gaul_Tavern.zip

    No advanced graphics tho.

    screenshot0002.png

    • Like 6
  4. Prop Points

    Prop Name

    Prop Type

    Prop Point

    Texture

    celt_tavern_shield1

    Drop Prop

    shield1

    celt_props_new.dds

    celt_tavern_shield2

    Drop Prop

    shield2

    celt_props_new.dds

    celt_tavern_shield3

    Drop Prop

    shield3

    celt_props_new.dds

    celt_tavern_shield4

    Standard

    root

    celt_props_new.dds

    celt_tavern_table

    Drop Prop

    table

    Celt_struct

    celt_tavern_table_eyecandy

    Standard

    root of table

    celt_props_new.dds

    celt_tavern_bucket_food

    Drop Prop

    bucket_food

    Celt_struct

    celt_tavern_bucket_water

    Drop Prop

    bucket_water

    Celt_struct

    celt_tavern_barrel1

    Drop Prop

    barrel1

    Celt_struct

    celt_tavern_barrel2

    Drop Prop

    barrel2

    Celt_struct

    Horse

    Drop Prop

    horse

    /\

    Curved Smoke (Included in Zip)

    Standard

    smoke

    /\

    Projectile (If Applicable)

    Standard

    projectile

    /\

     Blendfile + AO attached =)

    Gaul_Tavern.zip

    • Like 1
  5. Some time ago I stumbled against the old model of the tavern for the gauls last updated by Enrique and something was bugging me. I decided to make something that looks more like a tavern IMHO. What do you guys think ? I uploaded a render using the same settings for the old one. For some reason the dds transparency was messed up so I had to tweak it somewhat to make it show player color.

    Gaul_Inn_-_Render4.pngGaul_Tavern_-_Render1.png


     

    • Like 9
×
×
  • Create New...