Jump to content

The_Vyper

Members
  • Posts

    726
  • Joined

  • Last visited

Nexus Mods Profile

About The_Vyper

Profile Fields

  • Country
    None

Recent Profile Visitors

11271 profile views

The_Vyper's Achievements

Mentor

Mentor (12/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post
  • Collaborator

Recent Badges

1

Reputation

  1. The problem you're running into actually has to do with the way ownership is processed by the game engine. If something that can be locked (such as a container or door) is owned by the Player or an NPC, the owner will be able to access it without a key regardless of lock level. That's something that can't be changed at the modder level. There is a possible workaround, but it requires a few steps: 1. Place two unique chests in the cell; one owned by the NPC and the other without ownership of any kind. 2. Make both chests persistent references with their own unique RefIDs and set the Player's chest to "Initially disabled" (I'll use PkNpcChestRef and PkPlayerChestRTef as examples, but you can choose whatever you want for a RefID as long as it's unique). 3.Add a script to the key that will disable the NPC's chest, enable the Player's chest, and copy everything in the NPC's chest to the Player's chest once the Player is given the key. The script itself should look like this: scn PkStanTiKeyScript Short DoOnce Begin OnAdd Player ; this block will only run when the key is added to the Player's inventory If DoOnce == 0 PkNpcChestRef.DuplicateAllItems PkPlayerChestRef PkNpcChestRef.Disable PkPlayerChestRef.Enable Set DoOnce to 1 EndIf End That should fix the "stealing" problem (as long as the cell isn't owned by anyone) while also requiring the player to have the key in order to open it.
  2. TheMastersSon's suggestion is a good one, but you also might want to try this one: https://www.nexusmods.com/oblivion/mods/16858/? It does indeed. Just don't ever use it on Martin, especially after he dons a certain fancy outfit; it'll freeze the game.
  3. I ban Alt3rn1ty for killing the orchestra. Ni!
  4. Does anyone have any idea on how to fix this weirdness?
  5. The problem with using OnTrigger instead of OnTriggerActor is that OnTrigger runs when any havoked object hits the trigger zone. I need this to run only when an actor triggers it, and I need the script to be as generic as possible so I can place multiple instances of this setup in game without needing to script each one individually. A full breakdown of what I'm trying to accomplish is: 1. Actor enters trigger zone (creature, NPC, or Player) 2.Timer starts counting down. 3. Timer reaches 0, caster fires at the triggering actor. 4. Repeat 2-3 for as long as the actor is within the trigger zone. 5. Actor exits trigger zone, caster stops shooting. 6. Actor re-enters trigger zone (or a new actor does). 7. Repeat 2-5. What's actually happening: 1. Actor enters trigger zone (creature, NPC, or Player) 2.Timer starts counting down. 3. Timer reaches 0, caster fires at the triggering actor. 4. Timer starts counting down again. 5. Timer reaches 0, caster fires north. (maybe it has a problem with Skyrim?) 6. Repeat 4-5 for as long as the actor is within the trigger zone. 7. Actor exits trigger zone, caster stops shooting. 8. Actor re-enters trigger zone (or a new actor does). 9. Repeat 2-7. I'm wondering if the Triggered short might be the part of the problem. Should I eliminate that and just go with the timer? This may be unrelated, but the "casting reference fires north" issue is one I've run into before when trying to script an activator to fire at multiple persistent references in sequence. If the target references are static objects (such as XMarkers), the shooting activator will only fire north, although it will fire at the appropriate intervals. If the target references are activators (enabled or disabled), the caster will fire in the correct directions at the correct intervals.
  6. I'm trying to script a trigger zone to cause a linked reference to fire at any actor who crosses its threshold, and continues to fire at them periodically while they remain withing the trigger zone's boundary. The script I'm using is: scn AAAATestTrigZoneDingus01Script Short Triggered Ref Monkey Ref Blastar Float Timer Begin OnTriggerActor If Triggered == 0 Set Triggered to 1 Set Blastar to GetParentRef Set Monkey to GetActionRef Set Timer to 1 EndIf End Begin GameMode If Triggered == 1 If Timer <= 0 Blastar.Cast MajesticDmgHealth10 Monkey Set Triggered to 0 Else Set Timer to Timer - GetSecondsPassed EndIf EndIf End The problem is that the reference only fires at the triggering actor once, then fires straight north until the actor leaves the trigger zone boundary. If the actor then re-enters the trigger zone, the reference fires on them once more then starts firing north again. Also, if I increase the Timer in the OnTriggerActor block, the reference refuses to fire at all. Any ideas on how to fix this so the reference consistently fires on the triggering actor (and does so once every 4 to 8 seconds instead of once per second)?
  7. I'm trying to modify the script for those spell-casting stones in Ayleid ruins so they target all actors in range instead of just the Player. The original script is: My modified version is: For some reason, this does absolutely nothing; it doesn't fire at anyone or anything, or even play any animations. What do I need to do to get this thing to fire at every creature and/or NPC in range?
  8. They are, but you can create a custom list and choose what Player level each item shows up for.
  9. I don't use that mod myself, but if the spells are classified as "Lesser Powers" they will not increase your skill in the related magic school(s). If they're regular spells, you can change them to lesser powers in the CS.
  10. I ban Pagafyr for using telekinesis to remove one of my buttons and exposing part of my insignia.
  11. I ban Pagafyr for trying to discover my true identity. :ninja: I's secret for a reason. :whistling:
  12. I ban Pagafyr for misspelling TARDIS (Time And Relative Dimension In Space) and for assuming I borrowed it without the Doctor's knowledge or permission. You think I want to incur the Doctor's wrath? No way! I'd rather face an army of Daleks! I also ban PoorlyAged for having an avatar from Avatar.
  13. I ban Pagafyr for banning everyone in the "Ban for Fun" thread, and for sending squads of cybernetic samurai squirrels to attack my petunias.
  14. I ban Pagafyr for counting three consecutive bans as two. And because of other reasons.
  15. I ban Pagafyr for being in the Mountain Time Zone.
×
×
  • Create New...