Welcome Guest ( Log In | Register )

23 Pages V « < 21 22 23  
Reply to this topicStart new topic
> TK's Mod Questions Thread, Got mod problems, or are you just lost with a tool?
ghastley
post Oct 2 2020, 02:22 PM
Post #441


Councilor
Group Icon
Joined: 13-December 10



QUOTE(Renee @ Oct 2 2020, 08:49 AM) *


There is no SavedMinorCrimeCount in Fallout 3

SavedMinorCrimeCount would be a local variable, declared in your script. It would need to be the same type (Int, float) as the other one, so they can be compared properly.

I think you'd need to have this script run on each officer, as the crimes they consider are only the ones on their patch, so each officer is only aware of some of your crimes. And I'm getting all this from the GECK Wiki, not from personal experience, as I don't have any Fallout games.


--------------------
Mods for Oblivion and now Daggerfall and Skyrim. Fan fiction, too.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Oct 2 2020, 02:47 PM
Post #442


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



I see. I'd declare this. So you're saying I would declare SavedCrimeCount like so?

Int SavedMinorCrimeCount
Int SavedMajorCrimeCount

???
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ghastley
post Oct 2 2020, 03:21 PM
Post #443


Councilor
Group Icon
Joined: 13-December 10



Yes, that's right. The GECK Wiki uses Actor.GetMinorCrimeCount etc. as the variables are kept for a specific character and your script would potentially have a copy for each officer that could consider the crime. At times, they could be different values for different NPC's but since we're just checking for a change, it doesn't matter if that specific one missed a couple. It gets re-sync'ed when the script sees the change happened.


--------------------
Mods for Oblivion and now Daggerfall and Skyrim. Fan fiction, too.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Oct 2 2020, 03:41 PM
Post #444


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



Yes, you get it! I'm just trying to check for a change, not the previous value(s) which already were generated.

And that is also true about different values getting generated for different NPCs. One time my character entered Megaton and the arrest process began, which shouldn't have been happening because GetMinorCrimeCount is not supposed to kick in until it's >= 3.00. I checked a nearby NPC and the count was 2.00. After some time, I tried checking the officer herself. Voila, it was 4.00. Everything was working, I just didn't know different people "see" different crime counts.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Oct 3 2020, 11:39 PM
Post #445


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



I could not get it to work, sorry. I think the problem is I don't know how to type what you were showing me, ghastly. I don't know where it should go in the script, and how it gets written. I'll just post the entire arrest part of the script.


scriptname aaaEnforcementOfficerScript

short Status

Begin GameMode

;------------------------------------------------------------

; This set of scripts handles the arrest process

If (Player.GetInWorldspace MegatonWorld == 1) && (Status == 0)
If (GetMinorCrimeCount >= 3) || (GetMajorCrimeCount >= 1)

Set Status to 1
aaaMegatonOfficerRef.AddScriptPackage aaaArrestPlayerPackage

EndIf
EndIf

End


.... So how do I write that Return script? Where would it go?


Never mind, I think I got a better solution.

This post has been edited by Renee: Oct 4 2020, 03:30 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Nov 13 2020, 12:51 AM
Post #446


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



I think I am ready for Wrye Bash. I've never used it before, except for clearing the A-bomb. I've had WB for years now, just have never used its modding side. The thing is, there's so many pieces missing from my Oblivion over the years, creatures which once showed up in dungeons have been missing a long time, birds in the air, and so on. I never see rainbows (yet have something installed which should display them). I hope that Bash can restore these things.

I know how it works, sort of. Been using Wrye Smash for Skyrim for years. For Oblivion, it seems to be the same. We start by copying archives into the Installers page, right? But is there some thing else I should do first? Does it matter that I've already had mods and OMODs installed for years?

This post has been edited by Renee: Nov 13 2020, 12:58 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Nov 19 2020, 01:59 PM
Post #447


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



QUOTE(Renee @ Nov 12 2020, 06:51 PM) *

I think I am ready for Wrye Bash. I've never used it before, except for clearing the A-bomb. I've had WB for years now, just have never used its modding side. The thing is, there's so many pieces missing from my Oblivion over the years, creatures which once showed up in dungeons have been missing a long time, birds in the air, and so on. I never see rainbows (yet have something installed which should display them). I hope that Bash can restore these things.

I know how it works, sort of. Been using Wrye Smash for Skyrim for years. For Oblivion, it seems to be the same. We start by copying archives into the Installers page, right? But is there some thing else I should do first? Does it matter that I've already had mods and OMODs installed for years?


Well let me answer your question, lost one. NO! No we don't need to prepare for Wrye Bash! Sorry it took so long to answer! Now begone!

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

23 Pages V « < 21 22 23
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 1st December 2020 - 10:13 AM