Changes between Version 126 and Version 127 of FAQ


Ignore:
Timestamp:
Feb 10, 2023, 8:11:48 AM (15 months ago)
Author:
Langbart
Comment:

add a question about printing to the console - modding section

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v126 v127  
    853853  {{{#!tr
    854854    {{{#!th style="border-left:none;text-align:left"
    855 >What to do if I need help?
    856     }}}
    857     {{{#!td style="border-right:none;padding-left:0.5em"
    858 You can ask via IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^, or you might find old threads in the [https://wildfiregames.com/forum/forum/18-game-modification/ Game Modification] subforum answering your questions, otherwise you can create a topic and ask for help there.
    859     }}}
    860   }}}
    861   {{{#!tr
    862     {{{#!th style="border-left:none;text-align:left"
    863 >Can I use the game assets?
    864     }}}
    865     {{{#!td style="border-right:none;padding-left:0.5em"
    866 As long as you abide with the [[Modding_Guide#License|0AD license]].[[BR]]''"0 A.D. is released as open source: you can freely use, copy, modify and distribute the game's source code and data files, as long as you include attribution to Wildfire Games and let anyone freely modify and distribute any of your own modifications to the game's files."''
    867     }}}
    868   }}}
    869   {{{#!tr
    870     {{{#!th style="border-left:none;text-align:left"
    871 >Where to find the source code?
    872     }}}
    873     {{{#!td style="border-right:none;padding-left:0.5em"
    874 See [[BuildInstructions|wiki/BuildInstructions]]
    875 
    876       {{{#!div class="important" style="background: #ffd"
    877   **NOTE:** For autocompletion and notes about implemented functions from the 0ad source code, you can take advantage of the created typescript files from the [https://github.com/nanihadesuka/autociv Autociv] mod.  The notes were made around the `Alpha XXIII - Ken Wood` codebase and are not complete. Simply copy the `.ts` and `tsconfig.json` files from the `src, gui and simulation` folders into your project.
    878       }}}
    879     }}}
    880   }}}
    881   {{{#!tr
    882     {{{#!th style="border-left:none;text-align:left"
    883 >Is there a documentation for editing the XML files of entities?
    884     }}}
    885     {{{#!td style="border-right:none;padding-left:0.5em"
    886 This page lists the components that can be added to entities and the XML syntax for their initialisation data.
    887 * [https://docs.wildfiregames.com/entity-docs/trunk.html docs.wildfiregames.com/entity-docs/trunk.html]
    888     }}}
    889   }}}
    890   {{{#!tr
    891     {{{#!th style="border-left:none;text-align:left"
    892855>Can I add my mod to the in-game download area?
    893856    }}}
     
    898861  - [[Mod_Publishing_Process|wiki/Mod_Publishing_Process]]
    899862  - [[Mod_Verification_Process|wiki/Mod_Verification_Process]]
     863    }}}
     864  }}}
     865  {{{#!tr
     866    {{{#!th style="border-left:none;text-align:left"
     867>What to do if I need help?
     868    }}}
     869    {{{#!td style="border-right:none;padding-left:0.5em"
     870You can ask via IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^, or you might find old threads in the [https://wildfiregames.com/forum/forum/18-game-modification/ Game Modification] subforum answering your questions, otherwise you can create a topic and ask for help there.
     871    }}}
     872  }}}
     873  {{{#!tr
     874    {{{#!th style="border-left:none;text-align:left"
     875>Can I use the game assets?
     876    }}}
     877    {{{#!td style="border-right:none;padding-left:0.5em"
     878As long as you abide with the [[Modding_Guide#License|0AD license]].[[BR]]''"0 A.D. is released as open source: you can freely use, copy, modify and distribute the game's source code and data files, as long as you include attribution to Wildfire Games and let anyone freely modify and distribute any of your own modifications to the game's files."''
     879    }}}
     880  }}}
     881  {{{#!tr
     882    {{{#!th style="border-left:none;text-align:left"
     883>Where to find the source code?
     884    }}}
     885    {{{#!td style="border-right:none;padding-left:0.5em"
     886See [[BuildInstructions|wiki/BuildInstructions]]
     887
     888      {{{#!div class="important" style="background: #ffd"
     889  **NOTE:** For autocompletion and notes about implemented functions from the 0ad source code, you can take advantage of the created typescript files from the [https://github.com/nanihadesuka/autociv Autociv] mod.  The notes were made around the `Alpha XXIII - Ken Wood` codebase and are not complete. Simply copy the `.ts` and `tsconfig.json` files from the `src, gui and simulation` folders into your project.
     890      }}}
     891    }}}
     892  }}}
     893  {{{#!tr
     894    {{{#!th style="border-left:none;text-align:left"
     895>Is there a documentation for editing the XML files of entities?
     896    }}}
     897    {{{#!td style="border-right:none;padding-left:0.5em"
     898This page lists the components that can be added to entities and the XML syntax for their initialisation data.
     899* [https://docs.wildfiregames.com/entity-docs/trunk.html docs.wildfiregames.com/entity-docs/trunk.html]
     900    }}}
     901  }}}
     902  {{{#!tr
     903    {{{#!th style="border-left:none;text-align:left"
     904>How to print to the console when `console.log` does not work?
     905    }}}
     906    {{{#!td style="border-right:none;padding-left:0.5em"
     907See [[Logging#Scripts|wiki/Logging#Scripts]]
    900908    }}}
    901909  }}}