Modding, Mission Design, and Coding > The Scripting Workshop

beginning LUA scripting issue

(1/1)

Reprobator:
Hi ,

I'm at the very beginning with lua scripting, so I've read the wiki part to write a hello world ( http://www.hard-light.net/wiki/index.php/FS2_Open_Lua_Scripting#Quick.2C_a_full_example.21 )
I've created the scripting.tbl in the correct place, copy / paste the code given in the wiki, launched my game and...nothing , no hello world appears at splash screen.

So I wonder if I done all the necessary, I started to debug ( debug version of executable + debug windows ) but didn't give me more infos about why my script doesn't work.

Help !!

Wanderer:
What build are you using? Hmmm... on a closer look there seems to be a problem with that example script (i haven't written or tested it...). It seems like the hooks mentioned in that example havent been added to the code... odd.

Here is something i wrote earlier and it should work... IIRC http://www.hard-light.net/wiki/index.php/Tutorial_-_Basic_Scripting

Reprobator:
The HUD hello world works fine, thanks =)

WMCoolmon:
Should be fixed in CVS now; I committed my local codebase. See the build.

Scripting.html increased in size by 8% (65kb to 70kb) :D

Nuke:
new build, cool. il take a look later and see what kind of damage i can do :D

Navigation

[0] Message Index

Go to full version