Releases: dyzqy/EasyController
Pre-Release v1.3.0
What's new in Pre-Release 1.3.0
Added
-
New functions for data class
data.random(min, max)
, which generates a random number between the minimal number and maximum number.data.statueType(team)
, returns the team's statue "skin" name.
-
New functions for util class
util.instaBuild(team)
, the specifiedteam
will instantly build units without having to wait for build cooldown.util.restoreHealth(team/unit)
, theunit
orteam
's units will have their depleted health fully healed.util.passiveHeal(team/unit, amount)
, theunit
orteam
's units will have healed the specifiedamount
(it is the amount of health given every second, but each frame 1/30 of said heal will be given).util.reinforcements()
which interprets reinforcements once your statue reaches a specific point of health.util.changeStatue(team, name)
, modifies specifiedteam
's statue toname
.util.changeMusic(name)
, replaces currently played music withname
.util.garrison(unit)
, sends aunit
to garrison.util.ungarrison(unit)
, ungarrisons a previously garrisoned unit.util.disableFinishers()
orutil.disableDuels()
, disables finishers for both teams.
Fixed, Updated or Removed
Fixed
- Error where
put-together.bat file
would add text instead of replacing it inside EasyController_Installer folder. Other\version.txt
incorrect version.- Deleted Template.as as it wasn't being used in the programming process.
data.isTime()
now works even when the game is on 2x(Fast Forward) speed.
Updated
util.setLevelType(type)
to includeReverse Ambush
.util.summonUnit()
now supports aseplayer custom units method.data.isTime(time, doafter)
, to includedoafter
paramater, so that if the game's time is bigger than the inputedtime
, it will continue to run the code(this is especially useful for).
Removed
- removed
util.winCondition()
. - removed
util.challenge()
. - removed
util.revive()
. - removed
data.unitData()
.
Templates
Template campaignTutorial.as
is more like a template than a tutorial.
Release v1.2.0
What's new
Added
- New function for util class,
util.registerUnit(unit/units, team)
. Running this function allows you to register units from other empires, allowing you to use that unit in a seperate empire.- For example, you can have juggerknights in the Order Empire & charrogs in the Chaos Empire. (Registering elemental units is only possible in the SE engine! Otherwise attempting to add them would crash your game)
- Added new template controller,
CampaignBomber.as
, which contains some instructions about using the new register function.
- Double saving for
put-together.bat
, it now saves CampaignController.as toOther\
& Installer directory. - Updated
Templates\CampaignArcher.as
to contain comments about instructions and ways to use EasyController. - Added
isGlobalsEnabled = false
tocleanUp()
&postCleanUp()
inCutScene.as
class. It allows/prevents you from being able to use Globals(Attack, Defend, Garrison) buttons.
Fixed
- Deleted
Extra.as
off repository, as it is just the oldCutScene.as
before being renamed.
31/12/2023
- EasyController Installer fixed, wrong CampaignController.as file inside.
Release v1.1.0
I am finally releasing this, a i have been working on for 5 months! If you encounter any bugs, please consider opening a bug report about it or sending me a message on discord, my username is dyzqy
. Have fun with your shinanigans :D
How to install into mod
For this to work, you must have a version of JPEXS Lower than v19.0.0(Manual Way only).
Be warned, EC may corrupt your swf or break it.
Installer
Install the zip file called EasyController_Installer.zip
and extract it, inside the given folder there should be a .bat file called install
, Drag the SWF file on top it, and it will make a copy of the SWF with -EC, and it should be installed on your SWF now.
Manual Install
Download the CampaignController.as file linked below, and enter the SWF with your application, after doing so, go to the CampaignController
class inside com.brockw.stickwar.campaign.controllers
, click edit and delete everything inside it.
After doing so, do not save yet; Open the file you downloaded(CampaignController.as) and copy everything, after copying everything, return back to your application and paste the text. After doing that, click save. Good Job! Now you should have EasyController
installed inside your mod!