Jump to content

object ownership revamp suggestions?


GodofWolves

Recommended Posts


I was having issues with geck refusing to save occasionally making the same make changes again so tried using this


when try to save the scrip and I say yes to scaning it is now giving me a warning saying line 7: scrip command array_var not found.

I was look at the script because I am not sure that it is working from the testing I did so far if it is working or if I followed the directions wrong. the extent of my testing so far is looking at one house on the left of doc mitchell's home a few times and seeing if all the burned books become unowned.

Edited by GodofWolves
Link to comment
Share on other sites

This script requires NVSE 4.2b2 (or newer) to be installed, you also need to launch the GECK via nvse_loader.exe, as explained in this page (2nd paragraph under 'Installation').

I am using nvse 4.2 beta 4 and I follow those instructions. I will replace nvse 4.2 beta 4 with another copy of nvse 4.2 beta 4 files, recreate the nves geck, delete the script,quest, formlist and follow all the instructions for a third time.

 

edit- I am still working on making the script work.

but I have a question when you say "handles oddities such as the one you encountered at the UltraLux's kitchen." , what does that exactly mean? for example if I only want the player to own stuff in the room you get in the ultra lux as a prize for gambling while allow everything else in Ultra-Luxe Hotel Rooms cell is mostly left how obsidian made it. would it consider my purposeful change be considered an oddity by the script?

 

un-modded the Ultra-Luxe Hotel Rooms are owned by the VWhiteglovesocety by default excluding certain objects like the beds used by ncrcitizendialoguefaction. I assume there is a good reason for it to be owned by the ncr citizens so I choose to leave it alone. I can't sleep on a owned bed so I assume they probably would not be able to sleep on a bed the white glove society owned.

Edited by GodofWolves
Link to comment
Share on other sites

It is still not working.
I am going to mess around with the script and see if it starts working at some point.

edit-

I changed it to this:

 

scn ScanClearOwnershipScript

short bInitialize
float fTimer
ref rCurrentCell
ref rItem
array_var aVisitedCells

begin GameMode

if bInitialize == 0
let bInitialize := 1
let aVisitedCells := ar_Construct Array
let fTimer := GameDaysPassed
elseif (GameDaysPassed - fTimer) > 2
let rCurrentCell := bInitialize := 0
let aVisitedCells := ar_Null
Return
endif

if rCurrentCell != player.GetParentCell
let rCurrentCell := player.GetParentCell
if eval ((ar_Find rCurrentCell aVisitedCells) < 0)
ar_Append aVisitedCells rCurrentCell
let rItem := GetFirstRef 201
while IsFormValid rItem
if rItem.IsInList ClearOwnershipItemsList
if rItem.GetOwner
rItem.SetOwnership
endif
endif
let rItem := TeddyBear01
let rItem := GetNextRef
loop
endif
endif

end

still none of the items in the formlist was made owned when with out me having to manually change them.

Edited by GodofWolves
Link to comment
Share on other sites

  • Recently Browsing   0 members

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