One thing thats bugging me: If I right click on a page-tab, I don't get options to close this tab, etc. I have to go to File -> Close.
Lexx said:One thing thats bugging me: If I right click on a page-tab, I don't get options to close this tab, etc. I have to go to File -> Close.
Timeslip said:You can middle click a tab to close it. (Works with the search results in the bottom panel too.)
Works in visual studio and firefox, the two tabbed applications I keep open 99% of the time I have my computer on. I'm so used to it I didn't even think about doing anything else.Lexx said:Aw man, that's totally not common.
No, it's hardcoded for english atm. I need to add a new option to change it.Lexx said:/Edit: But something else. I am using german Fallout 2 version and if I open a script, I can't get the correct msg file shown. Anything I've overlooked? From where does it open the msg file anyway? Maybe some extra path in settings would be good for it.
Timeslip said:Committed to svn. Will be in the next modders pack release.Nirran said:any possibility of adding a replace function to the edtitor?
Middle mouse button can be emulated by pressing right and left buttons simultaneouslyTimeslip said:and a right click menu for tabs which does nothing except close them, for people without a middle mouse button.
More than necessary 1 argument(s) in macro call "inc_global_var(GVAR_TOWN_REP_NEW_RENO, (5))"
inc_global_var(GVAR_TOWN_REP_NEW_RENO, x)
set_global_var(GVAR_TOWN_REP_NEW_RENO, global_var(GVAR_TOWN_REP_NEW_RENO) + x)
JimTheDinosaur said:I hope this isn't a terribly stupid question, but when compiling mapper scripts with the editor I often get errors of the following type:
Code:More than necessary 1 argument(s) in macro call "inc_global_var(GVAR_TOWN_REP_NEW_RENO, (5))"
Always with town reputations, always with the "more than necessary 1 argument(s)" error. I updated the mapper scripts and all that.
EDIT: Well, should someone have the same problem I had, the solution seems to be to change...
inc_global_var_amt(gvar_id,value)
inc_global_var()
This doesn't happen with V2.17, I get other mysterious frustrating errors.System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at ScriptEditor.Compiler.Compile(String infile, String& output, List`1 errors, Boolean preprocessOnly)
at ScriptEditor.TextEditor.Compile(TabInfo tab, String& msg, Boolean showMessages, Boolean preprocess)
at ScriptEditor.TextEditor.compileToolStripMenuItem1_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ScriptEditor
Assembly Version: 2.10.0.0
Win32 Version: 2.10.0.0
CodeBase: file:///C:/Fallout/Script%20editor/ScriptEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4977 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4980 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ICSharpCode.TextEditor
Assembly Version: 3.2.0.5777
Win32 Version: 3.2.0.5777
CodeBase: file:///C:/Fallout/Script%20editor/ICSharpCode.TextEditor.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
No file is missing, somehow or other a debug build of the editor ended up in the modders pack, and the debug version has a bunch of hardcoded paths in it. Will fix for the next release, but in the meantime you can use the 3.1 modders pack and copy the ScriptEditor.exe from a version that works for you to get the new 3.0/3.1 script functions.VonZorch said:Can someone tell me what file is missing and where to find it?
I have installed 3.1 3 times hoping the extract was wrong.
I've just started scripting and have spent several days trying to get scripts to compile on every editor I can find.
I know you solved that one already, but for future reference it happens because command.h defines 2 macros:JimTheDinosaur said:I hope this isn't a terribly stupid question, but when compiling mapper scripts with the editor I often get errors of the following type:
Code:More than necessary 1 argument(s) in macro call "inc_global_var(GVAR_TOWN_REP_NEW_RENO, (5))"
Always with town reputations, always with the "more than necessary 1 argument(s)" error. I updated the mapper scripts and all that.
JimTheDinosaur said:I now have Windows 8 (not by choice of course: pc broke down and new one came with it preinstalled), and the Script editor doesn't like that fact. Whenever I open a script, it crashes. Infuriatingly, the first time it crashed it gave an error message, but because I didn't write it down, I have no idea what it was (now it just gives a program stopped working message by windows every time).
This is probably way too vague to be of any help, but just maybe somebody knows what's wrong.
explosion is not a macro in any of the standard headers. It's a function, and I just checked the compiler, and yes it expects 3 arguments. Have you defined it yourself anywhere? (Or tile_num, or elevation?) Have you double checked that's the line the compiler is complaining about?JimTheDinosaur said:At least, when I try to compile explosion(tile_num(dude_obj), elevation(dude_obj), 1);, it gives the error "more than one expected argument(s) in macro call.
Timeslip said:explosion is not a macro in any of the standard headers. It's a function, and I just checked the compiler, and yes it expects 3 arguments. Have you defined it yourself anywhere? (Or tile_num, or elevation?) Have you double checked that's the line the compiler is complaining about?JimTheDinosaur said:At least, when I try to compile explosion(tile_num(dude_obj), elevation(dude_obj), 1);, it gives the error "more than one expected argument(s) in macro call.