Post useful scripts?

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
User avatar
Cep
Member
Posts: 103
Joined: Fri Nov 14, 2003 2:28 am
Location: On a boat in the middle of nowhere
Contact:

Post useful scripts?

Post by Cep »

Hi all,

I was just wondering if we could use this forum to place up scripts that other people would find useful.

For instance say you have a script that allows an npc to force a greeting dependant on how many kagouti you had killed, you know that kind of thing.

What do you think?
User avatar
Greybeard
Member
Posts: 431
Joined: Thu Aug 21, 2003 11:07 am
Location: Shanarra
Contact:

Post by Greybeard »

Well, you've got the question in the right area :) Seems like no one wants to put anything in here. It is kind of a pain to copy scripts into the forum, but, well, maybe I'll drop a couple in here that I use quite often - just to start things off, ya know?

That brings up a concern: who's going to sort and categorize them so they stay useful? And will someone test them to make them as useful and efficient as possible?
Last edited by Greybeard on Sat Dec 20, 2003 12:39 pm, edited 1 time in total.
User avatar
Cep
Member
Posts: 103
Joined: Fri Nov 14, 2003 2:28 am
Location: On a boat in the middle of nowhere
Contact:

Post by Cep »

Well we could do what we used to at Scriptsharing. Post the script within the text, and within the title put a description of the script.

For instance:

Title : Say Hello! Script

Text: forcegreeting


(lame example I know :P)
Last edited by Cep on Sat Dec 20, 2003 12:49 pm, edited 1 time in total.
User avatar
Greybeard
Member
Posts: 431
Joined: Thu Aug 21, 2003 11:07 am
Location: Shanarra
Contact:

Post by Greybeard »

OK, Cep, I put one up. Let's see what happens.
User avatar
Rodan
Developer Emeritus
Posts: 1783
Joined: Thu Aug 21, 2003 10:20 am
Location: City of Black Light
Contact:

Post by Rodan »

I should post some of the ones I've used in Black Light. But some of the new forums started quickly and others will come up to speed soon.
"Never take life too seriously, you'll never get out of it alive!"
- Bugs Bunny

Yes, that is a Dusty (my cat)

Projects done:
Black Light (5-1)
Released - v.1 (done)
Claim 2-34
Lots of interiors for Black Light

Current Projects:
None
User avatar
Veet
Developer Emeritus
Posts: 328
Joined: Thu Aug 21, 2003 10:54 am
Location: Oregon

Post by Veet »

What kinds of scripts are we talking about?....I have an unfinished mod I was building a few months back that was suposed to be examples of fun ways to use scripts and activators as traps and riddles... :D
"Everyone is in favor of free speech. Hardly a day passes without its being extolled, but some people's idea of it is that they are free to say what they like, but if anyone else says anything back, that is an outrage."
-- Winston Churchill
RaJevir
Member
Posts: 101
Joined: Mon Sep 22, 2003 4:41 am
Location: Usually Tel Ouada, otherwise, try Elsweyr

Post by RaJevir »

Here's a script to make a dead creature container.
You simply make a container with the desired creature nif and use this script.

begin DieNow

short DoOnce

if (DoOnce != 3) //this number should be the final state of the DoOnce variable after the script is finished
if (DoOnce == 0)
PlayGroup, Death1
set DoOnce to 1
endif

if (DoOnce == 1)
if (GetSoundPlaying, "[First Death Sound]" )
StopSound, "[First Death Sound]"
set DoOnce to 2
endif
endif

if (DoOnce == 2)
if(GetSoundPlaying, "[Second Death SOund]" )
StopSound, "[Second Death SOund]"
set DoOnce to 3
endif
endif
endif

//repeat for all death sounds, in the order they're played

end DieNow
Last edited by RaJevir on Tue Dec 23, 2003 5:31 am, edited 1 time in total.
"Scrib specimen number two escaped from its pen today. Again. I shall have to find some other way to limit its mobility, as building higher walls seems to have little effect" -Mistress Rathra
User avatar
Cep
Member
Posts: 103
Joined: Fri Nov 14, 2003 2:28 am
Location: On a boat in the middle of nowhere
Contact:

Post by Cep »

Thanks Rajevir, post scripts as new threads though this way they can be easily located and people can leave comments on them specifically, even bug reports.

Veet! Please show us what you have! :D
User avatar
Veet
Developer Emeritus
Posts: 328
Joined: Thu Aug 21, 2003 10:54 am
Location: Oregon

Post by Veet »

okay I'll dust it off and see what I can do with it...though since I'm leaving tomorow (the 24th) It probably wont be till after new year that I can get it up.
"Everyone is in favor of free speech. Hardly a day passes without its being extolled, but some people's idea of it is that they are free to say what they like, but if anyone else says anything back, that is an outrage."
-- Winston Churchill
User avatar
Kothloth
Developer Emeritus
Posts: 886
Joined: Thu Aug 21, 2003 11:33 am
Location: Beppu, Japan
Contact:

Post by Kothloth »

Remember that the "script exploring" thread in this forum holds a *lot' of common useful scripts. I've found most what I've needed there I guess. Also, scripts isn't widely used (and shouldn't really be) before questmaking starts...
Locked