[Q] Introduction to Stalker scripting? -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

Hi,

I was wondering if all scripters here (and there) really did some personal analyze of the whole bunch of gamedata to start coding. Every modding guide I found only talked about editing existant LTX/XML files; what about scripting, have I missed the goldmine?

Well, Lua seems really straightforward and simple, so it might still be reasonable to get into it by myself, but in a matter of gaining some time I thought it would be worth it just to ask.

Thank you !




Guest

I didn't make it!

0 XP

 
#2 10 years ago

thib;4385227Hi,

I was wondering if all scripters here (and there) really did some personal analyze of the whole bunch of gamedata to start coding. Every modding guide I found only talked about editing existant LTX/XML files; what about scripting, have I missed the goldmine?

Well, Lua seems really straightforward and simple, so it might still be reasonable to get into it by myself, but in a matter of gaining some time I thought it would be worth it just to ask.

Thank you !

Go read niphtys guide to basic modding with playable examples which you will find at the top of the topics list in this forum.....




Gr1ph00n

dez0wave team

50 XP

2nd October 2007

0 Uploads

31 Posts

0 Threads

#3 10 years ago

thib;4385227Hi,

I was wondering if all scripters here (and there) really did some personal analyze of the whole bunch of gamedata to start coding. Every modding guide I found only talked about editing existant LTX/XML files; what about scripting, have I missed the goldmine?

Well, Lua seems really straightforward and simple, so it might still be reasonable to get into it by myself, but in a matter of gaining some time I thought it would be worth it just to ask.

Thank you !

Hello, Lua is the programming language used by Stalker's engine. To use it, you have to learn it :nodding:, that is a guide : http://www.lua.org/manual/5.1/manual.html




Guest

I didn't make it!

0 XP

 
#4 10 years ago

rkteckt;4385647Go read niphtys guide to basic modding with playable examples which you will find at the top of the topics list in this forum.....[/QUOTE] I've read it, but as I said, it only talks about editing specific files (good tutorial for that, by the way.) I'd like to do some scripting ;).

[QUOTE=Gr1ph00n;4385766]Hello, Lua is the programming language used by Stalker's engine. To use it, you have to learn it :nodding:, that is a guide : Lua 5.1 Reference Manual

Got there already, so, learning Lua is enough? I think that Stalker's offering sort of an API since it's supposed to interpret the Lua code itself (with the help of the official Lua libs, that's for sure.) What I'm actually looking for is some documentation/manual for this API, if it exists, or a guide.

Maybe I'm not searching for the right thing, am I? How did you manage to get yourself into scripting?

Thanks for you replies :).




Gr1ph00n

dez0wave team

50 XP

2nd October 2007

0 Uploads

31 Posts

0 Threads

#5 10 years ago

thib;4386121I've read it, but as I said, it only talks about editing specific files (good tutorial for that, by the way.) I'd like to do some scripting ;).

Got there already, so, learning Lua is enough? I think that Stalker's offering sort of an API since it's supposed to interpret the Lua code itself (with the help of the official Lua libs, that's for sure.) What I'm actually looking for is some documentation/manual for this API, if it exists, or a guide.

Maybe I'm not searching for the right thing, am I? How did you manage to get yourself into scripting?

Thanks for you replies :).

Hi Well, i think you should learn lua, its sintax and its functions, then you should look at stalker's script files to understand its structure, but remember, this game is programmed in C++, so you can't see any functions ( called in scripts file ) cuz they are in c++ files, check lua_help.script for that.




Guest

I didn't make it!

0 XP

 
#6 10 years ago

Yes! Turns out this file is what I was looking for. It still lacks some description but it seems that the names are well chosen, it's great. Again, thank you ;).