Page 1 of 1
How do I attach effects to terrain? [Solved]
Posted: Wed Aug 15, 2007 6:08 pm
by SBF_Dann_Boeing
can someone point me to the "how to make a volcano" thread, the search function isn't working
RE: A Little Help
Posted: Wed Aug 15, 2007 6:13 pm
by -_-
Raise Terrain (Bell works best)> Lower the center of your to a lower height > Add in water > Add death Regions > Reference in .lua > Done.
Posted: Wed Aug 15, 2007 6:24 pm
by Maveritchell
http://www.gametoast.com/forums/viewtopic.php?t=10075
Cheers. It's really just a matter of making a hill with effects and a damageregion.
Posted: Wed Aug 15, 2007 6:31 pm
by SBF_Dann_Boeing
thx, unfortuneatly what i wanted to find out was how to attach the effects to the terrain.
also does anybody know when the search is gonna be fixed?
Posted: Wed Aug 15, 2007 6:38 pm
by Maveritchell
All you need to do is stick an object in there to which you can attach effects, and sink the object below the terrain. Objects (which are invisible) like kas2_prop_splash (or something like that) have multiple hardpoints to attach to and work well.
Posted: Fri Aug 17, 2007 5:33 pm
by squid11
Posted: Fri Aug 17, 2007 5:43 pm
by {501st}Commander_Appo
Mav already gave Dann the link to the tuturioal,congrats on being under watchful eyes
CC-1119/Commander Appo :troop:
Posted: Fri Aug 17, 2007 6:53 pm
by Ace_Azzameen_5
"AttachEffectToMatrix(lua_State* aState);"
This is a LUA function from the SS list I'm not sure but I think a matrix is a terrain grid location. Might want to mess around with it; AttachEffectToMatrix(EffectName, ALocation). If you can't get it to work by typing in locations directly, try this:
local locDest = GetPathPoint(PathName), and then AttachEffectToMatrix(EffectName, locDest)
This was you could try spawning effects on a path, so to speak. I salvaged some of the code from the Teleport thread.