Can somebody write me a script please?

Post » Fri Apr 29, 2011 6:00 am

Ok I was planning on making a quest about you entering right outside of a metro train tunnel. there is a dead guy out there with a note saying that he was kicked out of the train (his home) by the raiders. So anyway I'm not exactly sure how to make a script for what I'm doing.
I have like 3 or 4 stages or something. Ok, here the name, Clearing Out the Raiders, it's ID is COTR. And heres the stages I wanted: First pickup the Train door Key, Second, pickup the train schematics, third go in the train door, Fourth, get a key to an armory.
It's not that far done yet, but when it is.... yeah. And here is a download link to it http://www.megaupload.com/?d=HZ57V5FN


Thanks in advanced.
User avatar
Katy Hogben
 
Posts: 3457
Joined: Mon Oct 30, 2006 12:20 am

Post » Thu Apr 28, 2011 10:04 pm

You're asking for far more than just a script, you want someone to make a whole quest for you. I doubt very much if that's going to happen, anyone with the skills to do that is no doubt already busy working on their own thing. You should just learn how to do it yourself.
User avatar
Silvia Gil
 
Posts: 3433
Joined: Mon Nov 20, 2006 9:31 pm

Post » Thu Apr 28, 2011 9:46 pm

You're asking for far more than just a script, you want someone to make a whole quest for you. I doubt very much if that's going to happen, anyone with the skills to do that is no doubt already busy working on their own thing. You should just learn how to do it yourself.

No, I was asking for a script to put in the script box for the quest.
User avatar
Jeremy Kenney
 
Posts: 3293
Joined: Sun Aug 05, 2007 5:36 pm

Post » Fri Apr 29, 2011 2:29 am

You've not really described what you want a script for. You have a bunch of quest stages. Presumably you want to put scripts on the various doors and keys to change the quest stages? It's not like you really need help for that, and they're nothing to do with the quest stage result scripts.
User avatar
Lory Da Costa
 
Posts: 3463
Joined: Fri Dec 15, 2006 12:30 pm

Post » Fri Apr 29, 2011 1:20 am

You've not really described what you want a script for. You have a bunch of quest stages. Presumably you want to put scripts on the various doors and keys to change the quest stages? It's not like you really need help for that, and they're nothing to do with the quest stage result scripts.

Well I'm not really doing that good in the quest, I need help with making it do something other than state the name and first quest and nothing else. Don't you need a script to make it go to the next stage or something, cause if you don't, well I'm doing something wrong, right now, I really need it to get the key pass, then go to the train door. But nothing happens when I pick the key up.
User avatar
i grind hard
 
Posts: 3463
Joined: Sat Aug 18, 2007 2:58 am

Post » Fri Apr 29, 2011 8:21 am

Well I'm not really doing that good in the quest, I need help with making it do something other than state the name and first quest and nothing else. Don't you need a script to make it go to the next stage or something, cause if you don't, well I'm doing something wrong, right now, I really need it to get the key pass, then go to the train door. But nothing happens when I pick the key up.


You might want to check this out http://geck.gamesas.com/index.php/Quest_and_Dialogue_Tutorial. It's a little incomplete (the perk reward mentioned isn't there) but it might be useful to work through this to see how quests objectives and associated scripts work.
User avatar
Kelsey Anna Farley
 
Posts: 3433
Joined: Fri Jun 30, 2006 10:33 pm

Post » Fri Apr 29, 2011 12:36 pm

Well I'm not really doing that good in the quest, I need help with making it do something other than state the name and first quest and nothing else. Don't you need a script to make it go to the next stage or something, cause if you don't, well I'm doing something wrong, right now, I really need it to get the key pass, then go to the train door. But nothing happens when I pick the key up.
To change a quest's stage, you need to call SetStage YourQuest NewStage, e.g. SetStage TrainStation 20. The quest results script is something that gets called /when the quest hits that stage/, so it is of no use to you in actually changing the quest stage forwards.

If you want the quest stage to change when you pick up the key, you will need to make a key with a script on it which calls SetStage to change the stage. Currently nothing happens when you pick the key up because the game is not an intelligent psychic being that knows things without being told them; it has no idea that key should advance the quest.
User avatar
Trevor Bostwick
 
Posts: 3393
Joined: Tue Sep 25, 2007 10:51 am

Post » Fri Apr 29, 2011 11:28 am


If you want the quest stage to change when you pick up the key, you will need to make a key with a script on it which calls SetStage to change the stage. Currently nothing happens when you pick the key


Like make a script that literally says sestage to change the stage? Cause if not, like I said before, I'm no good at scripting, maybe can you give me an example like that please?
User avatar
I love YOu
 
Posts: 3505
Joined: Wed Aug 09, 2006 12:05 pm

Post » Fri Apr 29, 2011 10:42 am

scn MyKeyScript		;You can name your script anything, but this first line must start with 'scn'Begin OnAdd	If GetStage MyQuestName == X	;Rreplace 'X' with the stage needed before the key is found		SetStage MyQuestName Y	;Replace 'Y' with the appropriate stage value for your quest	EndIfEnd


This script need to run on the key. Anything after a semi-colon (;) is a comment.
User avatar
Greg Swan
 
Posts: 3413
Joined: Tue Jun 05, 2007 12:49 am

Post » Fri Apr 29, 2011 7:41 am

scn MyKeyScript		;You can name your script anything, but this first line must start with 'scn'Begin OnAdd	If GetStage MyQuestName == X	;Rreplace 'X' with the stage needed before the key is found		SetStage MyQuestName Y	;Replace 'Y' with the appropriate stage value for your quest	EndIfEnd


This script need to run on the key. Anything after a semi-colon (;) is a comment.

THANK YOU!! But also, I did forget to mention that the quest was started by a trigger.
User avatar
Julie Serebrekoff
 
Posts: 3359
Joined: Sun Dec 24, 2006 4:41 am

Post » Fri Apr 29, 2011 8:11 am

That shouldn't matter unless the key is picked up before the trigger activates that start of the quest.
User avatar
x a million...
 
Posts: 3464
Joined: Tue Jun 13, 2006 2:59 pm


Return to Fallout 3