English [Book] Lua Language For CS2D

16 replies
Goto Page
To the start Previous 1 Next To the start
10.06.13 12:51:35 pm
Up
Marcell
Super User
Offline Off
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
10.06.13 03:30:03 pm
Up
Crabby
User
Offline Off
I don't think anyone got time for this "book".
10.06.13 03:44:56 pm
Up
Alistaire
User
Offline Off
Ain't nobody got time fo' that.
IMG:http://i.imgur.com/5zhwOTP.png
10.06.13 04:30:56 pm
Up
Devil-Thanh
GAME BANNED
Offline Off
use the server help is better
10.06.13 05:01:05 pm
Up
Marcell
Super User
Offline Off
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.
10.06.13 07:30:58 pm
Up
Happy Camper
User
Offline Off
Perhaps you could extend the wiki page?

http://en.wiki.unrealsoftware.de/index.php/Lua/tutorial
happy camper n Informal a happy, satisifed person (esp in the phrase not a happy camper)
10.06.13 07:46:23 pm
Up
LazyGuy
GAME BANNED
Offline Off
Buy a book of LORE. (It contains you)
Spread My Love.... 1Love
10.06.13 07:48:41 pm
Up
limonata
User
Offline Off
@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.
10.06.13 08:12:10 pm
Up
Marcell
Super User
Offline Off
I decided to write it, so if anyone want to see the beginning the time is here..

https://docs.google.com/file/d/0B0P7SZBahVwGWUtBRnZ5Szl0cEk/edit?usp=sharing
edited 1×, last 10.06.13 10:31:04 pm
11.06.13 05:26:12 am
Up
KimKat
GAME BANNED
Offline Off
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.
11.06.13 06:48:30 am
Up
Marcell
Super User
Offline Off
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
11.06.13 07:34:26 am
Up
Alistaire
User
Offline Off
The grammar made my eyes bleed.
IMG:http://i.imgur.com/5zhwOTP.png
11.06.13 08:20:13 am
Up
KagamineLen
User
Offline Off
i got nose bleed reading the file, great work anyway
11.06.13 01:18:28 pm
Up
limonata
User
Offline Off
Then, Good luck
11.06.13 01:37:27 pm
Up
DannyDeth
User
Offline Off
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.
11.06.13 01:49:01 pm
Up
MAX-russia
User
Offline Off
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.
11.06.13 03:45:57 pm
Up
Marcell
Super User
Offline Off
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