Changing Resources, Lurker & Forb Present - Page 2

Changing Resources, Lurker & Forb Present

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Re: Flames brewing...

Post by Saktoth »

Forboding Angel wrote:Stuff ragging out CA lua devs
Not even the CA lua devs understand how to edit most of our lua unless they made it specifically (This has been a big problem, especially with the arcane morph widget that nobody seems to know how to edit). A lot of our lua is stuff that wasnt requested by CA, but was worked into the mod because it was cool (Say, trepans stuff, which he just makes, then we go 'Oh okay, thats cool i guess we can use that!').
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Flames brewing...

Post by Forboding Angel »

Saktoth wrote:
Forboding Angel wrote:Stuff ragging out CA lua devs
Not even the CA lua devs understand how to edit most of our lua unless they made it specifically (This has been a big problem, especially with the arcane morph widget that nobody seems to know how to edit). A lot of our lua is stuff that wasnt requested by CA, but was worked into the mod because it was cool (Say, trepans stuff, which he just makes, then we go 'Oh okay, thats cool i guess we can use that!').

I wasn't ragging out CA's lua ppl saktoth. I was saying that CA pretty much took all of them away from springs lua forum. To work on CA, which sucks for the rest of us, because you guys don't spend much time documenting your lua stuff. Some is self explanitory, other's not so, especially the stuff that requires 10 different files just to work. Tell me, when is the last time that JK posted a new widget or gadget for general use and not in CA? I rest my point. Great for CA, frustrating for the rest of us peons.

Please read my post next time. I never said anything bad about them or CA, nor did I slight either of them.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Changing Resources, Lurker & Forb Present

Post by smoth »

It is because the lua code can be read, understood and then used. They do not need to document it, this isn't extremely complicated code. The stuff that is complicated would be the shader stuff that uses the gl pipeline otherwise I found more complex code when I was reading quake mods.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Changing Resources, Lurker & Forb Present

Post by Tobi »

For shaders any normal resources about GPU programming / GLSL should do, no need to copy paste it into our own documentation. (IIRC the entry points in Lua are very similar to those of OpenGL itself)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Changing Resources, Lurker & Forb Present

Post by smoth »

yeah, I have read some of that but things like trepans fog shader are a bit over my head right now. I am still catching up but trepan had told me writing such things required an understanding of the gl pipeline. So far I just use stuff like gltexrect and things :P.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Changing Resources, Lurker & Forb Present

Post by Forboding Angel »

Tobi wrote:For shaders any normal resources about GPU programming / GLSL should do, no need to copy paste it into our own documentation. (IIRC the entry points in Lua are very similar to those of OpenGL itself)

Oh I understand that. Actually I was moreso talking about the descriptions. Many of them aren't real specific on exactly what they do.

It would also be nice if they listed the files that were needed to run said widget/gadget(as it seems a decent bit of lua in CA cross communicates).
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Changing Resources, Lurker & Forb Present

Post by smoth »

you need to get a text editor that allows you to search within files in a directory. you then can look up the function declarations etc in that way. You can then transplant the code into your own general header.
Post Reply

Return to “Engine”