Notepad++

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Locked
User avatar
RobertM
Very Active Forum Member
Posts: 5907
Joined: Thu Aug 12, 2004 5:28 pm
Location: Centre of my own universe, where its scary

Notepad++

Post by RobertM »

Just tried to do some scenario scripting, but now when I fire up Notepad++ all I get is this



Any ideas what happened here?
Cheers, Robert :)
Fireman at the Lakeside & Haverthwaite Steam Railway.
Second Valve simulation - https://www.facebook.com/secondvalve?ref=hl
User avatar
ChrisBarnes
Very Active Forum Member
Posts: 1494
Joined: Sat Jul 25, 2009 3:45 pm
Location: North Yorkshire

Re: Notepad++

Post by ChrisBarnes »

Hi Rob,

You've attempted to open a compiled script, denoted by the .out or .luac extension, which is why it looks all jumbled up. Is there a .lua version of the script you want to edit in the same folder?

Chris
Just Trains BR 4, 5, 6, 7 and LNER K4 & V2 script and simulation author
User avatar
RobertM
Very Active Forum Member
Posts: 5907
Joined: Thu Aug 12, 2004 5:28 pm
Location: Centre of my own universe, where its scary

Re: Notepad++

Post by RobertM »

Bingo, thanks for the help Chris
Cheers, Robert :)
Fireman at the Lakeside & Haverthwaite Steam Railway.
Second Valve simulation - https://www.facebook.com/secondvalve?ref=hl
User avatar
ChrisBarnes
Very Active Forum Member
Posts: 1494
Joined: Sat Jul 25, 2009 3:45 pm
Location: North Yorkshire

Re: Notepad++

Post by ChrisBarnes »

No problem, good luck with the scripting. :)

Chris
Just Trains BR 4, 5, 6, 7 and LNER K4 & V2 script and simulation author
Locked

Return to “[TS] General Discussion”