View Single Post
Posts: 258 | Thanked: 144 times | Joined on Oct 2009 @ Edinburgh
#78
Originally Posted by stobbsc View Post
HI guys,

How do I convert these new levels or my levels to LUA files.

Or can I simple just chagne the file type?
I'm trying to make my own levels in note pad, and then am I correct in saying I just need to say for example back up level1.lua and replace with my Level.lua file?

Thanks
Chris
All my files are just text files, so if your working from them. you just copy over the lua file of the level you want to replace. Id suggest using my pack2
(and prob 2-1 once youve done my 2-1)if you dont want to much around with your pack one levels, and that way you wont unlock to many of the real L2 stuff

in order to get the text file you need to decode the lua files but teh code can read them as text so no need to recode.

Can i also suggest you make small changes and test, as if you get somthing wrong game just closes and its a bugger to work out.

I tend to vi in one terminal
copy over game level in a 2nd terminal
and you dont need to restart game just exit and reselect level will reload it.
i tend to add 1-2 object then test. make position changes if needed. add 2 more test and check etc
ocassionally saving a working backup so i can get back if i truly bugger up.
 

The Following User Says Thank You to cgarvie For This Useful Post: