ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
X-Ray extensions - new callbacks for scripters

1 2 3 4 5 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  14:12:21  17 May 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
 

Message edited by:
mnn
05/17/2011 14:13:20
Messages: 2694
X-Ray extensions - new callbacks for scripters

http://code.google.com/p/xray-extensions/

Newest revision adds a few news stuff notably callbacks:
- on_belt_callback
- on_ruck_callback
- on_slot_callback

Also several new game object functions:
- item_on_belt
- item_on_ruck

- is_on_belt
- is_in_ruck
- is_in_slot

- move_to_ruck
- move_to_belt
- move_to_slot
- move_to_slot_and_activate

- get_wpn_float
- set_wpn_float
etc.

Or simply put - welcome to the heaven

http://code.google.com/p/xray-extensions/source/detail?r=15
  15:55:07  17 May 2011
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
Damn. Looking through the assembler files for SoC and CS, they will have gotten a whole lot more moddable with these patched xrGame.dll's, when they arrive.
All we need now are these compiled into a ready to use patcher, and some semi decent documentation on them, like lua_help.script format (and maybe a few comments) and away we go.

Wonder how you add new cpp classes to this. Or at least restore some of the old build ones that GSC cut out...
  17:22:43  17 May 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
Messages: 2694
No idea, I barely managed to get this thing going for CoP (with revision 14 and CoP version, of course)
  23:03:02  17 May 2011
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
 

Message edited by:
Meltac
05/17/2011 23:04:24
Messages: 1519
What patch version does it need? The readme refers to "1.6.02" but I'm not sure what that actually means.

EDIT:
I'm talking about the downloadable "xray_ext_bin_001.zip" file.
  00:00:52  18 May 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
Messages: 2694
As I have said newest revision...

So not the version available for download - that's for CoP. You need to check out revision 15 (latest) from SVN...
  00:04:10  27 August 2011
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519
Has anyone managed built those field into a new, useable .dll, as described in the readme (google translated):
---QUOTATION---
The result is a file xrGame.dll, which needs to be copied to the bin game.
---END QUOTATION---



???
  17:15:15  15 November 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
 

Message edited by:
mnn
11/15/2011 17:15:34
Messages: 2694
Update.

Malandrinus2009 has commited new changes into xray-extensions trunk.

Feature I like the most (among the new ones) is alife():teleport_object() However there is much more new stuff related to inventory and other things.
  17:21:23  15 November 2011
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519
This is still for Shoc patch 1.0006 only, right? Any chance to bring it into 1.0005?
  13:51:45  20 November 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
 

Message edited by:
mnn
11/20/2011 13:57:57
Messages: 2694
Currently, most likely no. But I'll ask Malandrinus, if he could make a build for 1.0005 version.

Edit: I don't remember, but some time ago, there was someone who wanted to create new noise meter. With this new version it's possible:
db.actor:get_actor_float(900)


---QUOTATION---
This
problem is solved for SHOC.

this call will return noise levels which actor hears. It is
exact value which is shown on the hud.
This value is reducing internally with constant speed. If it
is positive, than it is a noise level. If it is negative,
than it measures silence time.
---END QUOTATION---

  17:54:52  21 November 2011
profilee-mailreply Message URLTo the Top
mnn
Senior Resident
 

 
On forum: 06/12/2009
Messages: 2694
Bump.

Meltac: You should start porting your mod from 1.0005 to 1.0006, because Malandrinus won't port it to 1.0005 - just too much work (especially compared to porting just mod to 1.0006).
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2020 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.