Jump to content

Can't save scripts made in the GECK?!


RetroNutcase

Recommended Posts

Can you edit that post and put [ code ] [ /code ] tags around it to make it easier to read.

And... what's the problem?

Do you have the GECK-PU installed?

 

I don't have Geck-pu. Should i use it?

Edited by FrankFamily
Link to comment
Share on other sites

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

That is nice, but geck-pu is better. Cipscis can only check certain syntax, it is not really part of the game editor. For an unknown reason, Bethesda disabled the part of geck which displays error messages. Geck-pu re-enables it. You should use it, and then I am sure the above script will show some error such as a name which is spelled incorrectly.
Link to comment
Share on other sites

Don't put numbers in front of your editor IDs if you want them to work reliably in a script. They may be mistaken for FormIDs by the script compiler.

 

ShowMessage 0AUGA3ModificationMenu

 

player.unequipitem 0SteyrAUgA3CustomizationTool

 

if player.GetEquipped 0AUGA3 == 1

 

...etc

Link to comment
Share on other sites

  • 3 months later...

trying to make a Bink player script but can't save I am using Geck-pu but don't understand the msg. here is the script

 

---------------------------------

ScriptName TerminalScript

 

;Script for playing movies

 

 

Short Button

Short ButtonPressed

 

Begin OnActivate

 

Set ButtonPressed To 1

End

 

Begin GameMode

if (ButtonPressed == 1)

Set Button To GetButtonPressed

if (Button >= 0)

if (Button == 0)

PlayBink "TerminalMovies\LT - fnvvidtest.BiK" 1 1 1 1

Elseif (Button == 1)

 

Endif

 

 

 

end

---------------------------------------------------

 

the idea is that you click on a terminal and pick a video to play not sure if it will work as I have not been able to save it to test it. Geck-pu says there is a error on line 15 some sorta mismatched if statement but I don't understand it.

Link to comment
Share on other sites

I changed it to this to simplify it but still get errors, saying invalid if/end statements

------------------------------------------------------------

 

ScriptName TerminalScript

 

Scn TerminalScript

 

 

;Script for playing movies

 

ScriptName TerminalScript

 

Short Button

Short ButtonPressed

 

Begin OnActivate

ShowMessage TerminalScript

Set ButtonPressed To 1

End

 

Begin GameMode

if (ButtonPressed == 1)

Set Button To GetButtonPressed

 

PlayBink "TerminalMovies\LT - fnvvidtest.BiK" 1 1 1 1

Elseif (Button == 1)

endif

 

 

end

 

---------------------------------------------------

 

Basically I am trying to set a terminal to play different videos based on which number is pressed.

There will be more then one video but for now to test I have just one, if I can get it to work added the other choice should be as simple as added slightly altered copies of the first one.

 

I believe a menu will pop up in front of the player using this, I'd rather have a menu within the terminal it self so its more like real life but I don't know how to do that.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...