Game thread - http://victorygamecenter.com/forum/view ... p?f=5&t=39
Published mods
Reference
[PC] Planetary Annihilation
Re: Planetary Annihilation
Getting Started
- You'll need to know HTML, CSS, and JavaScript. Here are some good places to learn them: Codecademy, W3Schools, Douglas Crockford's Lectures, JavaScript: The Good Parts, CSS Secrets.
- PA makes extensive use of Knockout, jQuery, and lodash JavaScript libraries. Become familiar with them.
- Work through the superb UI Modding tutorial by cola_colin.
- Exercise 1: Create a server mod that changes bot factory description, and makes it only build tanks. As seen here.
Re: [PC] Planetary Annihilation
Guard your scripts like this, as seen in the Legion Expansion's UI scripts - https://github.com/Legion-Expansion/Leg ... -expansion
Code: Select all
var legionExpansionLoaded;
if (!legionExpansionLoaded) {
legionExpansionLoaded = true;
try {
// do things
} catch (e) {
console.error(e);
console.error(JSON.stringify(e));
}
}