FrankFamily Posted May 30, 2011 Share Posted May 30, 2011 (edited) 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 May 30, 2011 by FrankFamily Link to comment Share on other sites More sharing options...
SpeedyB64 Posted May 30, 2011 Share Posted May 30, 2011 GECK power up makes the script compiler give proper errors that tell you what's wrong.Its essential for any major scripting. Link to comment Share on other sites More sharing options...
FrankFamily Posted May 31, 2011 Share Posted May 31, 2011 GECK power up makes the script compiler give proper errors that tell you what's wrong.Its essential for any major scripting. Well i use the cipscis validator -> http://www.cipscis.com/fallout/utilities/validator.aspxand it works. Link to comment Share on other sites More sharing options...
davidlallen Posted May 31, 2011 Share Posted May 31, 2011 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 More sharing options...
rickerhk Posted May 31, 2011 Share Posted May 31, 2011 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 More sharing options...
FrankFamily Posted June 4, 2011 Share Posted June 4, 2011 So i have to change the IDs of everything? ok thanks i'll try. :) Link to comment Share on other sites More sharing options...
CommodoreBlitz Posted September 4, 2011 Share Posted September 4, 2011 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 ButtonShort ButtonPressed Begin OnActivate Set ButtonPressed To 1End 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 More sharing options...
viennacalling Posted September 5, 2011 Share Posted September 5, 2011 Geck-pu says there is a error on line 15 some sorta mismatched if statement but I don't understand it. In your GameMode block you have three If's, so you have to have three matching EndIf's. Right now you have only one, so you're short two. Link to comment Share on other sites More sharing options...
CommodoreBlitz Posted September 5, 2011 Share Posted September 5, 2011 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 ButtonShort ButtonPressed Begin OnActivate ShowMessage TerminalScript Set ButtonPressed To 1End 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 More sharing options...
viennacalling Posted September 5, 2011 Share Posted September 5, 2011 ScriptName TerminalScriptScn TerminalScriptScriptName TerminalScript Unless you've copied and pasted wrong, you've now got three scriptnames. Delete two of them. Link to comment Share on other sites More sharing options...
Recommended Posts