gender check
#1
Posté 09 novembre 2009 - 02:19
#2
Posté 09 novembre 2009 - 02:34
if ( GetCreatureGender( GetHero() ) == GENDER_FEMALE )
{
SetCreatureGender( GetHero(), GENDER_MALE );
}
else
{
SetCreatureGender( GetHero(), GENDER_FEMALE );
}
Then all you are doing is forcing the Hero's Gender attribute.
#3
Posté 09 novembre 2009 - 03:58
#4
Posté 09 novembre 2009 - 05:55
I've been trying to set the Alistair romance so that it's gender agnostic, but I can't find the table that lists the criteria for the romance eligibility flag.
If you find a way to do this let me know - I'm still looking.
#5
Posté 09 novembre 2009 - 05:58
#6
Posté 09 novembre 2009 - 06:22
Akuntakenta wrote...
A gay Allistar.... thats all we need.
I agree...unless you're using sarcasm. In which case I completely disagree.
#7
Posté 09 novembre 2009 - 07:58
I've been trying to set the Alistair romance so that it's gender agnostic, but I can't find the table that lists the criteria for the romance eligibility flag.
If you find a way to do this let me know - I'm still looking.
A very worthy cause.
Let us know if you make any headway. I'm going to try to look into it too!
#8
Posté 10 novembre 2009 - 04:06
#9
Posté 10 novembre 2009 - 07:09
Approval_SetRomanceActive(APP_FOLLOWER_MORRIGAN, TRUE);
Approval_ChangeApproval(APP_FOLLOWER_MORRIGAN, 0);
Have fun!
#10
Posté 10 novembre 2009 - 07:31
Approval_SetLoveEligible(APP_FOLLOWER_ALLISTAIR, TRUE);
Modifié par PavelNovotny, 10 novembre 2009 - 07:31 .
#11
Posté 10 novembre 2009 - 07:42
#12
Posté 10 novembre 2009 - 07:45
Akuntakenta wrote...
A gay Allistar.... thats all we need.
xD
He does seem a bit gay naturally....
#13
Posté 10 novembre 2009 - 08:06
I am not setting the love eligible flag because I don't know when that normally gets set... it might break the event sequence or something. Then again, it might be necessary. Without the original resources in the toolset DB, who can tell?
#14
Posté 11 novembre 2009 - 03:05
Eizneckam wrote...
You don't really _need_ to create an item... here's a module that does it without: https://e7m.org/~eiz...er_bender.dazip
Thanks for the link!
Modifié par feralferret, 11 novembre 2009 - 04:41 .
#15
Posté 11 novembre 2009 - 04:05
Eizneckam wrote...
@Simon.Omega: that won't do what you expect (you'll get a female head on a male body, etc). Here's a more appropriate incantation:
Approval_SetRomanceActive(APP_FOLLOWER_MORRIGAN, TRUE);
Approval_ChangeApproval(APP_FOLLOWER_MORRIGAN, 0);
Have fun!
Thank you that explains a few things after I got to test it.
#16
Posté 11 novembre 2009 - 04:25
#17
Posté 11 novembre 2009 - 03:53
#18
Posté 15 novembre 2009 - 08:09
hildandurd wrote...
I had one problem with this mod though around the landsmeet area I dont know if it happens anytime before then it would cause massive slowdown , during some of the dialog choices. I had to take off the mod just to continue past that part, but otherwise it worked good
I encountered the same problem testing the mod. Mod installed, some of the dialogs crawl and then grind to a halt, making the game unplayable. Take the mod out, problem disappears. It's not every dialog scene, but it was too frequent for me to use - sadness!
Which dialog slows down is not random with each test play-through. I'll try to explain: say I play as far as three dialog scenes, A, B and C.
A is fine.
B is fine.
C crawls.
No matter how many times I reload, A and B will be fine, C will be the problematic one.
I admit I did try to take a look at the mod, but I know absolutely nothing about scripting or programing. Why it's some dialogs and not others - I don't know. If there's something in the scripting that checks at each dialog event, I don't know why it's causing problems in origin scenes in dialogs, before Alistair or Morrigan are in the game, and where no reference to gender is made.
Posting to thank Eizneckam for the mod, bump this, and see if anyone with actual knowledge (ie NOT ME) is willing to take a look at it.
Modifié par katramye, 15 novembre 2009 - 08:10 .
#19
Posté 15 novembre 2009 - 02:26
I'd still love a work around for the romance aspect if anyone knows of one.





Retour en haut






