bugLordsAWar! - Bugs: bug #27728, No Differentiation Between Male...

 
 

bug #27728: No Differentiation Between Male and Female Hero (Possible)

Submitted by:  Frans de Jonge <frenzie>
Submitted on:  Fri 16 Oct 2009 05:06:35 PM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 17 Oct 2009 11:22:02 AM UTC, comment #4:

I know, I simply copied over the settings from the other files. I was thinking though, perhaps instead of quitting it should load the default army/city/etc set as a fall back solution? (& inform the user that the preferred *set couldn't load and that a fall back was used, perhaps)

Then again, I suppose it wouldn't really be an issue for the most part and there's more important things to fix.

Frans de Jonge <frenzie>
Project Member
Sat 17 Oct 2009 10:50:17 AM UTC, comment #3:

Works for me.
I think you need to do a sudo make install. The file formats have changed, so your europa cityset needs to be changed to have the same schema as the citysets that come with the game. And now the file extensions have changed too.

Ben Asselstine <benasselstine>
Project Administrator
Sat 17 Oct 2009 10:07:53 AM UTC, comment #2:

(lordsawar-army-editor:13031): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)' failed
XML_Helper::getData(std::string, "d_gender") failed
Error, while loading an armyset. Armyset Name: europa 40
XML_Helper: dtags not empty!!

Fixed it by doing a global replace of <d_hero>false</d_hero> for <d_gender>Hero::NONE</d_gender> and the actual hero got some manual attention.

Breaking these files shouldn't really be an issue at this point in time though, so don't worry about it.

Oh yeah, and the same apparently applies to the cityset.

(lordsawar:13394): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: g-file-error-quark
code : 4
what : Failed to open file '/home/frans/.lordsawar/citysets/europa/.png': No such file or directory

Segmentation fault (core dumped)

Anyway, the male/female heroes seem to be working nicely.

Frans de Jonge <frenzie>
Project Member
Sat 17 Oct 2009 08:07:27 AM UTC, comment #1:

This is fixed in svn.

Here's how it works.

In your armyset, you give the army a gender. If you say an army is female, it is a female hero. If you say an army is male, it is a male hero.

The herotemplates.xml file holds the recruitable heroes. Each of these templates points to a random hero from the armyset that has the same gender.

Ben Asselstine <benasselstine>
Project Administrator
Fri 16 Oct 2009 05:06:35 PM UTC, original submission:

1. The game should have this.

2. It's not possible to do this in the editor as far as I can tell. The original game's editor solves it in a somewhat peculiar manner:

Each unit has only one display image. When you click on "edit image you get the editor interface where you can select different units for editing (current equivalent is the 8 different select image dialogs). On the hero, however, there's an extra switch in the bottom left that allows you to switch between the male & female hero. I'm thinking that the easiest solution might be some kind of radio box that becomes active/visible when you check "Is Hero" that allows you to switch between male and female.

Oh and something related. It currently seems to be possible to select an unlimited number of hero units, although the game seems to exclusively use the last unit in the list or something?

Frans de Jonge <frenzie>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by benasselstine (Posted a comment)
  • -unavailable- added by frenzie (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Oct 2009 08:07:27 AM UTCbenasselstineOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1