Forum

> > CS2D > Scripts > [Book] Lua Language For CS2D
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Book] Lua Language For CS2D

16 replies
To the start Previous 1 Next To the start

old [Book] Lua Language For CS2D

Marcell
Super User Off Offline

Quote
Welcome US' users!

In these days i got an idea, to create a book for beginner programmers. In this 'project' i waiting for scripter's experience to share it.. then if we finished it, we can release to UnrealSoftware forum..
This book will contain screenshoots, examples, experiences, etc..
Of course it will be Counter-Strike 2D game... not a basic lua book.

I hope will like this idea..

Currently one:
https://docs.google.com/file/d/0B0P7SZBahVwGWUtBRnZ5Szl0cEk/edit?usp=sharing
edited 2×, last 10.06.13 10:30:56 pm

old Re: [Book] Lua Language For CS2D

Marcell
Super User Off Offline

Quote
Omg...I'd like to write it, not someone else....
I just want to get some experience fromnpro scipters to write these into the book, of course if they accept it.

old Re: [Book] Lua Language For CS2D

limonata
User Off Offline

Quote
@user Marcell: Its cool idea but as said Alistaire there is no time for this. We have a forum for the help/support about cs2d. Our lua coders are giving some lessons in there also some users too. Maybe you can make one too. You will take some lua coder / mapper / mod. etc. it will be more helpful.

old Anon book on CS2D?

KimKat
GAME BANNED Off Offline

Quote
Great start with the book but not too many examples within it. Try to make examples for like each Lua hook in CS2D and then you might get some PDF book reviews, just saying.

I admire your work so far, user Marcell. Keep at it though.

old Re: [Book] Lua Language For CS2D

Marcell
Super User Off Offline

Quote
user KimKat has written
Great start with the book but not too many examples within it. Try to make examples for like each Lua hook in CS2D and then you might get some PDF book reviews, just saying.

I admire your work so far, user Marcell. Keep at it though.


Thanks user KimKat!

Of course, it is just a some lines, not the full yet
So i will add many examples yet, and exercises to make the lua student' brain better

old Re: [Book] Lua Language For CS2D

DannyDeth
User Off Offline

Quote
Do not write literature in a language you are not fluent in. Rather write it in the language you understand best and then have it translated by someone who understands both languages very well.

old Re: [Book] Lua Language For CS2D

MAX-russia
User Off Offline

Quote
In book has written
if you type

function testscript()

after hook

addhook("join","testscript")

The script now looks like this:

addhook("join","testscript")
function testscript()


Genius!!!

I like your idea, but you got a little bit mistakes and I think that first hook creating example needs to be with hook "say", not "join". You need to add some examples from ohaz's scripting tutorial.
p.s. But it cood all be better if we work together.

old Re: [Book] Lua Language For CS2D

Marcell
Super User Off Offline

Quote
as i said this is just a begin... so i will improve it.
I have a girlfriend who can translate very well, or just fix grammer.

user Alistaire has written
The grammar made my eyes bleed.


thanks so much lfmao ... but i will fix it yet.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview