View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:37 am



Reply to topic  [ 6 posts ] 
 Generating terrain like the ADoor class 
Author Message
User avatar

Joined: Wed May 20, 2009 3:10 pm
Posts: 366
Location: Århus, Denmark
Reply with quote
Post 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.


Tue Jul 31, 2012 9:43 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Wed Aug 01, 2012 12:40 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Wed Aug 01, 2012 7:51 am
Profile
User avatar

Joined: Wed May 20, 2009 3:10 pm
Posts: 366
Location: Århus, Denmark
Reply with quote
Post 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?


Wed Aug 01, 2012 8:15 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Wed Aug 01, 2012 9:12 am
Profile
User avatar

Joined: Wed May 20, 2009 3:10 pm
Posts: 366
Location: Århus, Denmark
Reply with quote
Post Re: Generating terrain like the ADoor class
Got it to work perfectly, thanks :)


Wed Aug 01, 2012 4:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.067s | 14 Queries | GZIP : Off ]