Author Topic: how to make new skill types?  (Read 2232 times)

daweefolk

  • Guest
how to make new skill types?
« on: 17 May 2009, 18:11:37 »
is it possible to change an xml file somewhere to include a new skill type? i want a skill/command that will cause a different unit to do something (morph, particularly).
how could i do this?

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: how to make new skill types?
« Reply #1 on: 17 May 2009, 18:17:20 »
i think this topic should be on the "general dicussion" board
Egypt Remastered!

Proof: Owner of glest@mail.com

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: how to make new skill types?
« Reply #2 on: 19 May 2009, 15:45:26 »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

daweefolk

  • Guest
Re: how to make new skill types?
« Reply #3 on: 19 May 2009, 16:05:15 »
where in that guide is it? i'm having problems finding it. like i said, i want to make a skill that will force a different unit to morph when the command referencing it is used

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: how to make new skill types?
« Reply #4 on: 19 May 2009, 18:45:37 »
Well, I am assuming you are not trying to make a new skill that does not exist (ie: carry), but rather trying to create a new attack skill, move skill, etc; Of course, the skills are referenced by the commands, which are basically handlers to execute a skill. I would recommend the XML section to see the skill/command XMLs for each type of skill/command.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Hectate

  • Guest
Re: how to make new skill types?
« Reply #5 on: 19 May 2009, 22:31:53 »
As noted by omega above you can't make a new skill that doesn't exist, but from the way I understand it (new to modding, and hello everyone) what you're looking for is a new command that points to the morph skill.

Look at the unit's xml descriptions under skills and commands. If you want to see how morph works, open up the Drake Rider's XML file under your magitech's magic faction to see how it's implemented there.

http://glest.110mb.com/xmls.unit.php

As I said though, I'm new to modding glest (got 1 WIP right now, 66% complete) so if somebody would back me up on this that would be helpful. Thanks :-D

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: how to make new skill types?
« Reply #6 on: 19 May 2009, 23:08:51 »
It sounds to me like you want a skill for unit X that allows it to morph unit Y.  Is that what you're asking?  If so, then this is not currently possible in Glest as far as I know.  I think the GAE team was working on it, but I have no idea if they got it working.

I'm new to modding glest (got 1 WIP right now, 66% complete)
I hope you plan on sharing. :)

daweefolk

  • Guest
Re: how to make new skill types?
« Reply #7 on: 20 May 2009, 04:01:26 »
It sounds to me like you want a skill for unit X that allows it to morph unit Y.  Is that what you're asking?  If so, then this is not currently possible in Glest as far as I know.  I think the GAE team was working on it, but I have no idea if they got it working.

I'm new to modding glest (got 1 WIP right now, 66% complete)
I hope you plan on sharing. :)

Yes, that's what I was trying to get at. I didn't think it was possible in glest after looking for quite a while

Hectate

  • Guest
Re: how to make new skill types?
« Reply #8 on: 20 May 2009, 17:22:40 »
I hope you plan on sharing. :)

Yes, eventually. I'm aiming for 99% completion first though. First impressions are important and everything. "When it's done" and all that :D
Don't worry, it shouldn't be very long. My goal is to reach the 99% in less than a month from now, do a little testing and final tweaking and the release for community input and general criticism. It's not overly complicated, but it isn't just another faction either.