Floor Lights
Description:Lights (lamps) that are integrated into the ground. These lamps used to have their power cable hidden underground, but various rim-rodents kept eating them so the cable placement had to be revisited.
I got tired of those standing lamps ruining the view when I wanted to light up my hallways, so I made this. I tried to make a circular one, but it didn't look good enough for me. I might add more different looking floor lamps, if I get any ideas.
FeaturesA light (lamp) that goes on ground. Allows standing on it and the light power is same as the standing lamp, but the resource and energy cost is a bit lower and the work to make amount is a bit higher. Also has the 5 different colors, which need researching. It is now possible to build on top of the lamps.
Shapes:
- Square (1x1)
- Corner ( |_ ) for "Stripe"
- Stripe (half square) (1x0,5)
- Small corner ( |_ ) for "Small stripe"
- Small stripe (1x0,2ish)
- Plus (1x1)
Colors:
- White (normal)
- Red
- Green
- Blue
- Yellow
- Purple
Steam WorkshopLink (https://steamcommunity.com/sharedfiles/filedetails/?id=1541728186)
Download LatestGitHub (https://github.com/Temeez/FloorLights/archive/1.0.zip) | RRS (https://www.mediafire.com/rss.php?key=cddqqajx0csox) You can also find older versions via the RRS link.
AuthorTemeez (https://ludeon.com/forums/index.php?action=profile;u=32968)
How to install- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.
Changelog
v5.2 (09.09.2018)
- Fixed lamps being build instantly and balanced the WorkToBuild value and a few warnings.
v5.1 (03.09.2018)
- Chinese (Simplified) translation got added.
v5.0 (01.09.2018)
- B19.
v4.1 (06.12.2017)
- Told pawns not to break things on top before building the floor lights, probably.
v4.0 (18.11.2017)
- B18.
v3.2 (29.08.2017)
- A17.
v3.1 (07.01.2017)
- Fixed an issue of not being able to build on top of all the lamp shapes.
- Fixed an issue with altitudelayer.
v3.0 (31.12.2016)
- Reverted the "wire removal" for lamps. Floor tile lamp will still require conduit connection.
v2.6 (31.12.2016)
- Fixed yellow square lamp emitting blue light, oops.
v2.5 (30.12.2016)
- Added corner lights for stripes.
- Wires removed, but some power conduit might be visible at certain situations, looks better though.
- Floor tile lamp is now drag-able.
v2.4 (24.12.2016)
- Lowered small stripe steel cost.
v2.3 (21.12.2016)
- Updated to Alpha 16.
v2.2 (22.11.2016)
- Added the Electricity research requirement for the lamps.
v2.1 (11.10.2016)
- Tweaked power consumption values. Square shape eats 24 power and others less.
v2.0 (10.10.2016)
- Updated to Alpha 15, Dingo helped :)
- Added a new color, purple.
- Added this mod into Steam Workshop.
v1.7 (16.04.2016)
- Updated to Alpha 13
- The power cables/wires are visible.
v1.6 (02.09.2015)
- Added small stripe lamps
- Small fix to the shadow xml
v1.5 (31.08.2015)
- Updated to Alpha 12
v1.4 (14.06.2015)
- Updated to Alpha 11
- Added a white square lamp as a floor tile (but it is still a building)
v1.3 (26.04.2015)
- Updated to Alpha 10.
v1.2 (22.02.2015)
- Updated to Alpha 9.
v1.1 (08.01.2015)
- Allow building on top of the floor lights
- Added stripe shape (half square), rotatable
- Added plus shape
- Added yellow lamp
- Added red,green,blue,yellow colors on textures
- New "Lamps" category for all the lamps
- Different shapes have different stats
v1.0 (07.01.2015)
- Released for alpha 8.
Screenshot(s)(http://i.imgur.com/7Zo1lIt.jpg)
Are you able to build furniture on top of the floor light? Because that's what I imagine an integrated floor light would be. I see in the XML that the altitude layer is floor, which I haven't used before. But I used floorEmplacement and wasn't able to build things on that item. I had to add in the following bit of code, which I see isn't in your XML, to do that.
<building>
<isEdifice>false</isEdifice>
</building>
I ask purely because I want to know if there is a different way of doing it or not and I don't have time to actually play a game and test it out right now.
Quote from: Igabod on January 07, 2015, 04:12:29 PM
Are you able to build furniture on top of the floor light? Because that's what I imagine an integrated floor light would be. I see in the XML that the altitude layer is floor, which I haven't used before. But I used floorEmplacement and wasn't able to build things on that item. I had to add in the following bit of code, which I see isn't in your XML, to do that.
<building>
<isEdifice>false</isEdifice>
</building>
I ask purely because I want to know if there is a different way of doing it or not and I don't have time to actually play a game and test it out right now.
No, you can't build on the floor lights, and I can't see to big of a reason to do that either.
Ah ok. Was just curious. I needed to be able to build on top of the item I made because it is heated flooring tiles. I may add the bit of code I mentioned earlier into your mod just for my own use. In my mind I think of the lighted floors from the recent Tron movie in Flynn's safe house.
(http://images4.fanpop.com/image/photos/18200000/Kevin-Flynn-tron-legacy-18253414-555-312.jpg)
New version is out, check the changelog.
Updated to Alpha 9.
Is this dead? I loved them
Quote from: Asfalto on April 25, 2015, 12:32:27 PM
Is this dead? I loved them
No and thank you. :)
Updated now and should work without problems.
Thanks for updating! This is a favorite!
I'd have a suggestion, if you would consider it.
Instead of "lamps", you could make it a "floor tile", upon which we could build. You could make its glow radius small, along with its energy requirement, so that we could (or rather, "would need to") fill whole rooms/corridors with it to actually lighten them up.
I think it'd be awesome...er. Most awesomerest.
Think about it...
Take your time... ^^
Updated to Alpha 11.
Also added a white square lamp to act as a floor tile, so it has a low power drain and small light radius. It is not possible to build other kind of floor tiles on top of this however, it needs to be deconstructed first.
Hi Temeez
Love this mod. Wondering if you could possible make a Superior Crafting (https://ludeon.com/forums/index.php?topic=11741.0) compatible version - i.e. which places the lights somewhere (reasonably advanced) in the SC tech tree and uses the appropriate materials?
Cheers!
Quote from: akiceabear on July 15, 2015, 08:20:05 AM
Hi Temeez
Love this mod. Wondering if you could possible make a Superior Crafting (https://ludeon.com/forums/index.php?topic=11741.0) compatible version - i.e. which places the lights somewhere (reasonably advanced) in the SC tech tree and uses the appropriate materials?
Cheers!
Nice to hear that you like my mod! :)
This was a good idea and the SC mod looks like a lot of fun, so I did it! Non colored are available at Power II and colored ones require a bit more ;) The white square lamp floor tile requires Power III. I also adjusted the building costs a bit and added glass to it. Hope you like! The download link is at the first post.
Thanks! Will give this a try this weekend.
Updated to alpha 12!
Pretty cool. How about the Beauty ? Could you do a strip 1x0.1 ? So it would be like a airplane stripe ? :)
Thank you for the mod, I'm going to use it now. I never liked the vanilla lamp anyways :P
Quote from: ROD on August 31, 2015, 09:23:19 AM
Pretty cool. How about the Beauty ? Could you do a strip 1x0.1 ? So it would be like a airplane stripe ? :)
Thank you for the mod, I'm going to use it now. I never liked the vanilla lamp anyways :P
Thank you, the lamps add a bit Beaty ;)
I do not know what a airplane stripe is, but I assume you mean something like a very thin light stripe on one side of a tile?
That's the one :D
"In case of emergency, please follow the lights on the corridor" :D :D :D
Thank you !
Quote from: ROD on September 02, 2015, 06:00:24 AM
That's the one :D
"In case of emergency, please follow the lights on the corridor" :D :D :D
Thank you !
Updated to v1.6. Hope you like! :)
This mod also works with the Ultime Overhaul Modpack, providing the SC one is used (see the first post).
Just wanted to say that I adore this mod. Exactly what I needed for my spacer-tech outpost!
How about a alpha 13 update?
Quote from: MechanoidHater on April 16, 2016, 07:03:37 AM
How about a alpha 13 update?
Only because you said please, oh wait.. you didn't.. well here it is anyways: http://www.mediafire.com/download/e6yhcv835hog3hc/FloorLights.v1.7.zip
Link also updated on the main post. The power cables/wires are visible, not sure why, maybe the image file name is no longer called "Wire"..
I just tel it with my word : Merci beaucoup :D
Use this all the time. Thanks!
Good mod but I found a bug that only went away when I deactivated it. I can't build with this mod active since it won't generate any roofs. I have no idea why it happened.
The other mods I use are: Recycle, Storage, Hospitality and GlitterTech.
The problem persisted even after I deactivated Glitter so it can't be from that.
Quote from: TheXIIILightning on May 04, 2016, 11:46:58 PM
Good mod but I found a bug that only went away when I deactivated it. I can't build with this mod active since it won't generate any roofs. I have no idea why it happened.
The other mods I use are: Recycle, Storage, Hospitality and GlitterTech.
The problem persisted even after I deactivated Glitter so it can't be from that.
I quickly tried this mod only and I didn't get that bug. Not sure what causes it, could be a combination of certain mods. Don't really have the time to investigate it.
is this going to be updated?
For more lights you can try Skullywags Misc Mods (https://ludeon.com/forums/index.php?topic=14177.0)
Quote from: kinebudking on July 19, 2016, 02:58:46 AM
is this going to be updated?
Most likely not, at least anytime soon.
temp patch to get rid of the errors in a14.
Floor Lights 1.7(fixed)
https://www.dropbox.com/s/ub64p5cvtf9c5wf/Floor%20Lights%201.7%28fixed%29.zip?dl=0 (https://www.dropbox.com/s/ub64p5cvtf9c5wf/Floor%20Lights%201.7%28fixed%29.zip?dl=0)
also a backup attachment.
[attachment deleted by admin - too old]
Quote from: stryth on July 26, 2016, 10:12:19 PM
temp patch to get rid of the errors in a14.
Floor Lights 1.7(fixed)
https://www.dropbox.com/s/ub64p5cvtf9c5wf/Floor%20Lights%201.7%28fixed%29.zip?dl=0 (https://www.dropbox.com/s/ub64p5cvtf9c5wf/Floor%20Lights%201.7%28fixed%29.zip?dl=0)
also a backup attachment.
I approve of this.
Is this mod compatible with A15? I love this mod so much.
Quote from: nguadien on September 29, 2016, 05:33:34 AM
Is this mod compatible with A15? I love this mod so much.
Here is a version that runs on A15c (fixed some errors and a few typos, using A15 buildingbase).
Download from Google Drive (direct download) (https://drive.google.com/uc?export=download&id=0Bz2imWwZydMqLUVxRmFGTmVCUEE)
I've been lovin this mod for the past week or so. Thanks for the improvements, Dingo!
Thank you so much, mandingo
Quote from: Dingo on September 29, 2016, 06:20:48 AM
Quote from: nguadien on September 29, 2016, 05:33:34 AM
Is this mod compatible with A15? I love this mod so much.
Here is a version that runs on A15c (fixed some errors and a few typos, using A15 buildingbase).
Download from Google Drive (direct download) (https://drive.google.com/uc?export=download&id=0Bz2imWwZydMqLUVxRmFGTmVCUEE)
Thank you sir! :)
I added a new color, purple and uploaded this mod into Steam workshop (https://steamcommunity.com/sharedfiles/filedetails/?id=778449215). I'll do my best to keep this up to date better in the future.
Edit: v2.1 out.
Very Useful and Awesome mod The light is Balance and Balance Electricity need and thanks for this mod and also different color Great job.
Light : 9.3/10
Texture : 9.4/10
Research : 9.3/10
Resources need : 9.6/10
Average 9.4/10
P.S : Keep a Great Work ;)
Version 2.2 is out: Added the Electricity research requirement for the lamps.
that was really fast, after my hint about it on steam workshop.
:thumbsup:
Updated to A16, both Mediafire and Steam workshop.
Absolutely love your mod.
Really do ever since A12 when I started with mods.
But, every time I'm playing it always annoys me...
Quote from: amuzet
Square light 12 steel
okay fine just make up a number I'm cool with that
Stripe light 6 steel
even better half a light, half the steel!
you can't do that with 9
Plus light 9 steel
okay... I mean the total amount of pixels on the sprite is more than half but less than 3/4 opaque, makes sense
SMALL STRIPE 8 STEEL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What the heck! just break the whole entire thing why don't you.
there seems to be no spoiler tag...
quick question, I've been looking thru the code in many rimmods, why don't
people define the altitudeLayer of all your floor lights in BuildingBase once instead of the four different times in each type? and shortCircuitInRain and other attributes?
[/list]
Quote from: Amuzet on December 23, 2016, 05:29:06 AM
- snip -
The 8 steel cost is probably an oversight, fixed that.
As for the question, I don't know. I'd suggest you to ask in the Mods forum section.
New stuff!
v2.5
- Added corner lights for stripes.
- Wires removed, but some power conduit might be visible at certain situations, looks better though.
- Floor tile lamp is now drag-able.
Shouldn't break saves, but they need to be rebuild I'm fairly sure.
Hello Temeez,
please have a look at my attached pictures. (#1+#2)
Is this a bug, or is this the "Wires removed, but some power conduit might be visible at certain situations, looks better though." - feature ?
At least in A15, there never was a power conduit visible at those stripes.
Additonally, all my 1x1 full square floor lights seem to have no connection to the power net any more. (pic#3) The only one that is working is the one in the small room near my meal freezer: it is directly attached to a power line in the nearby wall.
[attachment deleted by admin due to age]
Its the feature.. but yeah, that doesn't really look good at all. I think I'll revert that.
Edit: Reverted for lamps.
Thank you for this grrrat mod. It's one of my must haves.
Anyway, I'm trying to figure out if I am over using this mod and therefor having it generate a lot of lag. I tend to light up every hallway and room with it to the point I have hundreds and hundreds of them. How much graphics and or processor lag do you think that would cause? I notice that each individual light has its own connection to electricit and that each one is feintly graphically represented too. Can that crest a lot of lag? I'm just trying to figure out if I have free reign with this mod or I have to limit myself. Thanks!
Quote from: Selway on February 15, 2017, 07:33:17 PM
Thank you for this grrrat mod. It's one of my must haves.
Anyway, I'm trying to figure out if I am over using this mod and therefor having it generate a lot of lag. I tend to light up every hallway and room with it to the point I have hundreds and hundreds of them. How much graphics and or processor lag do you think that would cause? I notice that each individual light has its own connection to electricit and that each one is feintly graphically represented too. Can that crest a lot of lag? I'm just trying to figure out if I have free reign with this mod or I have to limit myself. Thanks!
Thanks.
I honestly have no idea. It could be that the game can't handle too many light sources, but that is just a guess.
Sorry for being lazy and not looking it up myself but is there an easy way to get rid of the little wires that connect from the lights to the power conduits? I rly like this mod but i always end up laying hidden power conduits underneath the lights.
Hoping for an easy def fix?
Quote from: Semo on February 16, 2017, 02:31:21 PM
Sorry for being lazy and not looking it up myself but is there an easy way to get rid of the little wires that connect from the lights to the power conduits? I rly like this mod but i always end up laying hidden power conduits underneath the lights.
Hoping for an easy def fix?
Not to my knowledge, and until there is something like <wire>off</wire> xml setting for stuff and things, they likely won't go anywhere.
Meh.
Tnx for the info ;)
Any chance of an update to A17 or does it still work in A17?
Quote from: nylem on August 27, 2017, 11:09:30 AM
Any chance of an update to A17 or does it still work in A17?
Did it.
http://steamcommunity.com/sharedfiles/filedetails/?id=1122798899
http://www.mediafire.com/file/3yeoh76nt416cvl/FloorLights.v3.2.zip
Thanks so much for your work and for posting here!
I've been using the old version with A17 without any trouble that I'm aware of. I'm curious about what you needed to update? I'll still sleep better at night knowing my mod list is without red squares...
Quote from: numberland on August 29, 2017, 11:36:37 AM
Thanks so much for your work and for posting here!
I've been using the old version with A17 without any trouble that I'm aware of. I'm curious about what you needed to update? I'll still sleep better at night knowing my mod list is without red squares...
It was just the version number in the About.xml, afaik. So you should be fine.
I use the Floor lights mod all the time and think its great.
Thanks for all your work Temeez, please let me know if you want this removed.
So as I'm always running the "unstable - Public testing" version of Rimworld, I decided to update this mod for myself as it was only a couple of quick changes! But then I thought why make the changes and not share with everyone.
[attachment deleted by admin: too old]
Quote from: Belgrath on October 28, 2017, 06:26:05 AM
I use the Floor lights mod all the time and think its great.
Thanks for all your work Temeez, please let me know if you want this removed.
So as I'm always running the "unstable - Public testing" version of Rimworld, I decided to update this mod for myself as it was only a couple of quick changes! But then I thought why make the changes and not share with everyone.
Thanks, that's fine. When A18 comes out as stable I'll update my mods in Steam Workshop.
Basicly i don't care about the workshop, but before you get angry customer, you shouldn't update it, you should create a new entry.
Quote from: Canute on October 31, 2017, 01:16:33 PM
Basicly i don't care about the workshop, but before you get angry customer, you shouldn't update it, you should create a new entry.
Yes that is what I have done and will keep doing.
Beta 18 compatible version is out and it'll also work with the "Adjustable Colored Lights" mod.
Workshop link: http://steamcommunity.com/sharedfiles/filedetails/?id=1204077169
Direct download: http://www.mediafire.com/file/km95nlbftejkf19/FloorLights.v4.0.zip
There was quite a simple mod back in the old day that was getting rid of them by "just" replacing the wire texture by an empty texture. To the game they were still there but not visible, but I can't seems to find it again :-(
Quote from: kaptain_kavern on November 22, 2017, 12:20:30 AM
There was quite a simple mod back in the old day that was getting rid of them by "just" replacing the wire texture by an empty texture. To the game they were still there but not visible, but I can't seems to find it again :-(
That is what I did with this mod but it stopped working at some point.
Crap! it's a shame.
Maybe Tynan have changed texture path or something similar. I will look into it and letting you know if you want (I'm already managing too much mods for my own sanity ;-) )
o7
Hey I find you this, while exploring code:
<building >
<allowWireConnection>false</allowWireConnection>
</building>
In the XML for powerswitches (/Defs/ThingDefs_Buildings/Buildings_Power.xml)
I haven't tested anything and I suspect using it will means having to place ceiling lamps on a power conduit, but maybe it'll interest you nonetheless.
I was thinking: I need to find a vanilla building that doesn't shows wires to see how it is done.
Quote from: kaptain_kavern on November 23, 2017, 07:36:46 PM
Hey I find you this, while exploring code:
<building >
<allowWireConnection>false</allowWireConnection>
</building>
In the XML for powerswitches (/Defs/ThingDefs_Buildings/Buildings_Power.xml)
I haven't tested anything and I suspect using it will means having to place ceiling lamps on a power conduit, but maybe it'll interest you nonetheless.
I was thinking: I need to find a vanilla building that doesn't shows wires to see how it is done.
I tried that just now but it didn't seem to do anything.
Updated to version 4.1 which tells pawns not to break things on top of the tile before building the light. https://www.mediafire.com/file/c5fgdmlakf2qhco/FloorLights.v4.1.zip
Quote from: Temeez on December 06, 2017, 11:00:57 AMUpdated to version 4.1 which tells pawns not to break things on top of the tile before building the light....
But... but.... Wanton needless destruction is FUN! :P
Beta 19 compatible version is out.
Workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=1499742499
Direct download: http://www.mediafire.com/file/849pqi15ix5n4gs/FloorLights.v5.0.zip
Chinese (Simplified) translation was added.
Direct download: http://www.mediafire.com/file/wdt9mw5i0h6pjui/FloorLights.v5.1.zip
Big thanks for the update but there's two noticeable issues with the current version of the mod.
- XML defs for new lamps use WorkToMake instead of WorkToBuild which makes lamps to be built instantly. More details here (https://www.reddit.com/r/RimWorld/comments/5py7ny/psa_to_modmakers_and_people_wanting_to_fix_the/).
- Even after this is fixed, this value is still much lower than for standing lamp - 120 vs 300. This makes floor lamp to have same light radius while requiring less energy and work to build.
Again, thank you for all the work on this mod, it became must-have for my playthroughs :)
Quote from: LasurDragon on September 09, 2018, 01:32:04 AM
Big thanks for the update but there's two noticeable issues with the current version of the mod.
- XML defs for new lamps use WorkToMake instead of WorkToBuild which makes lamps to be built instantly. More details here (https://www.reddit.com/r/RimWorld/comments/5py7ny/psa_to_modmakers_and_people_wanting_to_fix_the/).
- Even after this is fixed, this value is still much lower than for standing lamp - 120 vs 300. This makes floor lamp to have same light radius while requiring less energy and work to build.
Again, thank you for all the work on this mod, it became must-have for my playthroughs :)
Thank you and oh what a blunder, much appreciated! I've fixed those and a few warnings. I balanced the WorkToBuild values based on the Standing Lamp and glow radius so it's 300 for 12 radius and 150 for 6 radius, etc.
Direct download: http://www.mediafire.com/file/m1pxq2w7nge4z28/FloorLights.v5.2.zip
I'll be keeping the non-steam version of the mod alive in github from now on: https://github.com/Temeez/FloorLights/archive/1.0.zip