Jump to content

Lovers Relationships


ger4

Recommended Posts

It's a very early WIP at the moment and I honestly Don't know if it will get released, but I am working on a kind of "social engine" for lovers at the moment. It's basically a framework where each Individual NPC has a .ini file assigned to them (Via their base ID, the name of their .ini file matches their Base ID).

 

The ini file contains various things it is impossible to work out via in-game functions about the NPC, such as Religion, Addictions, Sexual Orientation, Sexual Experience Level, Marriage Status, level of Education, Job and even family member relations to other NPCs (for example, a female NPC could have her husbands Reference listed in her .ini file. Mods would then know that she was married, who her husband was and have his reference available to manipulate in-game. I did a basic mock test where I got a Woman's husband to interpret her and the player when they were having sex).

 

The hard part would be that it would take ages to make all the .ini files for all the Game's NPCs. But once done, I think this would be a valuable resource.

 

If anyone has any thought I would love to hear them. Feature suggestions are also very welcome as well as suggestions for additional biographical information to include in the .ini files.

Link to comment

Batch generate a line at a time for a trait in the final ini for the npcs; ex hit all the npcs in a previously created 'skooma addicts' list in their addiction line. Maybe use of string bits for generic npcs (likely most bandits and people named skooma fiend have an addiction).

 

Maybe likelihood for adultery/addiction formation for additional trait modifiers.

Link to comment

Batch generate a line at a time for a trait in the final ini for the npcs; ex hit all the npcs in a previously created 'skooma addicts' list in their addiction line. Maybe use of string bits for generic npcs (likely most bandits and people named skooma fiend have an addiction).

 

Maybe likelihood for adultery/addiction formation for additional trait modifiers.

Thanks for the suggestions :)

 

Here's a template of the current NPC .ini file, is there anything which could be added?

 

The "marriage engine" is just some code i wrote that can give an npc the same "last name" as the player. Which in this case is anything after the first space in the player's name.

 

For example, if the player is named "John Smith" and they married the NPC Bothiel from the mages guild (http://en.uesp.net/wiki/Oblivion:Bothiel), Bothiel would be renamed to "Bothiel Smith".

 

 

;;;Set options to 0 to disable. If disabled, defaults will be used instead.
 
 
;;NPC Name:
 
 
;==============================================================================
; NPCBaseName (Used for Marriage Engine name restoration)... The NPC's Name in the CS.
set xLoversRelationshipsReadNPCStatsFile.NPCBaseName to sv_construct "****"
 
 
;==============================================================================
; NPCSimpleName (Used for Marriage Engine)... The NPC's name without titles (e.g. countess, duchess) or other additions (Sickly Bernice just becomes Bernice).
set xLoversRelationshipsReadNPCStatsFile.NPCSimpleName to sv_construct "*****"
 
 
;==============================================================================
; SexualOrientation... The NPC's Sexual Orientation. Options are....1.Hetro 2.Homo 3.Bi-Sex 4.Asexual (Default 1)
set xLoversRelationshipsReadNPCStatsFile.SexualOrientation to 1
 
;==============================================================================
; SexualPreference... The NPC's Sexual Preference. Options are....1.Vaginal 2.Oral 3.Anal 4.Necro 5.Zoo (Default 1)
set xLoversRelationshipsReadNPCStatsFile.SexualPreference to 1
 
;==============================================================================
; SexualExperienceLevel... The NPC's Sexual Experience Level. Options are....1.Virgin 2.Learing 3.Average 4.Experienced 5.Sexgod/Godess (Default 3)
set xLoversRelationshipsReadNPCStatsFile.SexualExperienceLevel to 3
 
;==============================================================================
; Age... Can be customised here. If set to 0, Bloackhead's GetFaceGenAge command is used for this.
set xLoversRelationshipsReadNPCStatsFile.Age to 0
 
;==============================================================================
; IsMarried... Either 1 or 0 here.
set xLoversRelationshipsReadNPCStatsFile.IsMarried to 0
 
;==============================================================================
; IsDivorced... Either 1 or 0 here.
set xLoversRelationshipsReadNPCStatsFile.IsDivorced to 0
 
;==============================================================================
; IsWidowed... Either 1 or 0 here.
set xLoversRelationshipsReadNPCStatsFile.IsWidowed to 0
 
 
;==============================================================================
; InRelationship... Either 1 or 0 here.
set xLoversRelationshipsReadNPCStatsFile.InRelationship to 0
 
;==============================================================================
; IsVampire... Either 1 or 0 here. Is the NPC a Vampire?
set xLoversRelationshipsReadNPCStatsFile.IsVampire to 0
 
;==============================================================================
; IsWerewolf... Either 1 or 0 here. Is the NPC a Werewolf (For Curse of Hircine and other werewolf mods)?
set xLoversRelationshipsReadNPCStatsFile.IsWerewolf to 0
 
;==============================================================================
; IsDemon... Either 1 or 0 here.Is the NPC a Demon (shapedshifted to human)?
set xLoversRelationshipsReadNPCStatsFile.IsDemon to 0
 
;==============================================================================
; Religion... The NPC's Religion.Nine Divines by defualt... Options(1 - 14).---------1.Nine Divines 2.Daedra 3.Sithis/Night Mother (Dark Brotherhood) 4.Dunmeri Pantheon 5.Khajiiti Pantheon 
;6.Nordic Pantheon 7.Agnostic 8.Aethist 9.Altmeri Pantheon 10.Argonian Pantheon 11.Wood Elf Pantheon 12.Orc Malclath/Mauloch Worship 13.Orc Trinimac Worship 14.Yokudan Pantheon (Redguards)
;
set xLoversRelationshipsReadNPCStatsFile.Religion to 1
 
;==============================================================================
; Job... The NPC's Job. Unemployed by default.... Options(1 - 11)-----1.Unemployed 2.Guard 3.Merchant 4.Mage 5.Bandit 6.Marauder 7.Pirate 8.Farmer 9.Manual Worker 
;10.Daedric Cult Member 11.Thief
set xLoversRelationshipsReadNPCStatsFile.Job to 1
 
;==============================================================================
; Addictions... Any Addictions the NPC is afflicted with.... Options(1 - 2)-----1.Alcholism 2.Skooma Addiction
set xLoversRelationshipsReadNPCStatsFile.Addictions to 0
 
;==============================================================================
; EducationLevel... Levels (1 - 4).---------1.No Education (Beggers, Bravil Dirt Poor) 
;2.Basic Education (Farmer) 3. Good Education (Artisans and Tradespeople) 
;4. Exceptional Education (Nobility, Emporer...)
set xLoversRelationshipsReadNPCStatsFile.EducationLevel to 2
 
;==============================================================================
; Class... The NPC's Class.If not defined here, the GetClass command will be used for this.
set xLoversRelationshipsReadNPCStatsFile.Class to *******
 
;==============================================================================
; ClassName... The NPC's Class Name.If not defined here, the Class's (CLassRef.GetName) in-game name will be used for this. (Mostly this
;doesn't need to be used, but some classes don't have editor names).
set xLoversRelationshipsReadNPCStatsFile.ClassName to sv_construct "Commoner"
 
;==============================================================================
; HomeCellMain... Main area/cell of the NPC's house.
set xLoversRelationshipsReadNPCStatsFile.HomeCellMain to *****
 
;==============================================================================
; HomeCellMain... Main area/cell of the NPC's house.
set xLoversRelationshipsReadNPCStatsFile.HomeCellBedroom to *****
 
;==============================================================================
; OrigionalCell... NPC's default/origional cell.
set xLoversRelationshipsReadNPCStatsFile.OrigionalCell to *****
 
;==============================================================================
; MainBed... ;(contains Ref read via pluggy) NPC's Main Bed can be defined here, alotugh this can be changed via mod, so may need to alter depending on load order.
;Will not always work as some Bed Refs are not persistent.
set xLoversRelationshipsReadNPCStatsFile.MainBed to sv_Construct "000959ED"
 
 
;==============================================================================
;;;;FAMILY ------ This list contains the Editor (NOT BASE) ID Ref's of any family the NPC has. This needs Shademe's
;RuntimeEditorIDs OBSE plugin to work.
;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;
set xLoversRelationshipsReadNPCStatsFile.Spouse to 0  ;The NPC's Partner (example SkjortaRef)
set xLoversRelationshipsReadNPCStatsFile.Child1 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child2 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child3 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child4 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child5 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child6 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child7 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Child8 to 0  ;The NPC's Son/Daughter
set xLoversRelationshipsReadNPCStatsFile.Father to 0  ;The NPC's Father
set xLoversRelationshipsReadNPCStatsFile.Mother to 0  ;The NPC's Mother
set xLoversRelationshipsReadNPCStatsFile.Grandmother to 0  ;The NPC's GrandMother
set xLoversRelationshipsReadNPCStatsFile.Grandfather to 0  ;The NPC's GrandFather
set xLoversRelationshipsReadNPCStatsFile.Sister1 to 0  ;The NPC's Sister
set xLoversRelationshipsReadNPCStatsFile.Sister2 to 0  ;The NPC's Sister
set xLoversRelationshipsReadNPCStatsFile.Sister3 to 0  ;The NPC's Sister
set xLoversRelationshipsReadNPCStatsFile.Sister4 to 0  ;The NPC's Sister
set xLoversRelationshipsReadNPCStatsFile.Brother1 to 0  ;The NPC's Brother
set xLoversRelationshipsReadNPCStatsFile.Brother2 to 0  ;The NPC's Brother
set xLoversRelationshipsReadNPCStatsFile.Brother3 to 0  ;The NPC's Brother
set xLoversRelationshipsReadNPCStatsFile.Brother4 to 0  ;The NPC's Brother
Link to comment
  • 9 months later...
On 3/16/2017 at 8:38 PM, ger4 said:

The "marriage engine" is just some code i wrote that can give an npc the same "last name" as the player. Which in this case is anything after the first space in the player's name.

 

For example, if the player is named "John Smith" and they married the NPC Bothiel from the mages guild (http://en.uesp.net/wiki/Oblivion:Bothiel), Bothiel would be renamed to "Bothiel Smith".

What happens if the player hasn't got a last name, or any spaces, like Khajiit or Argonian names?

Link to comment
19 hours ago, SilentButDeadly said:

What happens if the player hasn't got a last name, or any spaces, like Khajiit or Argonian names?

Bugged. Mod assumes name is in that format at the moment. It's still very broken and full of bugs...

 

I'm not sure how to implement Argonains/Khajiit would work to be honest...

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use