Intro
Most of you probably know about OpenCCSensors yet. If you want to know more about the birth of it, you can read up on that here: http://www.computerc...p/page__st__400 and on the original thread for the project here: http://www.computerc...-openccsensors/ . Basically this is an open source projects that will be continuing the concept of CCSensors.
Input
OpenCCSensors doesn't seem to have received many attention yet, while it depends on effort from multiple people (not only Cloudy) to make this project a success. I'm very enthusiastic about this project, so I started working on it myself. I was hoping to get this project some attention and to appeal people to work on this as well. We could try and coordinate this effort and that's why I am asking input from all of you here. I will try to ask as many questions as possible in this post so everything will be open for suggestions.
Community
While some code java fluently, others don't. To involve only the first category would be a terrible wast of opinions and experience. So that's why I invite as many people as possible to help developing this peripheral. People could help by suggesting textures (there are non yet), or by thinking about new sensors, what functionality they should have, etc. I also suggest that developers who are working on sensors try to get some input on the functionality of it on the forums here.
Structure
I have no clue how we'd go about this. Should we create a separate thread for each sensor that's being developed, or should we try to combine it all in this thread to not spam the whole sub forum? Should we create a thread for texture suggestions? Please let me know what you think. :(/>/>
My own entry
If you haven't lost interest by now, I'd like to start off with a design. :)/>/> I've started working on a 'proximity sensor card' yesterday. This would be similar to the one from CCSensors. So for now it supports all living entities (animal, mobs and players).
I'm gonna list some questions I had here. The first ones will probably not be so important.
- The sensor card detects both animals, mobs and players for now. Should this be changed?
- The target name is '<creature type>+<id>' for now, e.g. Player123 or Creeper1984. What do you think?
- What do you think about the name 'Proximity Sensor Card'?
- Which information should the api for this sensor card give? This seems really important for me as having too few is unpractical and too much makes it overpowered. We could also have an advanced version of this with a more expensive sensor card? The methods I've implemented so far for the basic target information are:
- position [number]
- type [string]
- The detail target information I implemented so far is:
- position [number]
- type [string]
- heldItem (works also on mobs -> golden sword for Zombie Pigmen) [item table like the inventory sensor card]
- armour [table], contains the following tables: boots, leggings, chestplate, helmet. All tables like the items from the inventory sensor card.
- health [number]
- potionEffects [table] -> contains the name of the currently working potions as values
- players only:
- gamemode [number] -> 0 or 1
- foodLevel [number] -> basically the hunger bar
- username [string]
- Quick ideas I have for other data:
- inventory [table] -> exactly the same format as the inventory sensor card
- inBed [boolean]
- isSneaking [boolean]
- isJumping [boolean]
- …
Still not sure if suggestion for other cards and textures should come here. For now I'd suggest that you'd post ideas for new sensors and textures here. But when you're actually developing one, it might be best to create a new thread? So things are kept organized. The concept of the Proximity Sensor Card can also be discussed here. :)/>/> I'm also thinking about adding polls when there's a notable list of sensor card suggestions, textures, etc.
So please, don't hold yourselves back. Post suggestions, argue, discuss, criticize, … Just don't fight. :)/>/>