Scripts / Noob question about LUA?

Author
Message
Cropsaius
9
Years of Service
User Offline
Joined: 24th Mar 2015
Location:
Posted: 24th Mar 2015 15:43
How do I edit the scripts exactly? I can never usually see any .lua scripts UNTIL I compile my game therefore is there an option menu of some sort I am missing within the Game Guru software?

PM
tomjscott
User Banned
Posted: 24th Mar 2015 16:38
There is no built-in editor for scripts. You simply need to open and edit scripts in an external application such as notepad or notepad++. The scripts can be found in the files\scriptbank folder.
System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.0085
Cropsaius
9
Years of Service
User Offline
Joined: 24th Mar 2015
Location:
Posted: 24th Mar 2015 16:43
Ok but the scriptbank folder is in program files, therefore does that edit it for ever new game that I create with GameGuru?
PM
tomjscott
User Banned
Posted: 24th Mar 2015 16:46 Edited at: 24th Mar 2015 16:47
Unfortunately, yes. Game Guru has no way of separating out game projects. I've had to copy installs and rename them to have separate projects with different custom scripts. But if you just have newly created scripts for each project then it shouldn't be a problem. It's only a problem if you're modifying default scripts and don't want the same behavior across multiple games.
System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.0085
Cropsaius
9
Years of Service
User Offline
Joined: 24th Mar 2015
Location:
Posted: 24th Mar 2015 16:57
Ok, how about I compile the game and change the .lua files this way, that would also work right?
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th Mar 2015 17:22
yes it would as the files are copies in the compiled version and scripts arent encrypted yet
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Cropsaius
9
Years of Service
User Offline
Joined: 24th Mar 2015
Location:
Posted: 24th Mar 2015 18:59
Many thanks people.
PM

Login to post a reply

Server time is: 2024-12-21 15:02:33
Your offset time is: 2024-12-21 15:02:33