gamegek3 Posted March 22, 2009 Share Posted March 22, 2009 Hi i started modding about two weeks ago and i get most aspects now except a few things.for example how do you make NPC's do what you want them to do? and how do you enchant a weapon?I also want to ask about scripting cuz i don't get anything from it...really nothing XDanyone knows a good guide or something? thx in advance,greetings gamegek Link to comment Share on other sites More sharing options...
xxXEvandarXxx Posted March 22, 2009 Share Posted March 22, 2009 To make the NPCs do what you want them to do, you need to work with the AI. I think there might be someting good here: http://cs.elderscrolls.com/constwiki/index.php/Portal:AI To create enchanted weapons, go to the Magic > Enchanting tab in the list to the left in the Object window. Then right click in the list to the right and select New. Give it a ID that you will remember, and add some magic effects. Then click OK, and change the Enchanting of the weapon to the ID of the one you just created, and then change the Enchantment to whatever you want. I'm not very good at scripting, but I started learning by looking at different scripts and then experimenting. But there's probably a better and easier way to learn scripting than that, take a look here: http://cs.elderscrolls.com/constwiki/index...ortal:Scripting Link to comment Share on other sites More sharing options...
ihateregisteringeverywhere Posted March 22, 2009 Share Posted March 22, 2009 Scripting itself isn't hard, it isn't hard at all. What's hard it warping your head around the subject. To grasp the logic behind it. After that it's a cake walk :). Unless it's not ;D. Let me quote one great modders words on this subject: Scripting is tough, especially when you're trying to do something new or creative. Some us have literally spent several weeks working on a single script, trying different things from different ways only to realize that it isn't going to work how we want, and either revising what we want, or coming back to it in a few months when something else we're doing presents a solution. I would imagine that most of the difficulty is coming just from being unfamiliar with some of the functions or blocktypes you are trying to use. I would suggest that you sit down and take a moment to think about where scripts are being run based on what they are attached to and what block types are used. For instance, scripts which are attached to items have scripting that runs on the item if a menumode or gamemode block is used, but runs on the actor if onequip, onadd, onunequip, onremove are used. Things using scripteffectstart scripteffectupdate and scripteffectfinish run on whatever is being hit by that spell or enchantment. Based on that, then considder what sorts of blocks you are trying to use to get references, variables, and if they work within the blocktypes used, and if they will return the right information or do the right thing to whatever that part of the script is being run on. Some functions, such as getself do not work on inventory items. Finally, considder that sometimes depending on what the script is attached to, and where or what thing is doing, that certain block types simply won't get run. For instance, although gamemode and menumode blocks can run on inventory items, they only run in specific instances. Gamemode blocks will only run when that item is dropped in the world, not when it is equipped. Menumode blocks will only run if the item is in the player's inventory. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.