Jump to content

Custom Remake of the Vigor Tester: SCRIPT HELP


BerlinRunner

Recommended Posts

I am making a vigor tester like machine, through a terminal.

 

if you guys could help me with the scripting that would be great.

 

What I need basically is that I need each option to be unavailable AFTER the choices have been made.

 

This is what I need.

 

1. Script for player to choose name, ONLY ONCE

 

2. Script for player to choose gender ONLY ONCE

 

3. Script for player to choose 3 TAG Skills ONLY ONCE

 

4. Script for player to choose S.P.E.C.I.A.L. to increase with 3 points and decrease points if they want, ONLY ONCE

 

5. Script for player to choose traits, 2 traits to choose from, ONLY ONCE.

 

6. Script for player to choose how there character should appear ONLY ONCE.

 

7. *Custom* script for merchandise, weapons, etc. but only allow once ^ these have been completed.

 

 

I know how to do some of these, but I have had problems with them when it comes to only allowing the action to be committed once. Thanks a lot. This is for the Great Baron Mod by the way.

Link to comment
Share on other sites

Hmm, would it not be possible to progress through the terminal like normal (calling up the relevant menus as you go through), advancing a quest so that after each step the quest moves on and the Terminal shows a different entry, then locking out the terminal once you're done?

Link to comment
Share on other sites

I am making a vigor tester like machine, through a terminal.

 

if you guys could help me with the scripting that would be great.

 

What I need basically is that I need each option to be unavailable AFTER the choices have been made.

Actually this one is pretty easy and you can just build the terminal essentially as per you would normally, with a couple of additional steps. Add a simple script to the terminal to keep track of your main menu vars (short bNameDone, short bGenderDone etc). Add a condition to each main entry that corresponds to the vars . For example a condition on Name would be bNameDone != 1 (or bNameDone == 0) then in the result script of each change the var to 1. ie the last line of the result script for Name would be "set bNameDone to 1".

 

The result script flips the variable and the condition prevents a menu choice from coming up if it's variable has been tripped.

 

Easy peasy.

Link to comment
Share on other sites

Yeah I really didn't have any idea where to put it, but regardless, thanks, Dev.

 

Anyways, I'll give it a shot, and I'll refer to another script from ALT Start Roleplaying Mod to refer to.

Link to comment
Share on other sites

I couldn't figure it out on my own, Devin, if you could give me a sample script, I'd appreciate it. I can probably figure it out from there.

The script itself doesn't really have much to it, just holds the variables. All your heavy lifting will be done in the result scripts in the terminal entries. But I can whip you up a small example when time allows.

Link to comment
Share on other sites

if you could, can you please do the Race menu one or the SPECIAL one?

I couldn't say if I'll have time to. Might be able to swing a quick little script and terminal entry with the name menu and or race (and function). But honestly most of the scripts are just calling up a menumode (1048 is char gen, 1036 is race sex etc) by their functions (like race is showRaceMenu) so they are pretty easy.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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