Login | Register


All times are UTC + 1 hour


It is currently Sat Aug 19, 2017 19:42 pm




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Editing Special Moves
PostPosted: Mon Jul 29, 2013 2:48 am 
User avatar

Joined: Sat May 12, 2012 19:24 pm
Posts: 28
Location: England
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.

_________________
Image


Top
 Offline Profile  
 
PostPosted: Mon Jul 29, 2013 12:22 pm 
- Admin -
User avatar

Joined: Sat Apr 18, 2009 14:17 pm
Posts: 1969
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?

_________________
I've never seen code like this.

CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/4 gewinnt/etc v1.2


Top
 Offline Profile  
 
PostPosted: Mon Jul 29, 2013 13:30 pm 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 760
Location: Koprulu Sector
AnthonyCole wrote:
Btw, what special moves to Tarna, Trader and Miyagi have in CEP again?
Resurrect, Twins, Sacrifice?
true

AnthonyCole wrote:
Why arent there USLs for Twins and 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 procedure

_________________
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!


Top
 Offline Profile  
 
PostPosted: Mon Jul 29, 2013 14:42 pm 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 760
Location: Koprulu Sector
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.
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)

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!


Top
 Offline Profile  
 
PostPosted: Mon Jul 29, 2013 22:44 pm 
User avatar

Joined: Sat May 12, 2012 19:24 pm
Posts: 28
Location: England
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.

_________________
Image


Top
 Offline Profile  
 
PostPosted: Tue Jul 30, 2013 6:38 am 
- Admin -
User avatar

Joined: Wed Jul 25, 2007 17:16 pm
Posts: 4897
Location: Germany
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

_________________
ICQ http://www.icq.com/people/327554363/


Top
 Offline Profile  
 
PostPosted: Tue Jul 30, 2013 10:19 am 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 760
Location: Koprulu Sector
chipmunk 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.
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 wheel

_________________
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!


Top
 Offline Profile  
 
PostPosted: Tue Jul 30, 2013 16:50 pm 
- Admin -
User avatar

Joined: Sat Apr 18, 2009 14:17 pm
Posts: 1969
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/4 gewinnt/etc v1.2


Top
 Offline Profile  
 
PostPosted: Tue Jul 30, 2013 23:51 pm 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 760
Location: Koprulu Sector
AnthonyCole 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.
true

_________________
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!


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron