Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
General bug fixes and stuff.
Personality AL now properly builds whirlwind AA sites when stormbringer AA sites are missing.
Personality AR uses Gauss instead of missiles since that would produce an absurd research time anyway when it researches cannons in the first place.
Moved mini code into it own file.
  • Loading branch information
KJeff01 authored Jun 22, 2017
1 parent 015835d commit fc5a7df
Show file tree
Hide file tree
Showing 15 changed files with 4,755 additions and 4,823 deletions.
43 changes: 26 additions & 17 deletions multiplay/skirmish/Cobra.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@

//This is the main file that brings everything all together.
//Order can be changed except the first two includes.


include("/multiplay/skirmish/cobra_rulesets/CobraStandard.js");
include("/multiplay/skirmish/cobra_includes/globalVariables.js");
include("/multiplay/skirmish/cobra_includes/miscFunctions.js");
include("/multiplay/skirmish/cobra_includes/build.js");
include("/multiplay/skirmish/cobra_includes/production.js");
include("/multiplay/skirmish/cobra_includes/tactics.js");
include("/multiplay/skirmish/cobra_includes/NEXUSIntruderProgram.js");
include("/multiplay/skirmish/cobra_includes/mapDynamics.js");
include("/multiplay/skirmish/cobra_includes/research.js");
include("/multiplay/skirmish/cobra_includes/events.js");
include("/multiplay/skirmish/cobra_includes/chat.js");
include("/multiplay/skirmish/cobra_includes/adaption.js");
//This is the main file that brings everything all together.
//TODO: Make sure ground units do not chase VTOL units if they can not hit them.

//Make this false to reduce performance average/worst times.
const DEVELOPMENT = true;
const COBRA_INCLUDES = "/multiplay/skirmish/cobra_includes/";
const COBRA_RULESETS = "/multiplay/skirmish/cobra_rulesets/";

include(COBRA_RULESETS + "CobraStandard.js");

if(DEVELOPMENT) {
include(COBRA_INCLUDES + "globalVariables.js");
include(COBRA_INCLUDES + "miscFunctions.js");
include(COBRA_INCLUDES + "build.js");
include(COBRA_INCLUDES + "production.js");
include(COBRA_INCLUDES + "tactics.js");
include(COBRA_INCLUDES + "NEXUSIntruderProgram.js");
include(COBRA_INCLUDES + "mapDynamics.js");
include(COBRA_INCLUDES + "research.js");
include(COBRA_INCLUDES + "events.js");
include(COBRA_INCLUDES + "chat.js");
include(COBRA_INCLUDES + "adaption.js");
}
else {
include(COBRA_INCLUDES + "cobraMini.js");
}
14 changes: 7 additions & 7 deletions multiplay/skirmish/Cobra.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"AI": {
"js": "Cobra.js",
"name": "Cobra",
"tip": "Designed for team battles."
}
}
{
"AI": {
"js": "Cobra.js",
"name": "Cobra",
"tip": "Designed for team battles."
}
}
Loading

0 comments on commit fc5a7df

Please sign in to comment.