Commit Graph

6199 Commits

Author SHA1 Message Date
Centronias
ef506006b3 Toggleable flashlight (#106)
Fixes second half of #92 

Regarding the first half, Digitalis explained in discord that when an entity is picked up, visible components are made invisible by making the entire Godot scene node for the entity (based on the GodotTransformComponent) not visible. It's probably possible to exempt the pointlight from that invisibility, but that seems hacky and it seems like something that should be covered by a generic "items equipped in hands are visible" design.

Adds:
- Handheld light component for toggling light activation
- Lantern sprite with on and off layers
- Lantern prototype updates

Known issues:
- When light is on and on the ground, hovering over it with the cursor does not produce the outline effect. I'm not sure, but I think this is caused by the way I implemented the illuminated layer as an entire sprite rather than just the illuminated part. The outline only works on the first layer maybe? I checked it against the welder in its on state and it doesn't seem to outline the flame.
- Illuminated sprite (layer 1) is an entire flashlight, so to make it look okay, the whole first layer is turned off. Would be better / more correct to follow the example of the welder and just create an illuminated "cap" to overlay on the dark extinguished layer. I'd whip up some coder art myself, but I don't have the right tools to handle transparency.
- Illuminated sprite is slightly different from the extinguished sprite, so turning on the light makes it a little bit shorter.
2018-08-28 17:39:20 +02:00
Acruid
7b7b5cc59f Math Assembly (#102)
Included new Math assembly in projects.
2018-08-27 10:23:42 +02:00
PJB3005
5ce370f18b Update submodule 2018-08-27 09:59:10 +02:00
Pieter-Jan Briers
73f4442410 Engine Culling (#104)
* Move groups.yml to content.

* Add unpowered light prototype from engine.

* Move prototypes and textures over.

* Update submodule
2018-08-24 13:14:38 +02:00
Acruid
ed39649721 Interaction Features (#101)
Various minor interaction features.

There is no concept of gravity in the game yet, so items drift through space or the hallways of a station until they are stopped. Thrown items do not collide with walls because making them collidable makes them collide with EVERYTHING, including the player. We need collision groups in the physics system.

Because of the previous problems the velocity things are throw at is set quite low, it can be tweaked after the other mentioned issues are resolved.
2018-08-22 10:19:47 +02:00
Pieter-Jan Briers
cd4442b81e Antag Datums. Oh also minds. (#100)
AKA: Minds and there's a stupid basic roles framework.
2018-08-20 15:59:04 -07:00
Pieter-Jan Briers
e8c4dc9a34 Rejoin into the same body. (#96)
Depends on https://github.com/space-wizards/space-station-14/pull/659
2018-08-20 11:47:00 +02:00
Acruid
edb3eb5b2e HandsSystem now uses InputSystem. (#95)
Fixed TemperatureSystem namespace.
2018-08-18 15:28:02 -07:00
Acruid
ce5760d46c Click Migration (#94)
* Migrated Interaction system to the new Input system.

* Contexts are now set up in content.
2018-08-16 15:57:11 -07:00
Pieter-Jan Briers
189a52c6d7 Use Sprite proxies for GUIs. (#93)
AKA "welders actually light up in the hands GUI".
2018-08-16 22:43:04 +02:00
PJB3005
fe1252cca7 Why did I write sbyte there..? 2018-08-12 12:01:44 +02:00
Pieter-Jan Briers
7b3fcb1d54 Fix missing component errors on the client. 2018-08-09 22:50:05 +02:00
Pieter-Jan Briers
fa594fb3e9 Smoothwalling. (#91) 2018-08-09 20:22:54 +02:00
Acruid
830159390b Input Handling (#90)
* Migrates the Examine system to the new Input system.

* Update Engine.
2018-08-08 11:43:49 -07:00
Pieter-Jan Briers
b0a3f294c5 Remove now-redundant Transform component specifiers. 2018-08-02 10:17:30 +02:00
Pieter-Jan Briers
40ed16e118 Fix build harder. 2018-08-02 08:55:49 +02:00
Pieter-Jan Briers
6c5a0786c2 Fix build. 2018-08-02 08:45:23 +02:00
Pieter-Jan Briers
adda9136d0 Update submodule to fix CI. 2018-08-02 08:38:04 +02:00
Pieter-Jan Briers
cb224a973d Update Submodule. 2018-08-02 08:30:25 +02:00
Pieter-Jan Briers
d7074bf74f Construction System. (#87)
* Construction WiP

* Construction kinda works!

* Lots more construction work.

* It mostly works!
2018-08-02 08:29:55 +02:00
Víctor Aguilera Puerto
f051078c79 Remove all references to OpenTK (#85)
Resolves #80
2018-07-29 23:58:19 +02:00
Pieter-Jan Briers
74b38c49fb Materials system. (#84) 2018-07-27 17:11:58 +02:00
Pieter-Jan Briers
cb439ba39a Remove compiler warnings. 2018-07-26 23:55:34 +02:00
Pieter-Jan Briers
b34591ab59 Data Rework Content Edition (#82)
* WiP Data Rework.

* Convert stationstation to new map format.

* stationstation.yml v2

* Update submodule
2018-07-26 23:38:16 +02:00
Acruid
8c874c76dc Base Update() method was removed from components in engine, added some basic ECS systems to update the components. (#79) 2018-07-26 23:26:19 +02:00
Pieter-Jan Briers
18ed1041ba Update submodule 2018-07-26 23:26:03 +02:00
Pieter-Jan Briers
ad5c82fec9 APC & SMES appearances. (#78)
* CEV-Eris SMES sprite as RSI.

Has been modified so that the light overlay states use alpha blending.

* Add tiny glow to SMES display sprite.

* Appearances work v2

* More WiP

* RoundToLevels works correctly on even level counts now.

* SMES -> Smes because MS guidelines.

* CEV-Eris APC sprite.

* APC visuals.

* Reduce SMES scale again to normal levels.

* Update submodule
2018-07-17 11:39:55 +02:00
Pieter-Jan Briers
7629d447aa Update submodule 2018-07-14 13:36:32 +02:00
Pieter-Jan Briers
806addd3ae I am a certified genius. 2018-06-23 22:03:46 +02:00
Pieter-Jan Briers
ad0c547f08 Update Jenkinsfile. 2018-06-23 22:02:40 +02:00
Pieter-Jan Briers
d92d4c2fa2 Merge branch 'master' of github.com:space-wizards/space-station-14-content 2018-06-23 21:58:48 +02:00
Pieter-Jan Briers
f163602942 Linux exports LAD 2018-06-23 21:58:39 +02:00
indeano
2d23c6a45e Some work on directing storage component's client updates (#75)
* adds storage system, primitive client-unsubscribing of storage updates

* strips out currently unneeded system

* channel to actor

* closestorageui todo added

* thorough logging, actor to session, validates session before sending packets

* offloads session status check to an event handler
2018-06-20 15:49:13 -05:00
PJB3005
86e600bec7 Merge remote-tracking branch 'origin/18-06-09-gridentities' 2018-06-13 04:26:04 +02:00
Pieter-Jan Briers
e4c378cb8f Update submodule & clean up code with Timer.Spawn(). 2018-06-11 20:30:52 +02:00
Pieter-Jan Briers
10999dc905 Grid map detaching: content edition. 2018-06-10 01:03:49 +02:00
Pieter-Jan Briers
9b251d70e2 Readme & submodule update. 2018-06-09 15:48:54 +02:00
Pieter-Jan Briers
df538aa4d6 Update submodule. 2018-06-08 15:16:20 +02:00
Pieter-Jan Briers
cd1d731b73 Don't let me write sh code. 2018-06-08 14:56:59 +02:00
Pieter-Jan Briers
c355031a2c Fix broken travis.yml 2018-06-08 12:46:11 +02:00
Pieter-Jan Briers
bd529a0478 Fix texture case sensitivity issues. 2018-06-08 12:37:34 +02:00
Pieter-Jan Briers
7fcd424c71 Proper drawdepths for items & clothing. 2018-06-03 16:29:56 +02:00
Pieter-Jan Briers
439b8d772f Update submodule. 2018-06-03 16:23:38 +02:00
Pieter-Jan Briers
d8540cdbd9 Comments are important. 2018-05-30 17:05:06 +02:00
Pieter-Jan Briers
0dad2c863b Fix powernet spreading edge cases. 2018-05-30 16:44:35 +02:00
Pieter-Jan Briers
179b2534d2 Fix load & supply desync upon merging powernets. 2018-05-30 16:22:51 +02:00
Pieter-Jan Briers
ff0b1bfd05 Fix power warnings & sort errors. 2018-05-30 16:10:36 +02:00
Pieter-Jan Briers
097c876578 More data in power debug tool. 2018-05-30 14:23:08 +02:00
Pieter-Jan Briers
d5ce4c6b7f Sprite drawdepth fixes. 2018-05-30 14:07:49 +02:00
Pieter-Jan Briers
7e5c764b50 Make power node not die on map load. 2018-05-27 23:39:14 +02:00