Search found 8 matches
- Tue Jun 30, 2015 8:48 am
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
Thepear I really appreciate all your help, and everyone else's! I have a back injury that limits the amount of time that I can sit at a desk and as soon as I can I will give this a try.
- Sun Jun 28, 2015 7:12 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
my current problem...sigh ( I've tried to fix this I'm not just giving up and letting other ppl solve my problems )
The 2 blue "+" signs are where I am assuming the ghost lights are being placed. This causes the problems below
http://i.imgur.com/HarhtH9.png
The ghost lamps are now stranded ...
The 2 blue "+" signs are where I am assuming the ghost lights are being placed. This causes the problems below
http://i.imgur.com/HarhtH9.png
The ghost lamps are now stranded ...
- Sun Jun 28, 2015 6:02 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
my thought was that if i am walking down a street there is a small gap between where the light sources are. I'm running into some newb problems that I am trying to overcome. I figure I can hammer that stuff out last.
- Sun Jun 28, 2015 2:42 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
Im working out the details with the The ingrediants I am thinking.
1 lamp/5 small poles = 5 lit small poles == 1/4 radius
2 lamps / 2 med poles / 1 electric circuit = 2 lit med poles== 1/2 the radius
1 lamp / 1 big pole / 2 electric cir = 1 big. === this will have the radius of the small lamp ...
1 lamp/5 small poles = 5 lit small poles == 1/4 radius
2 lamps / 2 med poles / 1 electric circuit = 2 lit med poles== 1/2 the radius
1 lamp / 1 big pole / 2 electric cir = 1 big. === this will have the radius of the small lamp ...
- Thu Jun 25, 2015 3:33 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
wow, so simple... guess i need to dig deeper into the tutorials. But, getting there.


- Thu Jun 25, 2015 2:15 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
Sorry, its the same as the one suggested by ThePear
-- A robot built one.
game.onevent(defines.events.onrobotbuiltentity, function(event) OnBuilt(event.createdentity) end)
-- A player built one.
game.onevent(defines.events.onbuiltentity, function(event) OnBuilt(event.createdentity) end)
-- A ...
-- A robot built one.
game.onevent(defines.events.onrobotbuiltentity, function(event) OnBuilt(event.createdentity) end)
-- A player built one.
game.onevent(defines.events.onbuiltentity, function(event) OnBuilt(event.createdentity) end)
-- A ...
- Thu Jun 25, 2015 1:48 pm
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Re: Trying to add lights to poles, is it possible?
I am now receiving the following error whenever I click generate.
__LightPole__/control.lua:3: attempt to index global 'defines' (a nil value)
I have added a temporary light entity
data:extend(
{
{
type = "electric-pole",
name = "small-electric-pole-with-lights",
icon = "__LightPole ...
__LightPole__/control.lua:3: attempt to index global 'defines' (a nil value)
I have added a temporary light entity
data:extend(
{
{
type = "electric-pole",
name = "small-electric-pole-with-lights",
icon = "__LightPole ...
- Tue Jun 23, 2015 9:13 am
- Forum: Modding help
- Topic: Trying to add lights to poles, is it possible?
- Replies: 17
- Views: 7863
Trying to add lights to poles, is it possible?
Hello all. This is my firs mod so i might be pretty far out of my element. I am trying to add lights to poles and the the biggest problem is there is no light. I load the mod successfully however when i place the pole it does nothing at night.... does anyone have any suggestions.. here is my entity ...