000
19.12.2005, 09:27
Diamondog
|
Hi,
Habe mir jetzt einen Gang mit 9 Lampen gebaut. Wobei die Lichtquelle point-spotlights waren/sind. Nun wollte ich diese per func_button ein- und ausschalten. Ging nicht so einfach. Also hab ich in den Foren gestöbert und bin darauf gestoßen das light und spot_light einen toggle haben. point_spotlight aber nicht. Der hat nur turnOn oder TurnOff. Jetzt meine Frage: Wie bekomm ich das Hin das Ich per Schalter die Lampen (sind alle einzeln benannt und sollen per Schalter nach einander angehn, das funzt ja per delay,kappt auch soweit) an und dann auch per schalter ausschalten kann? Jetzt sagt nicht Foren durchkämmen, Hab gestern von 21 bis 2.30 Morgens gesessen , gesucht und probiert *Haarerauff*
Tnx im Vorraus
--
Dieser Beitrag wurde am 19.12.2005 um 09:29 von Diamondog bearbeitet.
|
|
Profil || Suche
|
001
19.12.2005, 10:02
Richman
Moderator
|
Du kannst den Button zu einem toggle machen. Dann erstellst du zwei Outputs, einer "OnIn" der die Lichter ausschaltet und einer "OnOut" der sie wieder einschaltet, oder umgekehrt, je nach bedarf. Sollte eigentlich den gleichen Effekt haben.
--
Richman's Hazardous Course - Status: 100% !!! www.richmans-maps.ch.vu - wieder online!
|
|
Profil || Suche
|
002
19.12.2005, 10:15
Diamondog
|
Denn Butoon zu einem Toggle machen?? Das mit OnIn und OmOut hab ich schon probiert. Problem: nach der eingestellten zeit geht der Button wieder zurück, ergo auch das Licht wieder aus/an. Wenn ich den auf stillstand setzte bleibt der Button gedrückt und ich kann ihn nicht nochmal drücken zum ausmachen.
--
|
|
Profil || Suche
|
003
19.12.2005, 11:15
Richman
Moderator
|
Du musst beim Button das Flag "Toggle" aktivieren. Dann wechselt dieser den Zustand nur, wenn du ihn benutzt ergo wird auch nur dann das Licht umgeschalten.
--
Richman's Hazardous Course - Status: 100% !!! www.richmans-maps.ch.vu - wieder online!
|
|
Profil || Suche
|
004
19.12.2005, 11:49
Diamondog
|
Ja das geht beim normalen Licht, aber nicht beim point_spotlight. Meine Lampen bestehen aus nem Spotlight (lässt sich togglen) und einem point_spotlight (lässt sich nur aus oder einschalten, aber nicht toggeln).
--
Dieser Beitrag wurde am 19.12.2005 um 11:50 von Diamondog bearbeitet.
|
|
Profil || Suche
|
005
19.12.2005, 15:02
NoMaster
|
wie wärs mit einem logic_relay, dass sich immer umschaltet?
--
|
|
Profil || Suche
|
006
19.12.2005, 16:33
Diamondog
|
Jetzt hab ich erst mal 2 Schalter genommen, um weiter zu kommen :)
Jetzt hab ich n neues Prob. Meine Map startet im Dunkel. Im Dunkeln leuchten die Fingernägel und Lampen (phospormäßig). Also hab ich n env_cubemap in die Mitte des Raums geworfen. Und Meine Map geladen -> buildcubemaps gemacht -> Fehler: ] buildcubemaps bounce: 1/1 sample: 1/1 Creating default cubemaps for env_cubemap using skybox sky_wasteland02... "materials/__gui_texture_0.vtf": can't be found on disk "materials/__gui_texture_1.vtf": can't be found on disk "materials/__gui_texture_2.vtf": can't be found on disk "materials/__gui_texture_3.vtf": can't be found on disk "materials/__gui_texture_4.vtf": can't be found on disk "materials/__gui_texture_5.vtf": can't be found on disk "materials/__gui_texture_6.vtf": can't be found on disk "materials/__gui_texture_7.vtf": can't be found on disk "materials/__gui_texture_8.vtf": can't be found on disk "materials/__gui_texture_9.vtf": can't be found on disk "materials/__gui_texture_10.vtf": can't be found on disk "materials/__gui_texture_11.vtf": can't be found on disk "materials/__gui_texture_12.vtf": can't be found on disk "materials/__gui_texture_13.vtf": can't be found on disk "materials/__gui_texture_14.vtf": can't be found on disk "materials/__gui_texture_15.vtf": can't be found on disk "materials/__gui_texture_16.vtf": can't be found on disk "materials/__gui_texture_17.vtf": can't be found on disk "materials/__gui_texture_18.vtf": can't be found on disk "materials/__gui_texture_19.vtf": can't be found on disk "materials/__gui_texture_20.vtf": can't be found on disk "materials/__gui_texture_21.vtf": can't be found on disk "materials/__gui_texture_22.vtf": can't be found on disk "materials/__gui_texture_23.vtf": can't be found on disk "materials/__gui_texture_24.vtf": can't be found on disk "materials/__gui_texture_25.vtf": can't be found on disk "materials/__gui_texture_26.vtf": can't be found on disk "materials/__gui_texture_27.vtf": can't be found on disk "materials/__gui_texture_28.vtf": can't be found on disk "materials/__gui_texture_29.vtf": can't be found on disk "materials/__gui_texture_30.vtf": can't be found on disk "materials/__gui_texture_31.vtf": can't be found on disk "materials/__gui_texture_32.vtf": can't be found on disk "materials/__gui_texture_33.vtf": can't be found on disk "materials/__gui_texture_34.vtf": can't be found on disk "materials/__gui_texture_35.vtf": can't be found on disk "materials/__gui_texture_36.vtf": can't be found on disk "materials/__gui_texture_0.vtf": can't be found on disk "materials/__gui_texture_1.vtf": can't be found on disk "materials/__gui_texture_2.vtf": can't be found on disk "materials/__gui_texture_3.vtf": can't be found on disk "materials/__gui_texture_4.vtf": can't be found on disk "materials/__gui_texture_5.vtf": can't be found on disk "materials/__gui_texture_6.vtf": can't be found on disk "materials/__gui_texture_7.vtf": can't be found on disk "materials/__gui_texture_8.vtf": can't be found on disk "materials/__gui_texture_9.vtf": can't be found on disk "materials/__gui_texture_10.vtf": can't be found on disk "materials/__gui_texture_11.vtf": can't be found on disk "materials/__gui_texture_12.vtf": can't be found on disk "materials/__gui_texture_13.vtf": can't be found on disk "materials/__gui_texture_14.vtf": can't be found on disk "materials/__gui_texture_15.vtf": can't be found on disk "materials/__gui_texture_16.vtf": can't be found on disk "materials/__gui_texture_17.vtf": can't be found on disk "materials/__gui_texture_18.vtf": can't be found on disk "materials/__gui_texture_19.vtf": can't be found on disk "materials/__gui_texture_20.vtf": can't be found on disk "materials/__gui_texture_21.vtf": can't be found on disk "materials/__gui_texture_22.vtf": can't be found on disk "materials/__gui_texture_23.vtf": can't be found on disk "materials/__gui_texture_24.vtf": can't be found on disk "materials/__gui_texture_25.vtf": can't be found on disk "materials/__gui_texture_26.vtf": can't be found on disk "materials/__gui_texture_27.vtf": can't be found on disk "materials/__gui_texture_28.vtf": can't be found on disk "materials/__gui_texture_29.vtf": can't be found on disk "materials/__gui_texture_30.vtf": can't be found on disk "materials/__gui_texture_31.vtf": can't be found on disk "materials/__gui_texture_32.vtf": can't be found on disk "materials/__gui_texture_33.vtf": can't be found on disk "materials/__gui_texture_34.vtf": can't be found on disk "materials/__gui_texture_35.vtf": can't be found on disk "materials/__gui_texture_36.vtf": can't be found on disk
Neustart der Map: So nun leuchten die Fingernägel und Lampen nicht mehr phospormäßig. Schön, ABER: Wenn ich jetzt per Schalter das Licht einschalte seh ich zwar das Licht, aber die Lampenmodels sieht man nicht mehr. ???
--
Dieser Beitrag wurde am 19.12.2005 um 16:36 von Diamondog bearbeitet.
|
|
Profil || Suche
|
007
19.12.2005, 18:31
Diamondog
|
Kann mir keiner Helfen?
--
|
|
Profil || Suche
|
008
19.12.2005, 20:49
iconoclast
|
Wenn die Lampenmodels weg sind, wuerde ich spontan aufn Leak tippen.
Das mit dem point_soptlight versuche ich nacheher selber mal...
--
http://medieval-battles.net/modpage/index.php
|
|
Profil || Suche
|
009
20.12.2005, 15:44
NoMaster
|
ich würd spontan neben die lampen eine ganz schwache lichtquelle machen, sodass die lampen ein wenig beschienen werden...
--
|
|
Profil || Suche
|