scottinthebooth
Registered:1376604154 Posts: 1
Posted 1376604299
Reply with quote
#1
Does anyone know if data hooks are available in 2.0? AKA access to things like torpedo loading status, which weapon is selected, etc.? I've got a console waiting to come to life but I need to know what the ship is thinking! Scottinthebooth
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1376621009
Reply with quote
#2
ATM, just like with 1.7, the only data hooks are from the DMX triggers. There are, however, a butt-ton more events DMX can react to. Nothing quite like weapon status unfortunately, but a lot still::PLAYER_SHIELDS_RAISED
PLAYER_SHIELDS_ON
PLAYER_SHIELDS_LOWERED
RED_ALERT
JUST_KILLED_DAMCON_MEMBER
SELF_DESTRUCTED
SHIP_DAMAGE_20
SHIP_DAMAGE_40
SHIP_DAMAGE_60
START_DOCKING
TRACTORED_FOR_DOCKED
COMPLETELY_DOCKED
JUMP_INITIATED
JUMP_EXECUTED
JUMP_FIZZLED
FRONT_SHIELD_LOW
REAR_SHIELD_LOW
ENTERING_NEBULA
WITHIN_NEBULA
EXITING_NEBULA
HELM_IN_REVERSE
SOMETHING_HITS_PLAYER
NPC_BEAM_HITS_PLAYER
PLAYER_BEAM_HITS_PLAYER
TORPEDO_HITS_PLAYER
MINE_HITS_PLAYER
LIGHTNING_HITS_PLAYER
COLLISION_HITS_PLAYER
DRONE_HITS_PLAYER
PLAYER_TAKES_INTERNAL_DAMAGE
PLAYER_TAKES_SHIELD_DAMAGE
PLAYER_TAKES_FRONT_SHIELD_DAMAGE
PLAYER_TAKES_REAR_SHIELD_DAMAGE
DAMCON_CASUALTY
SHIP_DAMAGE_20
SHIP_DAMAGE_40
SHIP_DAMAGE_60
PLAYER_DESTROYED
GAME_OVER
ENERGY_LOW
ENERGY_20
ENERGY_40
ENERGY_60
ENERGY_80
ENERGY_100
ENERGY_200
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
davr
Registered:1375035506 Posts: 49
Posted 1376628705
Reply with quote
#3
This network library has quite a lot of hooks:https://github.com/dhleong/ArtClientLib But it's an unofficial 3rd party library, and it's not updated to work with 2.0 yet.
Cmdr.Brandr
Registered:1375929191 Posts: 42
Posted 1376775250
Reply with quote
#4
This list looks great! I will have to start thinking of things to add to the trailer to use these. I think a fog machine tied to damage is first up!
EnsignRedShirt
Registered:1375225785 Posts: 31
Posted 1377029972
Reply with quote
#5
@Cmdr.Brandr It has been a while since there were updates on Project Riverside. Could you start a thread with your progress?
Thanks,
EnsignRedShirt
Bellman
Registered:1374981459 Posts: 14
Posted 1377042150
Reply with quote
#6
So my whimsical question - what does it take to get a Wilhelm Scream tied to JUST_KILLED_DAMCON_MEMBER ?
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1377046013
Reply with quote
#7
At the moment, probably something like an Arduino and a speaker Unless you've got an audio player that can take a DMX or other serial type input. The DMX output is a flavor of RS-485.
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
davr
Registered:1375035506 Posts: 49
Posted 1377046667
Reply with quote
#8
Yeah, Arduino Duemeilinova (or however it's spelled, links in my original post) plus this: http://www.seeedstudio.com/depot/grove-serial-mp3-player-p-1542.html?cPath=38 plus a mini SD (or a micro SD and a micro to mini adaptor) plus some speakers should do it. You will need to write a few lines of code to run on the arduino to trigger the audio in response to a DMX command, but that's pretty simple. Let me know if you need any help with the code.
Thedr
Registered:1375789870 Posts: 12
Posted 1377591279
Reply with quote
#9
If someone can get an Arduino working with DMX commands that would be awesome, I'm looking at using a relay switch tied into a dmx receiver to turn on and off extra devices for my flight deck. At the moment I was able to buy a spinning red light that runs off usb power, I'm going to inject the relay switch and have a dmx controller just supply a current through the relay when RED ALERT is activated.
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1377605222
Reply with quote
#10
Someone has, in this very forum, in fact http://artemis.forumchitchat.com/post/My-DMX-RGB-strip-for-ultra-cheap-6467023
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.