Jump to content
Grim Squeaker

For those who want romance conflicts...

Recommended Posts

Ok, using some extremely evil WeiDU code, the next version of Crossmod will include automated romance conflict code.

 

IF
 InParty(Myself)
 Global("%NPC1_ROMVAR%,""GLOBAL",%NPC1_SERIOUSNUM%)
 !Global("%NPC2_ROMVAR%","GLOBAL",0)
 !Global("%NPC2_ROMVAR%","GLOBAL",%NPC2_KILLNUM%)
THEN
  RESPONSE #100
     SetGlobal("%NPC2_ROMVAR%","GLOBAL",%NPC2_KILLNUM%)
END

 

Which would look something like this for two NPCs, Jelina and Serena:

 

IF
 InParty(Myself)
 Global("G#J.JelinaRomanceActive","GLOBAL",2)
 !Global("G#S.SerenaRomanceActive","GLOBAL",0)
 !Global("G#S.SerenaRomanceActive","GLOBAL",3)
THEN
  RESPONSE #100
     SetGlobal("G#S.SerenaRomanceActive","GLOBAL",3)
END

 

To make this work I'm going to need a couple of things from all of you who want to participate:

 

Name:

SoA Script:

ToB Script:

Romance is serious number:

Romance kill number:

For female?:

For male?:

Can kill other romances?:

Can be killed by other romances?:

Romance Variable:

SoA Checkfile:

ToB Checkfile:

 

e.g.

 

Name: Jelina

SoA Script: G#JELINA

ToB Script: G#JLNA25

Romance is serious number: 2

Romance kill number: 3

For female?: 0

For male?: 1

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: G#J.JelinaRomanceActive

The romance is serious/kill numbers are obviously the values they get set to if the romance is serious or dead respectively. For female/male basically says who this NPC will romance (i.e. For female? = 1 means this NPC will romance women). If they are bisexual, tick both. The Can kill/be killed things are for those who (for whatever reason) might not want their romance to kill others, or might want they not to be killed, however normally please put a 1 for both.

 

NB: SoA Checkfile and ToB Checkfile are for if the romance adds to an already existing NPC (e.g. Imoen Romance, Valen Expansion), so I need to check for the existance of a SoA and ToB file from that mod that aren't their scripts (because they'll already exist, even if the romance isn't installed). In my example, I don't need these lines for Jelina, for the reason I've just mentioned.

 

If you want more complicated romance conflicts with dialogue etc, or you don't want one of these script blocks for a particular pairing, I can remove them and do something else for those NPCs if you like.

 

Once this is released, I'd ask any of you that have already have basic (i.e. similar to this style, nothing fancier) romance killing blocks for mod NPCS to remove them from your mod, and just let Crossmod do it automatically, otherwise we'll end up with two blocks and it'll be messy. Please leave in Bioware romance conflicts as Crossmod will not be doing them.

 

If you are interested, please post the info above for your released or open beta NPCs (don't PM me unless you have to, otherwise my inbox will get very full, very fast). I'd hope that most romance authors will get involved with this, as it is a good way to clean up multiple romances playing. Yes, this component will be optional for those that like multiple romances.

 

If you have any questions, post away.

 

Edit: Removed a ridiculous typo in my example...

 

Edit #2: Removed yet another crazy typo in the example. Thanks Jason!

 

Edit #3: Added SoA Check and ToB Check. See section in red.

Edited by Grim Squeaker

Share this post


Link to post

Since plenty of mods seem to already be detecting on Kelsey anyway...

 

Name: Kelsey

SoA Script: J#klsy

ToB Script: J#klsy25

Romance is serious number: 2

Romance kill number: 3

For female?: 1

For male?: 0

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: J#KelseyRomanceActive

 

Added

Edited by Grim Squeaker

Share this post


Link to post

I will put these in individually, just to make sure they do not get skipped.

 

Name: Tsujatha

SoA Script: TSUJATH

ToB Script: TSUJAT25

Romance is serious number: 2

Romance kill number: 3

For female?: 1

For male?: 0

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: TsujathaRomanceActive

 

 

(Do I need to put his racial and alignment restrictions, too?)

 

Added

Edited by Grim Squeaker

Share this post


Link to post

And here is another one.

 

 

Name: Saerileth

SoA Script: SAERILET

ToB Script: SAERIL25

Romance is serious number: 2

Romance kill number: 3

For female?: 0

For male?: 1

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: SaerilethRomanceActive

 

 

(Again, do I need to post her restrictions?)

 

Added

Edited by Grim Squeaker

Share this post


Link to post

Nope, no restrictions needed, as all this does is:

 

If a person now has a serious romance -> Kill any other active romances

 

Cheers!

Edited by Grim Squeaker

Share this post


Link to post

Btw if someone could look up Sola's info from an install it'd be appreciated.

Share this post


Link to post

Um....... let's see.

 

Name: Chloe

SoA Script: CHLOE .... I think.

ToB Script: None yet. If I'm right on the above I assume this one will be CHLOE25

Romance is serious number: 2

Romance kill number: 3

For female?: 1

For male?: 0

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: ChloeRomanceActiveCR

 

Added

Edited by Grim Squeaker

Share this post


Link to post

Ok, a suggestion by Jason I am using the following for Sola:

 

Name: Solaufein

SoA Script: SOLA

ToB Script: SOLA

Romance is serious number: 14

Romance kill number: -1

For female?: 1

For male?: 1

Can kill other romances?: 1

Can be killed by other romances?: 0

Romance Variable: SolaTalk

 

If there are any corrections, please tell me.

 

Oh and for anyone who might have noticed the potential mistake, after the enormous bit of automatic generation code is run, I will REPLACE_TEXTUALLY Sola's Global("SolaTalk","GLOBAL",14) with GlobalGT("SolaTalk","GLOBAL",14).

Edited by Grim Squeaker

Share this post


Link to post

From Bri:

 

Name: Tashia

SoA Script: TASHIA

ToB Script: TASH25

Romance is serious number: 2

Romance kill number: 3

For female?: 0

For male?: 1

Can kill other romances?: 1

Can be killed by other romances?: 1

Romance Variable: TashiaRomanceActive

Share this post


Link to post
Can be killed by other romances?: 1

 

No, it's part of the design that Solaufein doesn't care.

Share this post


Link to post

thanks for the info, grim squeaker, but willie bruce, yasraena, and kindrek are *not* romanceable, and sillara has already posted about saerileth. so there ya go.

Share this post


Link to post
thanks for the info, grim squeaker, but willie bruce, yasraena, and kindrek are *not* romanceable, and sillara has already posted about saerileth.  so there ya go.

 

Wow, I was convinced that Kindrek was. Oh well.

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...