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:

 

  Reveal hidden contents

 

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

  On 3/17/2012 at 3:03 AM, sulmithgreysin said:

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

  On 3/17/2012 at 4:36 AM, fg109 said:

@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...