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" |
| 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" |
| 870 | 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. |
| 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" |
| 878 | 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."'' |
| 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" |
| 886 | See [[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" |
| 898 | This 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" |
| 907 | See [[Logging#Scripts|wiki/Logging#Scripts]] |