Scripting changes

All other Source.Python topics and issues.
DreTaX14
Junior Member
Posts: 15
Joined: Fri Aug 17, 2012 5:05 pm

Scripting changes

Postby DreTaX14 » Fri Aug 17, 2012 5:21 pm

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?
Tuck
Global Moderator
Posts: 205
Joined: Sat Jul 14, 2012 9:35 pm
Location: Copenhagen

Postby Tuck » Fri Aug 17, 2012 5:34 pm

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.
-Tuck
DreTaX14
Junior Member
Posts: 15
Joined: Fri Aug 17, 2012 5:05 pm

Postby DreTaX14 » Fri Aug 17, 2012 5:55 pm

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?
your-name-here
Developer
Posts: 168
Joined: Sat Jul 07, 2012 1:58 am

Postby your-name-here » Fri Aug 17, 2012 6:20 pm

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().
DreTaX14
Junior Member
Posts: 15
Joined: Fri Aug 17, 2012 5:05 pm

Postby DreTaX14 » Sat Aug 18, 2012 8:08 am

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?
your-name-here
Developer
Posts: 168
Joined: Sat Jul 07, 2012 1:58 am

Postby your-name-here » Sat Aug 18, 2012 7:05 pm

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.
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Sat Aug 18, 2012 8:35 pm

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

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 29 guests