Jump to content

Noob Q´s: Sitting on thrones and spell to increase weapon damage


sabiusman

Recommended Posts

Hi guys, this is my first post here but I feel rather lacking in resources for a mod I am creating and could really use some simple tips.

 

1. I want to create an npc that is able to sit on an existing throne (In this case Baelgruff´s throne in whiterun). I basically copied the scripts from the Jarl to my npc but he only stands idle by the chair. I know this is a core problem I dont quite understand yet but must be really simple to solve.

 

2. Is there a way to create a spell that increases the damage done by weapons? I saw the one that increases attack speed, but not the damage.

 

I know they are very simple questions, but have looked all over the place for them with no avail, I would really appreciate some help!

 

Thanks guys :smile:

Link to comment
Share on other sites

Any NPC can set on a throne, you just need to assign an AI package to the NPC that will direct the NPC to sit on the throne. No scripting is required. However, some furniture are flagged with ownership status, in order to restrict their usage to a particular NPC or a particular faction. Baalgruf's throne is likely thus restricted. Editing the reference and removing the ownership data will then allow your NPC to execute the 'sit on that throne' package (incidentally, it would also allow any other NPC sandboxing in the area to sit on it).

Link to comment
Share on other sites

Ah Thanks guys, ill give it a shot. I did try to increase the AlchFortifyOneHanded and TwoHanded, but it doesnt seem to work. Ill do more testing and see the results.

 

Thanks for the throne tip, ill edit the data and see how it goes. I did try to add the factions balgruuf had as a jarl but it didnt work, ill try the restrictons to the chair.

 

Ill report what I find.

Link to comment
Share on other sites

Hi. I managed to do some fixes on both ends.

 

1. Since it was just an experimentation of an npc that wanted to overthrow the jarl, I duplicated and deleted the jarl´s chair, then pasted the duplicate and re programmed the jarl with the same behaviour but with the new chair. I just wanted to mess around with things to see if it could be done.This method is obviously NOT going to work for a mod that must go seamlessly with the game and it was just a way to mess with everything as a noob.

 

2. For the spell I made some papyrus scripting. The thing is, I sometimes like to go in game, setav my health to huge amounts and feel godlike. I wanted an npc that would increase weapon damage gradually on some conditionals and I was able to do so by programmming an onhit event, and character.modav("attackdamagemult", 2). Made the npc essential and every time the npc "died" she would top herself, duplicate health (with setav and global variables), and duplicate attack damage as well. The only problem is that with very huge numbers, the weapon blows displace the target too much and blow them off the map, so this cant get too big, so at the same time, it lowers the targets health by some factor. It worked amazingly well, and now I have an npc that can kill cheating players :D

 

The only problem I have now is that I cant replicate the same behavior with destruction spells, it seems to be capped to a point. I am thinking in doing a script to the spell to modav the target health by a straight percentage. Ill report on that.

 

Thanks for your help.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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