GoldenEye: Source Forums

  • December 29, 2024, 01:02:27 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: A Question about LUA  (Read 10534 times)

0 Members and 1 Guest are viewing this topic.

VoltLab

  • Guest
A Question about LUA
« on: November 11, 2009, 03:12:19 pm »

Hey there,
I got a little question. How did you guys include LUA into your SourceMod. I'm working on a RolePlay SourceMod and I ever wanted to include LUA into it. Is it possible if one of you guys tell me how you did that? The Tutorials on http://developer.valvesoftware.com didn't work. :/

Seeya,
VoltLab
Logged

Mark [lodle]

  • Retired Lead Developer
  • 007
  • *
  • Posts: 1,411
  • Reputation Power: 1
  • Mark [lodle] has no influence.
  • Offline Offline
Re: A Question about LUA
« Reply #1 on: November 11, 2009, 03:21:28 pm »

wouldnt suggest using lua as its a hard language to master. We are switching to python in our next release.
Logged

VoltLab

  • Guest
Re: A Question about LUA
« Reply #2 on: November 11, 2009, 03:34:45 pm »

Hmm. Well thanks for the Info.

Seeya,
VoltLab
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: A Question about LUA
« Reply #3 on: November 11, 2009, 07:37:16 pm »

You can try to follow our Python tutorial that is on the developer wiki. Are you C++ skills strong?

http://developer.valvesoftware.com/wiki/Category:Python
Logged

VoltLab

  • Guest
Re: A Question about LUA
« Reply #4 on: November 11, 2009, 07:46:34 pm »

Not realy, i'm new in c++ but i learn it very fast. I understand the most of the Source Code. My RolePlay is getting better and better. I just wanted to include LUA couse the leader of the MingeBag.de's is working with me on the Mod. He's pritty good in LUA , his skills are godlike. Well , i heard about Python. I'll try it out. Thanks for the tipp.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: A Question about LUA
« Reply #5 on: November 11, 2009, 08:53:46 pm »

I find it impossible to be "god like" with LUA since you basically require to have a much higher god like person to make it work with C++. Python is no easier to implement. I think your lack of skill with C++ (and unfamiliarity with the source code) is hampering your ability to integrate LUA into it. The tutorial on the website is solid, there is nothing blatantly wrong with it.

I suggest you learn more C++ and more basic programming features (dynamic vs static linking, libraries and dependencies, polymorphism) and also run through the source code in the debugger a few times to understand the flow of the engine.

Suggested Reading:
http://developer.valvesoftware.com/wiki/Game_initialization
http://developer.valvesoftware.com/wiki/Frame_Order
Logged
Pages: [1]   Go Up