Data Realms Fan Forums http://45.55.195.193/ |
|
Generating terrain like the ADoor class http://45.55.195.193/viewtopic.php?f=1&t=31512 |
Page 1 of 1 |
Author: | akblabla [ Tue Jul 31, 2012 9:43 am ] |
Post subject: | Generating terrain like the ADoor class |
I am not sure if there are any threads about this subject as I couldn't find it through search. Anyway, the ADoor class generates a piece of terrain covering its silhouette when stopping after a movement and constantly removes all terrain within its silhouette when moving. What I am asking is if anybody knows if it is possible to make fx a pinned MOsRotating do the same thing, and if it would be possible to activate through lua. I know it is possible to remove all terrain within its silhouette through lua, so that isn't a problem. Anybody knows anything on the subject? I need this because I want to make a large walkable pinned MOsRotating (A glass roof) and also maybe make an animated door that goes into the background instead of rotating/moving, and also neutral so no actors will react to destroy it. |
Author: | Asklar [ Wed Aug 01, 2012 12:40 am ] |
Post subject: | Re: Generating terrain like the ADoor class |
I don't think I'm right, but maybe using this function to add a terrain object (like the boulders and such) but shaped in the way you need could work. |
Author: | CaveCricket48 [ Wed Aug 01, 2012 7:51 am ] |
Post subject: | Re: Generating terrain like the ADoor class |
I'm not sure if the function that Asklar linked actually works, but I do know that if you set an MOSParticle to have ToSettle = true and it doesn't have a RestThreshold ini variable, the particle will immediately turn into terrain, with its sprite forming the shape. |
Author: | akblabla [ Wed Aug 01, 2012 8:15 am ] |
Post subject: | Re: Generating terrain like the ADoor class |
CaveCricket48 wrote: I'm not sure if the function that Asklar linked actually works, but I do know that if you set an MOSParticle to have ToSettle = true and it doesn't have a RestThreshold ini variable, the particle will immediately turn into terrain, with its sprite forming the shape. awesome, I didn't know that MOSParticle was able to settle midair. Though this is not neccesary for the mod, but can you also settle a MOSRotating in a similar way, as you can't rotate MOSParticles? |
Author: | CaveCricket48 [ Wed Aug 01, 2012 9:12 am ] |
Post subject: | Re: Generating terrain like the ADoor class |
MOSRotatings (and other rotatable MOs) require that they're on terrain in order to make them settle, as far as I know. |
Author: | akblabla [ Wed Aug 01, 2012 4:44 pm ] |
Post subject: | Re: Generating terrain like the ADoor class |
Got it to work perfectly, thanks |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |