Product Chat (Early Access) / [SOLVED] switch and lights do not work as in broadcast 81

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 11:46 Edited at: 27th Mar 2022 11:50
I just followed the example of the the broadcast 81 with the light and switch and it does not work.
how can we release a product if small stuff like that is not in place.?

Please look at it Lee.

edited , I even selected the toggle light just to make sure i have a light as in the description that said it would toggle with other objects
.
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11

The author of this post has marked a post as an answer.

Go to answer
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2022 11:57
Quote: "how can we release a product if small stuff like that is not in place.? "

But it is .. Just did it myself to show another user.
https://youtu.be/9Yt9yrzcMeQ
No one ever really leaves.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2022 12:02
Here are a list of new Tutorials also
They may help.
https://www.youtube.com/watch?v=MABzfvY39wo&list=PLE-iCIs1FHEEV1K7Wc7J9-mIDdG9PIFSK
No one ever really leaves.
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 12:08
dont know why but it still do not work.
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 12:23 Edited at: 27th Mar 2022 12:23
the problem starts with the light it stays on even before i switch the light switch, it does not go off if i select it in the properties, So once I'm in the test game the light is constant on.
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 13:04 Edited at: 27th Mar 2022 13:04
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2022 13:43 Edited at: 27th Mar 2022 13:45
You have the switch ticked as on ...
so it will be.. Watch what i untick in my vid.

No one ever really leaves.
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 13:49 Edited at: 27th Mar 2022 13:54
Ok i just made sure and test again the switch properties is off and the light properties is also off, but when i test the light is on in the test game.

edit
I have two problems one, the light is on when its supposed to be of at start and secondly it does not switch on and of
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2022 14:01 Edited at: 27th Mar 2022 14:02
Try my mapfile
No one ever really leaves.

Attachments

Login to view attachments
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 14:10
Ok just tested your map did not change any thing just run it and it still does not work.


Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 27th Mar 2022 14:25
Quote: "Ok just tested your map did not change any thing just run it and it still does not work."


Same here.
Been there, done that, got all the T-Shirts!
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2022 14:27
Ok one for the Github then ..
All i can say is it works for me and im on the same as everyone else ?
No one ever really leaves.
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Mar 2022 14:35
Maybe I'm to sober for this to work. hahahaha
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 27th Mar 2022 15:42
I have the same problem when I was playing with switches and doors, lights, and other objects.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 27th Mar 2022 15:52
@ synchro
Are you using some custom mesh?

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Fitz marc ade
17
Years of Service
User Offline
Joined: 1st Jan 2007
Playing:
Posted: 30th Mar 2022 15:24
I have same problem with all switches and lights, managed to get some doors working with a key though.
"Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning." -Albert Einstein

"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Mar 2022 17:30
Lights + switch works for me.

https://youtu.be/1s8rxyot7vY

Sorry, I miss showing an important thing, the relationship.

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Fitz marc ade
17
Years of Service
User Offline
Joined: 1st Jan 2007
Playing:
Posted: 30th Mar 2022 19:06
I could get the "Flame Light" and "Flicker Light" scripts to work with the switch, just not the "Toggle Light". I just updated and it the lights seem to work now. Problem solved as of update.
"Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning." -Albert Einstein

"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 31st Mar 2022 17:55
This post has been marked by the post author as the answer.
after i delete script folder and redownload again then all is ok, switch with light work
Current W.I.P
TheValley

Windows 10 Pro 64-bit
Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
RAM 16GB
NVIDIA GeForce RTX 3060 12GB GDDR6
DirectX Version: DirectX 11
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 18:06
Can someone upload the script for the light so I can try to replace mine too? It's not working for me still!
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Apr 2022 19:59
Is this script correct? No luck for me

-- DESCRIPTION: Light will toggle on and off when it is activated by another object or game element. Use the [LightOn!=1] state to decide if the light is initially off or on.

module_lightcontrol = require "scriptbank\\markers\\module_lightcontrol"
----- YES, module_lightcontrol is there---

g_togglelight = {}

function ToggleLight_properties(e, lighton)
module_lightcontrol.init(e, lighton)
end

function ToggleLight_init(e)
end

function ToggleLight_main(e)
module_lightcontrol.control(e)
end

Login to post a reply

Server time is: 2024-12-22 04:54:30
Your offset time is: 2024-12-22 04:54:30