Page 1 of 1
Could someone script this for me
Posted: Sat Apr 07, 2007 9:53 am
by dapallox1
I want to add a script to Coag that changes the lightmap from normal to dark like every 20, 30 secs for 5 mins until its pitch black. If this is possible, could someone script it out for me. I would really appreciate it. Thanks.
Posted: Sat Apr 07, 2007 10:02 am
by machineman9
not being a modder myself yet... your basically trying to make a daytime-nightime thing yeh? i think for best results you should probably make the script act on the lighting for coag, which is the sun... so that when the sun+light moves, perhaps around 30degrees of rotation a minute lets say, the shading on the map changes to act like it should... otherwise you will still have the sun lit up loads and the rest dark
Posted: Sat Apr 07, 2007 10:03 am
by dapallox1
yeah, thats basically what i want. But once its dark, it stays dark.
Posted: Sat Apr 07, 2007 10:34 am
by ali954
im pretty sure it would be something like this
Code: Select all
(script continuous time
(begin
(rasterizer_bloom_override_brightness REAL)
(sleep 75)
(rasterizer_bloom_override_brightness REAL)
(sleep 75)
(rasterizer_bloom_override_brightness REAL)
(sleep 75)
(rasterizer_bloom_override_brightness REAL)
(sleep 75)
(rasterizer_bloom_override_brightness REAL)
(sleep 75)
(rasterizer_bloom_override_brightness REAL)
)
)
REAL being numbers that increase then decrease. you should have a hell of a lot more than that tho if u want it to look real. and i dont know wat ud do about the sky
Posted: Sat Apr 07, 2007 10:40 am
by dapallox1
thanks alot, and I already know what to do about the sky
Posted: Sun Apr 08, 2007 12:03 pm
by Dootuz
NICE idea!!!!!!!
but idk how

Posted: Sun Apr 08, 2007 12:05 pm
by halo0001
let me just say this is a very excellent idea, also a hint go to the sky tag and null the lens tag thatll null the sun for ya

Posted: Sun Apr 08, 2007 12:06 pm
by neodos
The problem is that it doesn't affect all the objects at all

Posted: Sun Apr 08, 2007 4:25 pm
by Th2mods
neodos wrote:The problem is that it doesn't affect all the objects at all

you mean it doesn't affect the lightmap?
Posted: Sun Apr 08, 2007 4:30 pm
by latinomodder
The script above wont work, all it does is modify the bloom
I just researched and there is no way to change the lightmap, althought you could rebuild with 2 of the same sbsps and have two light maps
Posted: Sun Apr 08, 2007 4:44 pm
by dapallox1
well, i've been having trouble with script tools. it keeps freezing... but, since that wont work.. could your write me a script latinomodder for this?
Posted: Tue Apr 10, 2007 12:01 pm
by captininsanity
my entity freezes all the time with scripts too
Mabe im oversimpliying it but what if you spawned a really bright ball as a proj and made it move really slow over the map and then crash over the horision. Make it move at like 2 with a very low gravity on it (so it appears to curve with the land).
Posted: Tue Apr 10, 2007 6:05 pm
by dapallox1
captininsanity wrote:my entity freezes all the time with scripts too
Mabe im oversimpliying it but what if you spawned a really bright ball as a proj and made it move really slow over the map and then crash over the horision. Make it move at like 2 with a very low gravity on it (so it appears to curve with the land).
not a bad idea...
(1) Its not entity that is freezing for me. It's script Tools. (2) Thats not a bad idea at all... be like a sun.. but i don't know how to do that.. you?
Posted: Tue Apr 10, 2007 6:38 pm
by Agent ME
captininsanity wrote:my entity freezes all the time with scripts too
There are people who still use Entity's compiler?
Get the new H2Guerilla, which I'm told has the latest Script Tools.
http://www.halovicis.com/forums/viewtopic.php?t=217
Posted: Wed Apr 11, 2007 3:59 am
by -DeToX-
dapallox1 wrote:well, i've been having trouble with script tools. it keeps freezing... but, since that wont work.. could your write me a script latinomodder for this?
Get one from SP. They have BSP changing scripts.