mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-11-10 06:41:36 +00:00
Change haptic patterns
* Change door open/close pattern * Add a spark pattern to the Head
This commit is contained in:
parent
4575e197c5
commit
0e89cd5207
3 changed files with 5 additions and 2 deletions
1
assets/bHaptics/Interaction/Head/Spark.tact
Normal file
1
assets/bHaptics/Interaction/Head/Spark.tact
Normal file
|
@ -0,0 +1 @@
|
|||
{"project":{"createdAt":1616568625884,"description":"","id":"-MBDzKgwgnexUgAkQSpf","layout":{"layouts":{"Head":[{"index":0,"x":0,"y":0.5},{"index":1,"x":0.2,"y":0.5},{"index":2,"x":0.4,"y":0.5},{"index":3,"x":0.6,"y":0.5},{"index":4,"x":0.8,"y":0.5},{"index":5,"x":1,"y":0.5}]},"name":"Tactal","type":"Tactal"},"mediaFileDuration":1,"name":"Spark","tracks":[{"effects":[{"modes":{"Head":{"dotMode":{"dotConnected":true,"feedback":[{"endTime":200,"playbackType":"NONE","pointList":[{"index":1,"intensity":0.5},{"index":0,"intensity":0.5}],"startTime":0},{"endTime":400,"playbackType":"NONE","pointList":[{"index":5,"intensity":0.5},{"index":4,"intensity":0.5}],"startTime":200},{"endTime":600,"playbackType":"NONE","pointList":[{"index":2,"intensity":0.5},{"index":3,"intensity":0.5}],"startTime":400},{"endTime":800,"playbackType":"NONE","pointList":[{"index":5,"intensity":0.5},{"index":2,"intensity":0.5}],"startTime":600},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":0,"intensity":0.5},{"index":1,"intensity":0.5}],"startTime":800},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":3,"intensity":0.5},{"index":5,"intensity":0.5}],"startTime":1000}]},"mode":"DOT_MODE","pathMode":{"feedback":[{"movingPattern":"CONST_SPEED","playbackType":"NONE","visible":true,"pointList":[]}]}}},"name":"Effect 1","offsetTime":1000,"startTime":0}],"enable":true},{"enable":true,"effects":[]}],"updatedAt":1616568665047},"durationMillis":0,"intervalMillis":20,"size":20}
|
1
assets/bHaptics/Interaction/Vest/DoorSlide.tact
Normal file
1
assets/bHaptics/Interaction/Vest/DoorSlide.tact
Normal file
|
@ -0,0 +1 @@
|
|||
{"project":{"createdAt":1616227496861,"description":"","id":"-MWDebPg08cNHty8ERNv","layout":{"layouts":{"VestBack":[{"index":0,"x":0,"y":0},{"index":1,"x":0.333,"y":0},{"index":2,"x":0.667,"y":0},{"index":3,"x":1,"y":0},{"index":4,"x":0,"y":0.25},{"index":5,"x":0.333,"y":0.25},{"index":6,"x":0.667,"y":0.25},{"index":7,"x":1,"y":0.25},{"index":8,"x":0,"y":0.5},{"index":9,"x":0.333,"y":0.5},{"index":10,"x":0.667,"y":0.5},{"index":11,"x":1,"y":0.5},{"index":12,"x":0,"y":0.75},{"index":13,"x":0.333,"y":0.75},{"index":14,"x":0.667,"y":0.75},{"index":15,"x":1,"y":0.75},{"index":16,"x":0,"y":1},{"index":17,"x":0.333,"y":1},{"index":18,"x":0.667,"y":1},{"index":19,"x":1,"y":1}],"VestFront":[{"index":0,"x":0,"y":0},{"index":1,"x":0.333,"y":0},{"index":2,"x":0.667,"y":0},{"index":3,"x":1,"y":0},{"index":4,"x":0,"y":0.25},{"index":5,"x":0.333,"y":0.25},{"index":6,"x":0.667,"y":0.25},{"index":7,"x":1,"y":0.25},{"index":8,"x":0,"y":0.5},{"index":9,"x":0.333,"y":0.5},{"index":10,"x":0.667,"y":0.5},{"index":11,"x":1,"y":0.5},{"index":12,"x":0,"y":0.75},{"index":13,"x":0.333,"y":0.75},{"index":14,"x":0.667,"y":0.75},{"index":15,"x":1,"y":0.75},{"index":16,"x":0,"y":1},{"index":17,"x":0.333,"y":1},{"index":18,"x":0.667,"y":1},{"index":19,"x":1,"y":1}]},"name":"Tactot","type":"Tactot"},"mediaFileDuration":1,"name":"DoorSlide","tracks":[{"effects":[{"modes":{"VestBack":{"dotMode":{"dotConnected":false,"feedback":[]},"mode":"DOT_MODE","pathMode":{"feedback":[{"movingPattern":"CONST_SPEED","playbackType":"NONE","visible":true,"pointList":[]}]}},"VestFront":{"dotMode":{"dotConnected":true,"feedback":[{"endTime":200,"playbackType":"NONE","pointList":[{"index":16,"intensity":0.1}],"startTime":0},{"endTime":400,"playbackType":"NONE","pointList":[{"index":18,"intensity":0.1},{"index":15,"intensity":0.1}],"startTime":200},{"endTime":600,"playbackType":"NONE","pointList":[{"index":17,"intensity":0.1}],"startTime":400},{"endTime":800,"playbackType":"NONE","pointList":[{"index":12,"intensity":0.1},{"index":19,"intensity":0.1}],"startTime":600},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":19,"intensity":0.1},{"index":14,"intensity":0.1}],"startTime":800},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":12,"intensity":0.1},{"index":15,"intensity":0.1}],"startTime":1000}]},"mode":"DOT_MODE","pathMode":{"feedback":[{"movingPattern":"CONST_SPEED","playbackType":"NONE","visible":true,"pointList":[]}]}}},"name":"dot","offsetTime":1000,"startTime":0}],"enable":true},{"effects":[{"modes":{"VestBack":{"dotMode":{"dotConnected":true,"feedback":[{"endTime":200,"playbackType":"NONE","pointList":[{"index":18,"intensity":0.1},{"index":12,"intensity":0.1}],"startTime":0},{"endTime":400,"playbackType":"NONE","pointList":[{"index":18,"intensity":0.1}],"startTime":200},{"endTime":600,"playbackType":"NONE","pointList":[{"index":13,"intensity":0.1}],"startTime":400},{"endTime":800,"playbackType":"NONE","pointList":[{"index":19,"intensity":0.1},{"index":16,"intensity":0.1}],"startTime":600},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":18,"intensity":0.1}],"startTime":800},{"endTime":1000,"playbackType":"NONE","pointList":[{"index":15,"intensity":0.1},{"index":12,"intensity":0.1}],"startTime":1000}]},"mode":"DOT_MODE","pathMode":{"feedback":[{"movingPattern":"CONST_SPEED","playbackType":"NONE","visible":true,"pointList":[]}]}},"VestFront":{"dotMode":{"dotConnected":false,"feedback":[]},"mode":"DOT_MODE","pathMode":{"feedback":[{"movingPattern":"CONST_SPEED","playbackType":"NONE","visible":true,"pointList":[]}]}}},"name":"dot","offsetTime":1000,"startTime":0}],"enable":true}],"updatedAt":1616227655930},"durationMillis":0,"intervalMillis":20,"size":20}
|
|
@ -132,14 +132,15 @@ public class bHaptics {
|
|||
registerFromAsset(context, "bHaptics/Interaction/Arms/Healthstation_L.tact", PositionType.ForearmL, "healstation", "pickup");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Arms/Healthstation_R.tact", PositionType.ForearmR, "healstation", "pickup");
|
||||
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Door_Open.tact", "dooropen", "door");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Door_Close.tact", "doorclose", "door");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/DoorSlide.tact", "dooropen", "door");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/DoorSlide.tact", "doorclose", "door");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Scan.tact", PositionType.Vest, "scan", "environment", 1.0f, 1.15f);
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Scan.tact", PositionType.Vest, "decontaminate", "environment", 0.5f, 0.75f);
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Chamber_Up.tact", "liftup", "environment");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Chamber_Down.tact", "liftdown", "environment");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_Machine.tact", "machine", "environment");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Spark.tact", "spark", "environment");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Head/Spark.tact", "spark", "environment");
|
||||
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_PDA_Open.tact", "pda_open", "pda");
|
||||
registerFromAsset(context, "bHaptics/Interaction/Vest/Body_PDA_Open.tact", "pda_close", "pda");
|
||||
|
|
Loading…
Reference in a new issue