Playerlib

All other Source.Python topics and issues.
User avatar
Kami
Global Moderator
Posts: 263
Joined: Wed Aug 15, 2012 1:24 am
Location: Germany

Playerlib

Postby Kami » Mon Aug 20, 2012 9:59 am

Hello :)

I was wondering if there is anything like the Playerlib ES had already.
Like can you change health of a player, or give, strip, etc?

Thank you!

Kami
User avatar
Monday
Administrator
Posts: 98
Joined: Thu Jul 12, 2012 4:15 am

Postby Monday » Mon Aug 20, 2012 12:32 pm

We have a Player class, but you cannot set any of those items with it yet. (It's still a work in progress)
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Postby BackRaw » Mon Aug 20, 2012 9:14 pm

Monday wrote:We have a Player class, but you cannot set any of those items with it yet. (It's still a work in progress)


Will the methods be written in C++ directly? I hope so... :D
your-name-here
Developer
Posts: 168
Joined: Sat Jul 07, 2012 1:58 am

Postby your-name-here » Mon Aug 20, 2012 9:24 pm

BackRaw wrote:Will the methods be written in C++ directly? I hope so... :D

A lot of that stuff relies of game specific data, so no. But with the functionality we have now, we'll provide functions for you to get props and stuff generically, and then provide functions to operate on that data (such as UTIL_Remove to delete an entity).
User avatar
Monday
Administrator
Posts: 98
Joined: Thu Jul 12, 2012 4:15 am

Postby Monday » Mon Aug 20, 2012 10:01 pm

BackRaw wrote:Will the methods be written in C++ directly? I hope so... :D


Well mostly everything can be accessed directly, however when the engine becomes a bit of a pain we will provide a python library to make life a little easier. ServerVar is one such example. It does nothing you couldn't do yourself, it just makes developing a little less time consuming.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 28 guests