Custom Traits?
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Custom Traits?
Here's a thought. Rather than creating an entirely new custom unit for a campaign, what if you could also make a unit that had more powerful traits that made it more useful than standard recruits? For example, imagine an Elvish Archer that has "Loyal" and "Precise" as traits. The latter trait could give him a much larger boost in inflicted ranged damage than Dextrous would provide. Or maybe a wraith with "Fearless" and "Warded", with the second trait raising the wraith's arcane and fire resistances up to 50%, making this particular unit into a daywalker of sorts. How feasible is this to implement?
I didn't see this in "Frequently Proposed Good Ideas" (at least not as I phrased it) when I glanced through it, but if you've all heard this before just link me to the older thread and close this down. To be more clear, I'm asking for support for this feature in custom campaigns if it's not already easy to add in.
I didn't see this in "Frequently Proposed Good Ideas" (at least not as I phrased it) when I glanced through it, but if you've all heard this before just link me to the older thread and close this down. To be more clear, I'm asking for support for this feature in custom campaigns if it's not already easy to add in.
It's already possible. You define your custom traits, then give them to units like normal traits.
That is, unless you wanted to have them assigned randomly to recruited units - no way to do that, AFAIK. You'd have to make a new unit.
That is, unless you wanted to have them assigned randomly to recruited units - no way to do that, AFAIK. You'd have to make a new unit.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
It sounds like someone could make a replica of the default units they wanted to use, then give them a different trait pool.turin wrote:It's already possible. You define your custom traits, then give them to units like normal traits.
That is, unless you wanted to have them assigned randomly to recruited units - no way to do that, AFAIK. You'd have to make a new unit.
Last edited by Shiver on November 8th, 2007, 9:29 am, edited 1 time in total.
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
That's pretty much the point of traits - otherwise it might as well be an ability.turin wrote:That is, unless you wanted to have them assigned randomly to recruited units - no way to do that, AFAIK. You'd have to make a new unit.
Or do I misunderstand you somehow?
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
But traits are understood as variations between units of the same type while abilities are type-specific. So, for example, you could give Galdrad (the elf in the first scenario of HttT who sacrifices himself for you) a "perilous" trait that made him more powerful. It gives the character more flavor. That's why you would want the ability to assign custom traits to specific characters. I dunno if that's what was desired. *shrug*irrevenant wrote:That's pretty much the point of traits - otherwise it might as well be an ability.
Or do I misunderstand you somehow?
I'm not sure if you can insert new traits into the pool of available ones for recruitable units. I suspect it is possible - and if not it should be - but I don't know exactly how one would go about it. A simple
Code: Select all
[+units]
{TRAIT_PERILOUS}
[/+units]
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
It'd be nice if ultimately it did.Shadow Master wrote:Doesn't.
There's a few places where it would be nice to create WML addons that function like Wesnoth standard. The ability to add custom statuses that behave like Wesnoth statuses is another one.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
I haven't actually tried making a scenario so I don't grasp the specifics that are being tossed around. If custom traits can't be attached to new recruits, will that functionality be implemented at some point?
Last edited by Shiver on November 8th, 2007, 6:14 pm, edited 1 time in total.
All you can do is create new races that have the same names and units of mainline but differ in code. Then you can add them custom traits.irrevenant wrote:It'd be nice if ultimately it did.Shadow Master wrote:Doesn't.
There's a few places where it would be nice to create WML addons that function like Wesnoth standard. The ability to add custom statuses that behave like Wesnoth statuses is another one.
What I'm looking forward now is to see whether you can override all mainline units on-demand of the campaign loader. Currently UMC define their units appending their code ([+units]) to the global cache when the UMC is loaded, but I'd like to make it possible to define a completely new set that removes the mainline set from global cache, when the UMC is loaded. i.e. by using [units] right away. Not sure if this is already possible, must try.
It would be helpful for Mods and Total Conversions.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I meant that could be loaded from the campaign menu, to avoid the user having to install more than one copy of Wesnoth in the same system, just to use the regular game and a campaign-style mod.zookeeper wrote:Well, maybe not, as those can just as well replace all WML.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Right, ok. For a campaign mod that would indeed work fine like that I guess.Shadow Master wrote:I meant that could be loaded from the campaign menu, to avoid the user having to install more than one copy of Wesnoth in the same system, just to use the regular game and a campaign-style mod.zookeeper wrote:Well, maybe not, as those can just as well replace all WML.