Jump to content

scripting tutorials


fg109

Recommended Posts

I created the bow, and it seems to work as intended... I didn't add in that last effect because there's no easy way to tell what's in someone's inventory. If I wanted to put that in, I would need the script to try and drop everything in the game from the player and the target.

 

Don't know if I want to do a tutorial on it though, because I needed to put in 4 scripts.

Edited by fg109
Link to comment
Share on other sites

Looks like someone added it to categories for you, unless you did. Was going there to but it's good to go :D Tutorials on the left side nav bar, then in the list at the bottom of the page as it's title :D also in 'scripting' or something, wherever that is. Looks like that just buries it in the big list of object scripts like actor object alias and whatnot.

 

Awesome that you're doing that man!

 

Only feedback I can give is... so ... u making moar nao plz?!

 

It was good, good length, glad you put the full thing at the end, good pictures, good use of the note things(forgot about using those on my silly voice thing). More in that style would be great. Wiki pages are generally pretty forgiving so long as you provide good content :D

 

Thoughts for other stuff outside of common task scripting if you feel like it:

 

 

One thing I'm not sure people are too up on is how useful some of the existing scripts can be for stuff if you set their properties right. The scripting may already be done for them.

 

1. Some quick stuff on people who know, or at least think think they know, absolutely nothing about scripting might be great too. I've been considering it, but I don't exactly have a portfolio of working, innovative scripts to inspire much confidence in my instruction. Sometimes all people need to know is where they are in relation to being able to do what they want. Usually, for Skyrim stuff they're just a few lines of instruction away. Often, they don't even need to script themselves, only understand the relationship between objects, scripts attached to them, their properties, and what some of what's already there can do for them.

 

2. I'm pretty sure it doesn't exist anywhere outside of comments in the scripts, so I think a condensed summary of what some of the 'default' scripts do, and how to configure them, would go a LONG way to getting some people started. You helped me a few days ago decide, at least for testing purposes, to use a built in script(when I was having trouble getting a trigger to run a story manager script event quest). I've looked through many of them (the default ones at least) a bunch before, but this time I was looking with a specific purpose in mind. The more I looked into it (defaultWE trigger and the comments inside) the more I realize how all purpose it really is. A trigger with that script attached, can start a quest and, via linked elements, fill aliases with as many markers or whatever around the trigger you want. This saves so many headaches of worrying about how to start, how to add quest elements, where to put them etc, in one simple, developer designed solution. Player nears, it's all created for you relative to the trigger and it's linked elements. You can't find this stuff until you look deep inside the comments of each individual script. It even completely clears all the quest elements for you when it's all done using some not so obvious techniques. Who wants to code stuff for that kind of thing?

 

This is probably outside of what you were thinking for tutorials, but here it is :D

 

 

Link to comment
Share on other sites

write a tutorial that explains the parts of the script and how they work. most just show you how to copy a script

 

it's like giving a guy a fish instead of just teaching him to fish. when he's hungry again he's still screwed and that's how i felt.

 

"yay i can copy these scripts that were up, but they don't apply to what i need and i have no clue what my options are for creating one of my own"

Link to comment
Share on other sites

write a tutorial that explains the parts of the script and how they work. most just show you how to copy a script

 

it's like giving a guy a fish instead of just teaching him to fish. when he's hungry again he's still screwed and that's how i felt.

 

"yay i can copy these scripts that were up, but they don't apply to what i need and i have no clue what my options are for creating one of my own"

 

Exactly how i feel and worse when someone says "well script x to do y" and no explanation and if you ask for clarification they give a line or 2 of code that means absolutely nothing to someone who has never scripted anything ever.

Link to comment
Share on other sites

@SinderionsBones

 

Actually, I added the categories. Took me a bit, but I figured out how to do it myself. About the vanilla scripts, sad to say, but I've only looked through about 10 of them. I have no idea which ones would be useful or not.

 

 

@sulmithgreysin & jet4571

 

Yes, that's exactly what I want to do. I just worry that in the end, what I'm doing is not any different than what the devs did when they wrote their tutorials. I hope that when I write my tutorials, I'm explaining why something works, instead of just telling people to do something.

 

I was writing down some basic concepts in scripting that I've had to teach myself just now. It's all learning ideas without any application, but I hope that it'll help complete beginners.

 

But from your comments, I've decided to take a look at one of the vanilla scripts and dissect it line by line. I think I'll try the script for the weapon plaques, since so many people make player homes filled with them, and there appears to be something wrong with it that makes it not work correctly. Who knows, but maybe I'll figure out what's wrong with it. :turned:

Link to comment
Share on other sites

@SinderionsBones

 

Actually, I added the categories. Took me a bit, but I figured out how to do it myself. About the vanilla scripts, sad to say, but I've only looked through about 10 of them. I have no idea which ones would be useful or not.

 

 

@sulmithgreysin & jet4571

 

Yes, that's exactly what I want to do. I just worry that in the end, what I'm doing is not any different than what the devs did when they wrote their tutorials. I hope that when I write my tutorials, I'm explaining why something works, instead of just telling people to do something.

 

I was writing down some basic concepts in scripting that I've had to teach myself just now. It's all learning ideas without any application, but I hope that it'll help complete beginners.

 

But from your comments, I've decided to take a look at one of the vanilla scripts and dissect it line by line. I think I'll try the script for the weapon plaques, since so many people make player homes filled with them, and there appears to be something wrong with it that makes it not work correctly. Who knows, but maybe I'll figure out what's wrong with it. :turned:

 

 

well put it this way, i'm not stupid, i can learn scripting i'm 100% confident, but i simply need something that tells what all the parts do. i don't need to know how to put them all together, i just need to know what the point of each one is (or the major ones)

 

i don't mind trying to fix my own issues, figuring out how to get something to work, but when i don't really know where to start then that's not really possible

 

any idiot can copy a tutorial that says "make this script" but never actually says why this does this while that does that

the ones i've seen are really "how to do THIS script" and that's like copy/pasting something someone else did.

 

like my question about the spacing. that's something that stood out to me but none of the tutorials said a thing about it so i had to ask. when i know for what reason a bunch of parts exist, i can put them together and if i can't it's my own fault and i'll never grasp it anyway

 

whatever you end up doing though, thanks for the effort

Edited by sulmithgreysin
Link to comment
Share on other sites

What may be obvious to some people may not be so for others. Unless someone asks questions, I don't know what answers you're looking for. I'm just going to have to hope that what I write will be what you need, and if not, then you will have to point out what parts need clarifications.

 

I just took a look at the scripts for the weapon plaques, and there isn't anything wrong with them, other than a lot of debugging messages that have been commented out, and a few redundant lines.

 

I'll still dissect the script in my tutorial, but I think the problem with the weapon plaques will have to be looked at by a modeler instead.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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