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
Level Editor Help Smoke thing
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#1
Smoke thing

My explosion script works now. Shy But when it explodes I want to create smoke on the explosion area. How do I do that?

Here is my video of what I have done so far with the explosion script:

http://www.youtube.com/watch?v=C8Dm-37Bs...AAAAAAAAAA


/ GoranGaming

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
03-01-2012, 09:02 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Smoke thing

You use particles and the code

CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);


03-01-2012, 09:28 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#3
RE: Smoke thing

(03-01-2012, 09:28 PM)SilentStriker Wrote: You use particles and the code

CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
I tried that but it didn't work. I can try again atleast....

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
03-01-2012, 09:37 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Smoke thing

Make an area in the rumble and then use that as the entity to create the smoke, and remember to use the right smoke. You can always look in TDD on how they did it

03-01-2012, 09:40 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#5
RE: Smoke thing

I know how to make it Smile I played the storage map from TDD and the smoke was huge. I've tried a lot of smoke particles now but I don't find anyone that is that big Sad
I've looked through the storage.hps file four times now, I haven't found anything about the smoke particles. Can anyone see the script lines?

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
(This post was last modified: 03-01-2012, 10:33 PM by GoranGaming.)
03-01-2012, 09:58 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#6
RE: Smoke thing

I know how they made it. They used cave in from Entities/special and then just SetPropHealth 0 and there you go Smile

But they also connected some stones to the cave in so when it blows some rocks fly away from the rumble

(This post was last modified: 03-01-2012, 10:38 PM by SilentStriker.)
03-01-2012, 10:37 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#7
RE: Smoke thing

YES IT WORKED! Thank you!!! But the smoke went the wrong way....

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
03-01-2012, 10:59 PM
Website Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#8
RE: Smoke thing

How did you do the light?

04-08-2012, 12:38 AM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#9
RE: Smoke thing

the light?

04-08-2012, 08:27 AM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#10
RE: Smoke thing

Xanthos probably means the explosives light when its on the ground.

04-08-2012, 12:34 PM
Find




Users browsing this thread: 3 Guest(s)