Jump to content

BerzerkerKidd

Members
  • Posts

    11
  • Joined

  • Last visited

Nexus Mods Profile

About BerzerkerKidd

Profile Fields

  • Country
    United States

BerzerkerKidd's Achievements

Apprentice

Apprentice (3/14)

0

Reputation

  1. I'm making a mod where when equipping a belt, it teleports you to an area with a bunch of trainers. To do this I just copied the script from the Daedric Sanctuary amulet, buuuuuut I found out that it nulls the script after you click yes once, I managed to get it to work multiple times, but I'm still very new to scripting, so I was hoping someone could point out any redundant lines in the script for me? I want the message box to stay the same, asking yes or no before tping you to the cell, but everything else I need to remove EDIT: If you could also tell me what to put in it so it can't be used in the Heart Chamber, that'd be swell and I'd be forever thankful to you ;u; here's what I got: Begin doveTrainingBeltScript short button short messageOn short reset short OnPcEquip ;if ( MenuMode == 1 ) ; Return ;endif if ( OnPCEquip == 0 ) set reset to 0 endif if ( reset == 1 ) return endif if ( OnPCEquip == 1 ) if ( reset == 0 ) Set OnPCEquip to 0 MessageBox "Would you like to travel to the Hall of Masters?" "Yes" "No" set messageOn to 1 endif endif if ( messageOn == 1) set button to GetButtonPressed if ( button >= 0 ) set messageOn to 0 endif if ( button == 0 ) Player->PositionCell, 0, 0, 14000, 0, "Hall of Masters" set reset to 1 elseif ( button == 1 ) set reset to 1 return endif endif End Thanks in advance for the help! c:
  2. Sorry for late reply! but I literally just copied the script that's attached to wuuthrad, so anything that you see is what Bethesda did, I just swapped the wuuthrad perk with my own... so unless wuuthrad doesn't work either, which tbh with their track record I wouldn't honestly be surprised, then idk how they did it :/ I'll try what you mentioned at some point and see if that works
  3. So, I'm trying to make a bow that does the opposite effect of Wuuthrad, so instead of it doing +%20 damage to elven races, I want it to do +%20 damage to human races. Problem is, it just won't work no matter how closely I copy the script that adds the WuuthradPerk... any tips or ideas? Here's what I have so far, as well as any relevant info Scriptname DoveMagicBowDamageScript extends ObjectReference {Perk Property MEADovePerk auto Event OnEquipped(Actor akActor) akActor.AddPerk(MEADovePerk) EndEvent Event OnUnEquipped(Actor akActor) akActor.RemovePerk(MEADovePerk) EndEvent} Perk Property MEADovePerk Auto Properties: Property name: MEADovePerk Type: Perk Value: MEADovePerk I also made the perk in the exact same way as the CA06BladeOfYsgramorPerk, but obviously subbing in my weapon under 'weapon' and the human races as the targets Any help is super appreciated! Thank you in advance!
  4. Oh, and thank you guys for being so helpful, even if I couldn't personally get those methods to work at the time (through my own stupidity, nonetheless hahaha), you guys got me further than any tutorial I've found has lol
  5. But, now I have a new problem, I don't want it to just be in the world from the start, so I wanna have an event happen at a certain level, say level 40. so now I have a whole new scripting journey ahead of me lmao if you guys wanna keep helping me out, I made the bow's crafting recipe require an ability that I bound to a book, so that's all working, but I want the book to appear with the summoned FX after a certain level and entering whiterun (example)
  6. I got it to work, I didn't even have to link it to an enchantment... I just forgot to set the properties of the script in ck hahahaha I should really stress how new I am to this, I had literally just started practicing the day of posting lmao but here's the code that worked, just attached it to the bow n messed with the properties, and bam! 100 magic arrows on equip, and then removed when unequipped Scriptname DoveMagicBowScript extends ObjectReference Ammo Property DoveCustomArrow auto Event OnEquipped(Actor akActor) akActor.AddItem(DoveCustomArrow,100,TRUE) akActor.EquipItem(DoveCustomArrow,TRUE,TRUE) debug.notification("Changed For Funsies") endEvent Event OnUnequipped(Actor akActor) akActor.RemoveItem(DoveCustomArrow,akActor.getitemcount(DoveCustomArrow),TRUE) debug.notification("Changed For Funsies.") endEvent
  7. Don't worry, I always use coc from the menu to test :smile: Trying this, still not working. I should say that I already have an enchantment on the bow, so I did what you said, made an ability that would apply the script, but I just added it to the already existing spell on the enchantment. The abiliity shows in my active effects tab on equip and disappears when unequipped, so that part worked, but the script still won't run :sad:
  8. I'm learning papyrus from immersion, and I can't figure out why this won't work, even after searching other topics of similar kinds. Any help would be awesome, but please try to put it simply, and educate me if you have the patience! My script is meant to make my bow act similarly to a bound bow, spawning in and equipping special arrows when equipped, and removing them when unequipped. here's my script Scriptname DoveCustomArrowScript extends ObjectReference Ammo Property DoveCustomArrow auto Event OnEquipped(Actor akActor) if akActor == Game.GetPlayer() Game.GetPlayer().AddItem(DoveCustomArrow,100,TRUE) Game.GetPlayer().EquipItem(DoveCustomArrow,TRUE,TRUE) endIf endEvent Event OnUnequipped(Actor akActor) if akActor == Game.GetPlayer() Game.GetPlayer().RemoveItem(DoveCustomArrow,akActor.getitemcount(DoveCustomArrow),TRUE) endIf endEvent Repost cuz I'm dumb, thank you all for being cool <3
  9. Going to remake this topic with correct title, but will still peek here for any tips
  10. Sorry for incorrect title, I'm also new to the forums and my first problem was the script not compiling :(
  11. I'm learning papyrus from immersion, and I can't figure out why this won't work, any help would be awesome, but please try to put it simply, and educate me if you have the patience! My script is meant to make my bow act similarly to a bound bow, spawning in and equipping special arrows when equipped, and removing them when unequipped heres my script Scriptname DoveCustomArrowScript extends ObjectReference Ammo Property DoveCustomArrow auto Event OnEquipped(Actor akActor) if akActor == Game.GetPlayer() Game.GetPlayer().AddItem(DoveCustomArrow,100,TRUE) Game.GetPlayer().EquipItem(DoveCustomArrow,TRUE,TRUE) endIf endEvent Event OnUnequipped(Actor akActor) if akActor == Game.GetPlayer() Game.GetPlayer().RemoveItem(DoveCustomArrow,akActor.getitemcount(DoveCustomArrow),TRUE) endIf endEvent
×
×
  • Create New...