Editing Special Moves
Editing Special Moves
How do I edit special moves? There's almost nothing about them in the TechTree.
For example, how do I give a hero someone elses move, or make it so that sacrificial moves are performed on enemy units, or edit ranges of special moves? Things like that.
What I specifically wanted to do was give CEP Miyagi the special move/icon of MIRAGE Miyagi.
For example, how do I give a hero someone elses move, or make it so that sacrificial moves are performed on enemy units, or edit ranges of special moves? Things like that.
What I specifically wanted to do was give CEP Miyagi the special move/icon of MIRAGE Miyagi.
- AnthonyCole
- - Admin -
- Posts: 2134
- Joined: Sat Apr 18, 2009 13:17 pm
Re: Editing Special Moves
I think you need to look through the Task USLs
\PW\Data\CEP\Scripts\Server\classes\task
Btw, what special moves to Tarna, Trader and Miyagi have in CEP again?
Resurrect, Twins, Sacrifice? Why arent there USLs for Twins and Sacrifice?
\PW\Data\CEP\Scripts\Server\classes\task
Btw, what special moves to Tarna, Trader and Miyagi have in CEP again?
Resurrect, Twins, Sacrifice? Why arent there USLs for Twins and Sacrifice?
I've never seen code like this.
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
Re: Editing Special Moves
trueAnthonyCole wrote:Btw, what special moves to Tarna, Trader and Miyagi have in CEP again?
Resurrect, Twins, Sacrifice?
Miyagi uses Kleemann's sacrifice (the original script) which is located in (i assume) MayorSpecialMove.usl, the Twins ability doesn't have a standalone task class, its basically a simple procedureAnthonyCole wrote:Why arent there USLs for Twins and Sacrifice?
The Dustriders are nomads, who endlessly roam the parallel world with their tamed dinosaurs, which they use both as riding animals and as powerfull combat units, designed to strike fear into the hearts of their enemies.
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Re: Editing Special Moves
some stuff related to abilities are in techtree (like that how the cursor changes hovering over allied/enemy objects, the icons and decriptions), but the important parts are in the task specific USL files (like the aforementioned MayorSpecialMove.usl)chipmunk wrote:How do I edit special moves? There's almost nothing about them in the TechTree.
For example, how do I give a hero someone elses move, or make it so that sacrificial moves are performed on enemy units, or edit ranges of special moves? Things like that.
What I specifically wanted to do was give CEP Miyagi the special move/icon of MIRAGE Miyagi.
in addition the file describing the unit's class must be changed, e.g. Hero.usl (note that Miyagi and Stina don't belong (on scripting level) to Hero class, but have their own -> CEusmilus (located in Animal.usl) and CSBaryonyx (located in Mirage.usl [mirage] / Animal.usl [cep]) respectively)
The task from mirage miyagi itself can be found in Miracle.usl, named CWalkingBomb.
And we still haven't talked about how to import the icon from one mod to another, or how to change ai's behavior (so that it can use the skill), and so on...
in all honesty its a ton of work, and probably not worth the trouble
The Dustriders are nomads, who endlessly roam the parallel world with their tamed dinosaurs, which they use both as riding animals and as powerfull combat units, designed to strike fear into the hearts of their enemies.
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Re: Editing Special Moves
Yeah, it's probably not worth it on second though- I'll just use MIRAGE... which is really what I should've done in the first place. Thanks for replying though!
Sorry that this is almost completely unrelated, but I felt like making a new topic for it would be pointless, and would clog up forum space...- how do I get all the original maps (including the CEP mission) back? I've ruined most of the levels, generally by saving other maps over them.
Related to my map problem; when I zoom in in the Tutoria level, it still tells me to zoom in. Can't get past that part.
Sorry that this is almost completely unrelated, but I felt like making a new topic for it would be pointless, and would clog up forum space...- how do I get all the original maps (including the CEP mission) back? I've ruined most of the levels, generally by saving other maps over them.
Related to my map problem; when I zoom in in the Tutoria level, it still tells me to zoom in. Can't get past that part.
- Triceratops
- - Mod -
- Posts: 4910
- Joined: Wed Jul 25, 2007 16:16 pm
- Location: Germany
- Contact:
Re: Editing Special Moves
To recover the maps install the Mappack again. And/or the game You can make a backup of your changes (maybe they are useful in the future) though
Re: Editing Special Moves
yep, thats because the zoom change -> you should use either PgUp and PgDn keys to zoom in/out the old way, or you must press and hold Ctrl key while using the mouse wheelchipmunk wrote:Related to my map problem; when I zoom in in the Tutoria level, it still tells me to zoom in. Can't get past that part.
The Dustriders are nomads, who endlessly roam the parallel world with their tamed dinosaurs, which they use both as riding animals and as powerfull combat units, designed to strike fear into the hearts of their enemies.
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
- AnthonyCole
- - Admin -
- Posts: 2134
- Joined: Sat Apr 18, 2009 13:17 pm
Re: Editing Special Moves
Henry, we need to fix this for next CEP release, and only enable Mirage Zoom WITH ctrl/shift (i forgot) and not by default.
I've never seen code like this.
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
Re: Editing Special Moves
trueAnthonyCole wrote:Henry, we need to fix this for next CEP release, and only enable Mirage Zoom WITH ctrl/shift (i forgot) and not by default.
The Dustriders are nomads, who endlessly roam the parallel world with their tamed dinosaurs, which they use both as riding animals and as powerfull combat units, designed to strike fear into the hearts of their enemies.
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
Feel the power as you destroy enemy after enemy using the T-Rex Titan, the king of dinosaurs!
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Editing Special Moves
I have a question: if I want to add a hero ability what hero already have very same, but for other hero, I still should do .usl file changing?
Re: Editing Special Moves
yes, and it may not work properly, if the other hero doesn't have the necessary animation(s)
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Editing Special Moves
But animation can be changed, I mean force the unit play another animation which he is while casting spell?
Re: Editing Special Moves
yes, and you need changing .usl scripts for that too (techtree stuff must be changed ofc too)
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Editing Special Moves
Okay, good that makes a sense