GoldenEye: Source Forums

  • April 25, 2018, 05:39:56 AM
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: PyDev can't import predefines despite knowing their location  (Read 3865 times)

0 Members and 1 Guest are viewing this topic.

Joe

  • Secret Agent
  • **
  • Posts: 139
  • Reputation Power: 54
  • Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.
  • Offline Offline
PyDev can't import predefines despite knowing their location
« on: December 13, 2014, 12:30:12 AM »

Hi,

I've told PyDev that the predefines are in: .../scripts/python/lib/GESource

I'm using Windows 8.1 64 bit with Python 2.6.

I have another question: does GE:S now support a Python version newer than 2.6?
Logged
Free games:FPS + RTS: Renegade X & Battlezone 1.5,RTS: 7 Kingdoms & Open Red Alert, TBS:Hedgewars, playcatan.com & www.wesnoth.org

Proxie

  • 00 Agent
  • ***
  • Posts: 574
  • Reputation Power: 141
  • Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!Proxie is awe-inspiring!
  • Offline Offline
Re: PyDev can't import predefines despite knowing their location
« Reply #1 on: December 13, 2014, 06:56:43 AM »

I have another question: does GE:S now support a Python version newer than 2.6?

Yeah, KM pushed 3.x here https://github.com/goldeneye-source/ges-python/tree/python3

Sorry I don't know anything about PyDev

EDIT: Is this what you're looking for? http://forums.geshl2.com/index.php/topic,7995.msg82260.html
Logged

Joe

  • Secret Agent
  • **
  • Posts: 139
  • Reputation Power: 54
  • Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.Joe has an aura about them.
  • Offline Offline
Re: PyDev can't import predefines despite knowing their location
« Reply #2 on: December 15, 2014, 04:24:18 AM »

Yeah, KM pushed 3.x here https://github.com/goldeneye-source/ges-python/tree/python3

Sorry I don't know anything about PyDev

EDIT: Is this what you're looking for? http://forums.geshl2.com/index.php/topic,7995.msg82260.html

Thanks for answering my question about the support for newer Python versions.

The topic you've posted a link to isn't related to my problem because the predefined Python files are in my: .../scripts/python/lib/GESource directory.

If you've never tried doing GE:S Python scripting with Eclipse's PyDev plugin then I would recommend you do try it: you can use its debugger to debug a mode script when GE:S is running it. Here's the setup wiki page: http://wiki.geshl2.com/python/py_eclipse_editor
« Last Edit: December 15, 2014, 04:29:28 AM by Joe »
Logged
Free games:FPS + RTS: Renegade X & Battlezone 1.5,RTS: 7 Kingdoms & Open Red Alert, TBS:Hedgewars, playcatan.com & www.wesnoth.org

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,472
  • Reputation Power: 327
  • 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: PyDev can't import predefines despite knowing their location
« Reply #3 on: December 19, 2014, 12:47:44 AM »

Python 3 is for the next version of ges. Those script files won't work with the current ges. As for pydev it might be a new api that broke the predefines. They were always a little flaky.
Logged
Pages: [1]   Go Up