LuaIntro

LuaIntro

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

LuaIntro

Post by jK »

Q: Where do I find a example implementation?
A: In `base/springcontent.sdz` just unzip it and check its LuaIntro folder.

Q: I want more! I want Chili!
A: https://github.com/jk3064/chili_loadscreen (install that into your LuaIntro folder and use git to download it and not github's download zip `feature`)
use the following cmd: `git clone --recursive git://github.com/jk3064/chili_loadscreen.git`

Q: I am using that Chili one but the default loadscreen still shows as background what I am doing wrong?
A: http://springrts.com/phpbb/viewtopic.php?f=23&t=30875
PS: Chili one should look like this http://springrts.com/phpbb/viewtopic.ph ... 80#p544290
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

Anyone get the Chilli LuaIntro example working? For me right now the interface disappears a split second after appearing on the screen:

Image
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: LuaIntro

Post by smoth »

Don't download zip off git hub! Get through git be sure to grab dependencies so you can get chili proper

I have no issues feel free to look in my svn to see what the dir should look like. Should be in my rtscore dir
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: LuaIntro

Post by FLOZi »

MCL has the chili example too, currently unmodified

http://sourceforge.net/p/mwspring/code/ ... /LuaIntro/
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

smoth wrote:Don't download zip off git hub! Get through git be sure to grab dependencies so you can get chili proper

I have no issues feel free to look in my svn to see what the dir should look like. Should be in my rtscore dir
Cloned off of github, chilli folder matches source in browser, link to your repo?
FLOZi wrote:MCL has the chili example too, currently unmodified

http://sourceforge.net/p/mwspring/code/ ... /LuaIntro/
Tested MCl snapshot (spring 95.0.1-209), same issue occurs for me.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: LuaIntro

Post by smoth »

if you tested against his mech thing it probably is something weird happening on your system. Post infolog please?
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

http://pastebin.com/M704UG5K

Only 2 luaintro errors, I showed them to jK but he didn't seem to think they were relevant.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: LuaIntro

Post by gajop »

Make you sure have cloned it as instructed (with the --recursive flag), as that picks up submodules.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: LuaIntro

Post by jK »

The Yak wrote:http://pastebin.com/M704UG5K

Only 2 luaintro errors, I showed them to jK but he didn't seem to think they were relevant.
The logging was broken in latest RC, can you retest with newest RC build (should be -213-)?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: LuaIntro

Post by jK »

Christmas-buzzy?
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

Infolog from 227 http://pastebin.com/9MyJwYqf

EDIT: And yes I have used -recursive flag
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: LuaIntro

Post by smoth »

did you alter yours? why is it blue?

can you grab rtscore.sdd and testgame.sdd then see if the one in the gbs test project runs as it doesn't use jk's shader but uses plain ole chili.

Inbefore where can I find your repo details, the same place it has been posted for some time now <-click
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

Color has been changed in GLSL shader for that screenshot, since that last infolog I posted I have been using the /luaintro/ from the cloned mechwarrior repo (which is unchanged from jk's release)

Launched GBS Test 003, same issue as the others, interface flashes briefly onscreen then disappears
Image

This image is black but I sometimes get a blue gradient or spacey background

Infolog: http://pastebin.com/9EDYFiKY
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

I haven't been able to fix this yet but have determined from talk with devs that it's maybe ATI related. Hard to say though since so far I'm the only one reporting this.

I think if other people with ATI cards could test this is would be helpful. It's really as simple as running either MCL or GBS with newest spring.
User avatar
Funkencool
Posts: 542
Joined: 02 Dec 2011, 22:31

Re: LuaIntro

Post by Funkencool »

I experience the same thing with the chili intro and tallied it as another AMD bug.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: LuaIntro

Post by jK »

please try:
http://springrts.com/dl/buildbot/defaul ... ortable.7z
and add ReportGLErrors=1 to the springsettings.cfg
and pastebin the resulting infolog.
User avatar
The Yak
Posts: 351
Joined: 20 May 2012, 05:36

Re: LuaIntro

Post by The Yak »

Tested with GBS_003
Infolog here: http://pastebin.com/0eDTJ0SP
OpenGL errors starting on line 369

Also tested with MCL and got same errors
Post Reply

Return to “Lua Scripts”