Is there a script library where people can post their script

Post » Mon Nov 19, 2012 6:02 pm

Mobileread has something like this in their Calibre forum. People post their plug-ins with a short description of what it does.
It would be nice to have a library of working scripts so people won't keep re-inventing the wheel.
User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am

Post » Mon Nov 19, 2012 3:47 pm

not sure if there is a colection of scripts out there, but http://www.creationkit.com/Category:Papyrus do hold a great deal of it, and many scripts are build of those. Its a matter of understanding the language and figuring out where to fill in what you need it to do
User avatar
Horse gal smithe
 
Posts: 3302
Joined: Wed Jul 05, 2006 9:23 pm

Post » Mon Nov 19, 2012 3:22 am

One of the best sources of scripts is published mods. Or at least that was true for all of the previous Elder Scrolls and Fallout games. When mod creators include the source files in their mods like they should you have plenty of real-world examples to use. Unfortunately a number of Skyrim modders seem to prefer keeping their scripts "secret" by not including the psc files. That was fine back in the very first days of Skyrim modding when the crazy people couldn't wait for the CK and were creating the .pex files by hand, but people really should be including the .psc files for all new mods.
User avatar
Pants
 
Posts: 3440
Joined: Tue Jun 27, 2006 4:34 am

Post » Mon Nov 19, 2012 1:56 pm

One of the best sources of scripts is published mods. Or at least that was true for all of the previous Elder Scrolls and Fallout games. When mod creators include the source files in their mods like they should you have plenty of real-world examples to use. Unfortunately a number of Skyrim modders seem to prefer keeping their scripts "secret" by not including the psc files. That was fine back in the very first days of Skyrim modding when the crazy people couldn't wait for the CK and were creating the .pex files by hand, but people really should be including the .psc files for all new mods.
Keep them secret? Haha, who would want that? I mean, sure, if your mod contains a 7000 line script that you spent 4 months writing, I could understand keeping that secret. But if your mod contains a large amount of 1-30 line scripts for doing things around, why? I plan on including my source files when Falskaar is released. I just have to remember to include them! :P
User avatar
xxLindsAffec
 
Posts: 3604
Joined: Sun Jan 14, 2007 10:39 pm

Post » Mon Nov 19, 2012 6:49 am

The wiki has a http://www.creationkit.com/Complete_Example_Scripts page, and TESAlliance has a http://tesalliance.org/forums/index.php?/forum/132-skyrim-script-repository/. Either of those are probably similar to what you're looking for.

Cipscis
User avatar
Tiffany Holmes
 
Posts: 3351
Joined: Sun Sep 10, 2006 2:28 am

Post » Mon Nov 19, 2012 12:08 pm

I'm pretty sure PSCs are automatically packed in BSAs now (v1.6.89+) which wasn't formerly the case. It might not be that modders had intentionally excluded their PSCs, but that they were just previously not included w/o manual dragondrop.
User avatar
Lynette Wilson
 
Posts: 3424
Joined: Fri Jul 14, 2006 4:20 pm

Post » Mon Nov 19, 2012 3:19 pm

I'm pretty sure PSCs are automatically packed in BSAs now (v1.6.89+) which wasn't formerly the case. It might not be that modders had intentionally excluded their PSCs, but that they were just previously not included w/o manual dragondrop.
Oh jeeze. I still need to figure out the whole BSA thing. I heard a lot of bad things about it a while back and now I'm scared. :P
User avatar
Amy Siebenhaar
 
Posts: 3426
Joined: Fri Aug 10, 2007 1:51 am

Post » Mon Nov 19, 2012 5:00 am

Oh jeeze. I still need to figure out the whole BSA thing. I heard a lot of bad things about it a while back and now I'm scared. :P
Just look closely at what's included by default and dragondrop anything that isn't automatically included. The problems I've encountered, like alias scripts not being included, have been fixed.
User avatar
Nathan Maughan
 
Posts: 3405
Joined: Sun Jun 10, 2007 11:24 pm

Post » Mon Nov 19, 2012 2:56 pm

Just look closely at what's included by default and dragondrop anything that isn't automatically included. The problems I've encountered, like alias scripts not being included, have been fixed.
That becomes rather difficult when between LOD, voice, scripts, and facegen data, there's over like 5000-8000 files that need to make it in... xD

EDIT: Oh hey, the packer totally didn't work before but now it seems too. I'm gonna try it out.

DOUBLE EDIT: It crashes when I try to pack my 5000+ files into a BSA. T.T
User avatar
Portions
 
Posts: 3499
Joined: Thu Jun 14, 2007 1:47 am

Post » Mon Nov 19, 2012 7:59 am

Yep a lot of mods have their sources included and bsa does include sources by default when they are made through the CK

Keep them secret? Haha, who would want that? I mean, sure, if your mod contains a 7000 line script that you spent 4 months writing, I could understand keeping that secret. But if your mod contains a large amount of 1-30 line scripts for doing things around, why? I plan on including my source files when Falskaar is released. I just have to remember to include them! :tongue:
But, yes, unfortunately some people dont want to show their sources. Even If you ask.

Anyway, I have one rules for myself: never run those mods.
I want to check if the scripts are safe and if the coder knows what he is doing. I got too many troubles with some badly coded scripts.
Skyrim is a very open game, we can change anything, I dont see one single reason for a mod to be closed.
User avatar
Ells
 
Posts: 3430
Joined: Thu Aug 10, 2006 9:03 pm

Post » Mon Nov 19, 2012 3:37 pm

It is possible, by hand, to convert a disassembled *.pas file back into a *.psc file that will be close to the original, but it's also quite difficult. I don't really see any good reason for mod authors not to make their source available either. Personally, I make a point not only of making my source available, but also noting that anyone can use anything they find in there without needing to contact me about it or provide credit. Looking at others' source is a great way to learn - it's how I originally learned to script back with Oblivion.

Cipscis
User avatar
Stephanie Valentine
 
Posts: 3281
Joined: Wed Jun 28, 2006 2:09 pm

Post » Mon Nov 19, 2012 11:43 am

I not only publish my scripts for my hunting mod, I openly state in my mod description that I do and the reason why.

A lot of my scripts a short. But I have a good amount of longer scripts for quests that deal with variables, and the fetch style quests. I want to share how I built these quests, so people can not only learn from what I've done, but improve on it.

Maybe I'm alone in this thinking, maybe I'm not, but I see it as we're (us modders) all in this together :)
User avatar
Sierra Ritsuka
 
Posts: 3506
Joined: Mon Dec 11, 2006 7:56 am

Post » Mon Nov 19, 2012 12:15 pm

I agree with that. Now, if people copy my story, or dialogue files, etc; I have a problem with that. But if people want to learn from and read my scripts, even copy+paste them for their own mods, I have absolutely no issues with that whatsoever.
User avatar
Kyra
 
Posts: 3365
Joined: Mon Jan 29, 2007 8:24 am


Return to V - Skyrim