Jump to content

Silier

WFG Retired
  • Posts

    1.265
  • Joined

  • Days Won

    9

Everything posted by Silier

  1. Silier

    script

    "TriggerScripts": [ "scripts/TriggerHelper.js", "skirmishes/YourTrigger.js", <-- this includes script to your map, path is relative to public/maps ], In the script file, for example "YourTrigger.js" there need to be following section { let cmpTrigger = Engine.QueryInterface(SYSTEM_ENTITY, IID_Trigger); cmpTrigger.DoAfterDelay(time, "nameOfFunction", {/*parameters*/}); <- if you want to trigger function with time delay cmpTrigger.RegisterTrigger("OnInitGame", "InitFunction", { "enabled": true }) <- I would prefer this one } In InitFunction you can bind more triggers You define any function in your trigger file with Trigger.prototype.nameOfFunction Trigger.prototype.InitFunction = function() { this.RegisterTrigger("OnOwnershipChanged", "MyOwnershipChange", { "enabled": true }); <- bind to whatever On event // or call any custom function in Trigger } To give commands to entities use ProcessCommand function ProcessCommand(playerID, anyCommandInJsonForm); It is good to look into TriggerHelper file to see defined functions you can already use.
  2. https://trac.wildfiregames.com/ticket/5269 I am not sure if there is something on phabricator.
  3. that is for moding only. It was not used in game. If you want to use it, you need to edit some structure template and add <AutoBuild> <Rate>1</Rate> </AutoBuild>
  4. Silier

    WARNING

    Fixed in rP23515
  5. Silier

    WARNING

    Hi @gameboy, thats issue of the map, I suggest you to nott play it with conquest units and conquest as you will not be able to win because enemy will have some units you cannot reach or you will not have some starting units. Someone created it as squared and then set circular option so there are placed entities at places that cannot be reached in game. It was problem with loading map data where map was always loaded as circular. Will be fixed by @elexis.
  6. If you know someone to have multiple accounts, report him. Rule is clear and applies to everyone: Only create one account per person on the service unless authorized by Wildfire Games From searching history on forum, unauthorized accounts have been deleted and users were asked to use their first account after ban expired. One is not allowed to create new account just because the current one is banned. If it was allowed ban is useless. I do not think, that given ban is permanent, but every break of rules prolongs current ban. Keep in mind there exists bot that will ban anyone using bad language in chat.
  7. Hi, arctic wolf has a tiny issue with texturing. If someone could fix it, it would be great Thanks
  8. i am sorry but i cannot to fix this, i am working on something else right now and i do not have time to investigate this issue. you would need to wait for vladislav, he already knows what is the problem, he just needs to find more time, please be patient
  9. Hello @lekkerstryd, welcome on the forum Can you please tell us when exactly crash happens ? Can you see menu, create match ? Do you play match and it crashes while you play ? Does it happen in singleplayer or multiplayer? It would be very helpful if you could post here logs after the crash occurs. See https://trac.wildfiregames.com/wiki/GameDataPaths to locate the files. Regards Angen
  10. There are fruit trees in the game (dont remember map)
  11. Hello @Antonio_vazquez, we appreciate your interest and we look forward to see your contribution. As asterix said, it is better if you start in part you are interested in. Anything (or most part) about game simulation and whole ai is written in javascript, which communicates with engine written in c++ using global/direct messages or functions defined for it. Engine takes care about anything else, like drawing graphics, computing turns, broadcasting messages to entities, checking obstructions, unit movement, it stores all components and entities and so on. every entity in the game has its components, which are separate and every component takes care for specific logic and stores variables if needed (health, attack, unitai, ...) entity itself is defined in template file using xml syntax and components. then there is code in javascript related to session, grouped in gui folder ,it gets data to be displayed, decides if some icon should be red, grayedout, what will happen after some clicking on it (and other codes, for example what will happen when someone clicks to unit, ...) anything visual is located in art folder, where are actor files, they define how given entity will look, which animations will be played, of course given actor file needs to be bound with game entity in its template. If you find any ticket here is list with keyword simple (https://trac.wildfiregames.com/query?status=assigned&status=new&status=reopened&keywords=~simple&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority) you think you are interested in and you have doubts if it is still valid or free, feel free to leave comment there or visit (what is recommended for faster communication) https://webchat.quakenet.org/?channels=0ad-dev there should be almost anytime (well, timezones) someone able to help you. Wish you good times with coding. Regards Angen
  12. Hello @TEBO, we are sorry for encountered inconvenience caused by this bug, please follow instructions below. Looking at your specs, you have intel, not sure if intel is your graphic card too, but thats more likely true, as this behavior was seen on this specific family of graphic card and it looks like bug in drivers for that graphic cards. We did our best to eliminate this kind of bug in next release. If you can, we advice you to update your graphic drivers. If you have 2 graphic cards (nvidia for example) you can force application to use nvidia instead intel as this bug was not seen on games running with nvidia. If any of above solutions cannot be done or does not help for any reason,, or you do not want to apply them (feel free to reject) there is third option, but you loose some nicer look of game. please open options -> graphics -> disable postprocessing, if that does not help disable glsl too. Please let us know if your problem is solved. Have a nice day Regards Angen
  13. I dont know to tell more, to be exact it was for privacy concerns. @Itmswould be maybe able to tell more but I think it was around time gdpr came out.
  14. Hello @Zeldt, translation is done here https://www.transifex.com/wildfire-games/0ad/. You need to find ukrainian translating team and join it in order to be able to translate that language. These translations are pulled into the development version of the game https://trac.wildfiregames.com/wiki/BuildInstructions, and bundled with release of the game when enough strings have been translated. You are not required to have development version of the game to help with translation, but you will not see changes ingame. If you have any questions, feel free to ask.
  15. It was refused to have official discord channel because problems with discord`s privacy policy.
  16. Silier

    WARNING

    Thank you for report
  17. You should not be able to upgrade that tower owned by gaia. Fixed in https://code.wildfiregames.com/rP23468.
  18. Fixed in https://code.wildfiregames.com/rP23467
  19. thats another problem actually, but i ll after that one
  20. hi @gameboy thank you for report. I ll take look tonight. Did you capture enemy tower and tried to upgrade it ?
  21. Silier

    WARNING

    hi @gameboy, can you post replay please ?
  22. Can you post in what step it is not working for you ? Or how far did you manage to get ?
  23. Formation members not getting rotation correctly fixed here https://code.wildfiregames.com/rP23248 (more precise version https://code.wildfiregames.com/rP23346) Formation members not getting correct animation variant when moving fixed here https://code.wildfiregames.com/rP23233 Would need that one too https://code.wildfiregames.com/D2471
×
×
  • Create New...