hide/show a corona
Moderator: Moderators
hide/show a corona
i want the script to 1st hide and later on show a static/corona.
i gave it a targetname ringcorona and in the script i put a $ringcorona hide but just get a NIL listener error. Is there a way, or even to change the scale by scripting?
i gave it a targetname ringcorona and in the script i put a $ringcorona hide but just get a NIL listener error. Is there a way, or even to change the scale by scripting?
hey krane! where are u gone? i just answered your post and when I came back...
i tried this before...
made a script_model with targetname and
model / static/corona_orange.tik this one went off to coordinates -19999... anything. Now I tried model / corona_orange.tik which stays where it belongs, but isn't shown ingame. Shouldn't it be visible by default or do i have to do something in the script to SHOW it?
i tried this before...
made a script_model with targetname and
model / static/corona_orange.tik this one went off to coordinates -19999... anything. Now I tried model / corona_orange.tik which stays where it belongs, but isn't shown ingame. Shouldn't it be visible by default or do i have to do something in the script to SHOW it?
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Re: hide/show a corona
[quote="Wacko"]a NIL listener error.[quote]
wtf is that?
try remove instead of hide, i dunno if it will work, but its worht a shot.
wtf is that?
try remove instead of hide, i dunno if it will work, but its worht a shot.

Re: hide/show a corona
this is a console error saying that there is no entity that can execute the command.omniscient wrote:wtf is that?Wacko wrote:a NIL listener error.
try remove instead of hide, i dunno if it will work, but its worht a shot.
about the hide/remove: in fact I can't do anything with a corona by script: I tried to bind it to another (moving) script_object, but it doesn't follow. I'm sure that a script_model would be the solution, but model/corona.tik doesn't work, and model / static/corona_orange.tik does qalmost crash my computer
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
I think I have a solution for your problem. Try making a script-origin and giving it these values-
model static/corona_reg.tik
targetname corona
And then in your script if you use the command $corona hide, it should work. I think.
model static/corona_reg.tik
targetname corona
And then in your script if you use the command $corona hide, it should work. I think.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
A corona is the faintly colored luminous ring that appears around a light. They are usually only visible through a thin haze, and are caused by a diffraction of light from suspended mater.
In Layman's terms, a corona is the other glow that you see surrounding a light when it's lit.
In Layman's terms, a corona is the other glow that you see surrounding a light when it's lit.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
No, there are more. Under static ==> corona, you also have choices of orange, regular, and utility versions in addition to the red one found under the fx menu.
I'm guessing that you if you tinker around with the .tik file, you could make a version with any color that you choose.
I'm guessing that you if you tinker around with the .tik file, you could make a version with any color that you choose.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
I'm just happy that I'm actually dispensing good advice in the scripting forum. 
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9



