Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Make mansion door+doorway+doorframe dissapear into smoke particles?
LDOriginal Offline
Junior Member

Posts: 35
Threads: 7
Joined: Oct 2014
Reputation: 0
#1
Make mansion door+doorway+doorframe dissapear into smoke particles?

Is this possible? Like entering a scriptarea making a mansion door+doorway+dooframe dissapear into smoke particles, just leaving a wall after it? (the wall that's connected to each sides of the doorway?) I have no idea how to execute this in the script. Any ideas? Smile
02-09-2015, 09:06 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Make mansion door+doorway+doorframe dissapear into smoke particles?

I would turn those models into an entity and try that fade function:
SetPropActiveAndFade(string& asName, bool abActive, float afFadeTime);

e.g.
Turn mansion_door.dae into mansion_door.ent (with model editor)
Then via script I go: SetPropActiveAndFade ( "door1", false, 4 );

02-10-2015, 12:40 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Make mansion door+doorway+doorframe dissapear into smoke particles?

Perhaps this is helpful.

https://www.dropbox.com/s/arim227pv376c3...s.rar?dl=0

Place it in your custom story's entities folder.
Then load the entities you want in the level editor.

Some of the files are unnecessary, but I've not had time to test which are and which aren't. Perhaps other people can tell and upload a better version.

Trying is the first step to success.
(This post was last modified: 02-10-2015, 05:01 PM by FlawlessHappiness.)
02-10-2015, 04:17 PM
Find




Users browsing this thread: 1 Guest(s)