Page 1 of 1
Scripting changes
Posted: Fri Aug 17, 2012 5:21 pm
by DreTaX14
Hey!
Im interested by writing new addons actively.
Can you give me a list about changes in sp?
Oh and can u tell me, does python shared or static?
Posted: Fri Aug 17, 2012 5:34 pm
by Tuck
Read about python here,
http://www.python.org/sp haven't got much documentation but im guessing changes will be written as comments in source files, read up on the forum posts, so far big changes has been posted with examples on how to use them.
Posted: Fri Aug 17, 2012 5:55 pm
by DreTaX14
Tuck wrote:Read about python here,
http://www.python.org/sp haven't got much documentation but im guessing changes will be written as comments in source files, read up on the forum posts, so far big changes has been posted with examples on how to use them.
And what about the game changes?
Posted: Fri Aug 17, 2012 6:20 pm
by your-name-here
DreTaX14 wrote:And what about the game changes?
Hi and welcome!
I'm not sure what you mean by game changes. Could you elaborate on that?
Also, we do plan to document, but we have to figure out how we are going to do that. The major problem is the fact that we're essentially documenting the Source SDK. This is a big feat, and I'm not sure if it's feasible. We plan to try to write tutorials on as many areas of SP as we can. Also, all of the python objects from SP have documentation on them which you can view with help().
Posted: Sat Aug 18, 2012 8:08 am
by DreTaX14
your-name-here wrote:Hi and welcome!
I'm not sure what you mean by game changes. Could you elaborate on that?
Also, we do plan to document, but we have to figure out how we are going to do that. The major problem is the fact that we're essentially documenting the Source SDK. This is a big feat, and I'm not sure if it's feasible. We plan to try to write tutorials on as many areas of SP as we can. Also, all of the python objects from SP have documentation on them which you can view with help().
I mean that for the scripting changes. About the classes and stuffs.
And the second was does python language static or shared?
Posted: Sat Aug 18, 2012 7:05 pm
by your-name-here
Assuming I understand your question correctly, Python is compiled in as a shared library.
For scripting changes, see my answer above about documentation. We plan to provide documentation on how to Eventscripts stuff in Source.Python. There is a lot of work ahead.
Posted: Sat Aug 18, 2012 8:35 pm
by Omega_K2
I think he might be referring to changes compared to Eventscripts.
If so, SP and ES share Python (ES uses V2 and SP 3 however), the API is closer to the EngineAPI and a lot of the stuff is exported directly. You'll have to learn this new API, but existing scripts can be ported if you replace the es functionality and move them to PY3.0