[Fwd: Re: [Wesnoth-dev] IFDEFs in unit cfgs]

2006-02-28 Thread jeremy . rosen
(thx ott for reminding me to click reply to all instead of reply ;) > On Mon, Feb 27, 2006 at 09:59:21AM -0600, Bruno Wolff III wrote: >> Part of the problem is that units don't really inherit from their base >> unit type. > > Xan's patch r9904 was a step in this direction -- [female] units variant

Re: [Wesnoth-dev] IFDEFs in unit cfgs

2006-02-28 Thread ott
On Mon, Feb 27, 2006 at 09:59:21AM -0600, Bruno Wolff III wrote: > Part of the problem is that units don't really inherit from their base > unit type. Xan's patch r9904 was a step in this direction -- [female] units variants inherit from the base unit. It should be relatively straightforward to g

Re: [Wesnoth-dev] IFDEFs in unit cfgs

2006-02-27 Thread Bruno Wolff III
On Mon, Feb 27, 2006 at 15:26:58 +, Scott Klempner <[EMAIL PROTECTED]> wrote: > > I realize there are technical problems, namely only a subset of unit config > data are copied when the mold is read. Storing the entire unit config for > each recruited unit just in case I want to poke a val

[Wesnoth-dev] IFDEFs in unit cfgs

2006-02-27 Thread Scott Klempner
First, see feature request 4336: https://gna.org/bugs/?func=detailitem&item_id=4336 I don't know why the f.r. is set to duplicate, but it pertains to the heart of what Jetryl is getting at. Bear with me now... we're going to be a little abstract here. Individuality is an illusion that the g

Re: [Wesnoth-dev] IFDEFs in unit cfgs

2006-02-25 Thread Benoit . TIMBERT
On Sat, Feb 25, 2006 at 12:57:13PM -0600, Bruno Wolff III wrote: > On Sat, Feb 25, 2006 at 11:42:54 +0100, > Nils Kneuper <[EMAIL PROTECTED]> wrote: > > >Can we have the campaigns redefine these units in their own > > >"namespace (I use the term loosely)", and add the changes there? > > > > At t

Re: [Wesnoth-dev] IFDEFs in unit cfgs

2006-02-25 Thread Bruno Wolff III
On Sat, Feb 25, 2006 at 11:42:54 +0100, Nils Kneuper <[EMAIL PROTECTED]> wrote: > >Can we have the campaigns redefine these units in their own > >"namespace (I use the term loosely)", and add the changes there? > > At the moment there is no way to do so. It looks like the game is > first searchi

[Wesnoth-dev] IFDEFs in unit cfgs

2006-02-25 Thread Richard Kettering
Certain of our units, especially the white mages and human leader lines, have several campaign-specific IFDEFs inside them. These, for example, attach portraits to a unit, but only within the confines of a single campaign. With the new campaign system, is there a better way of doing this?

Re: [Wesnoth-dev] IFDEFs in unit cfgs

2006-02-25 Thread Nils Kneuper
>Can we have the campaigns redefine these units in their own >"namespace (I use the term loosely)", and add the changes there? At the moment there is no way to do so. It looks like the game is first searching in the main units/ folder since it was initialised first. This resulted into lots of prob