Help:Crysis Modding Code Samples
From CryWiki
Contents |
About this Section
The Crysis Modding Code Samples section is one giant repository of community-submitted samples from various code languages used in Crysis map and mod making. These languages include:
- Flowgraphs used in the Sandbox2 Flowgraph Editor
- C++ used in the Crysis SDK Game Dll
- Lua used in Crysis scripting
- Flash Actionscript used in Crysis User Interface production
This repository grows daily with new samples submitted by the community. It is a great place to learn new ways of utilizing systems like the Flowgraph Editor or learning the ins-and-outs of code bases like the Crysis SDK Game Dll. Some samples may even have the actual source or Graph XML files available for download, lending the repository to be useful for finding new functionality to include in your own map or mod!
Of course, it goes without saying that the repository will fail without community involvement. Please, submit your own samples to the repository if you have any lying around. How to do this will be explained further down.
Browsing the Repository
There are four main categories in this repository, one for each language. On the main page, you will find links to the categories either beside their descriptions or below their icons. Navigate into the category of the language you would like to explore by clicking on its link.
After the category's page loads, all of the submitted samples for that category will appear at the bottom of the page. The samples are alphabetized by name. You can also use the Search function present on the page to quickly find samples that contain keywords.
Submitting a Sample
Submitting a sample is very easy. Following the instructions listed above in Browsing the Repository, navigate into the category of the language for which you would like to submit a sample. After the category's page loads, you will see a box at the top of the screen that looks similar to this:
To make a contribution, enter the name of your sample below and select Add. |
| UNIQ4d220285585eb0d2-inputbox-00000001-QINU |
Type in the name of your sample here and select the Add button. A page will automatically be created using your given name. Furthermore, the contents of the page will automatically be filled in with a template form for the given language. All samples must follow this template form, as it gives a uniform look to the repository. It also makes it very easy for you to showcase your sample!
The template form contains many arguments that you must answer. Instructions will be displayed at the top of the page and before each argument, telling you what information you need to fill in for each argument. If you do not have anything to put for an argument, leave it blank! After you have answered all related arguments, select the Save page button at the bottom. Your sample page will automatically be created and added to the category listing! At any time, you may edit the page as normal to update it with new information or use its talk page to discuss the sample and ask/answer any questions. Thanks for the submission!
