SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-12-12, 03:26 AM   #1
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default [WIP] Damaged Engine Smoke

Hi all,
I am trying to recreate the look of smoke coming from U-185 when one of her diesel engines seized up, as seen in the top left of this picture

Quote:
the dense black smoke from the burning left diesel is still pouring out of the stricken boat
I have made a node in the .val for the VIIC so far, and I know what needs to be done, but I don't know how to do it . I need to link the smoke to the "Diesel engines damaged" Message, or somewhere along those lines.
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon

Last edited by U570; 08-10-12 at 03:16 AM.
U570 is offline   Reply With Quote
Old 07-12-12, 08:42 AM   #2
postalbyke
Chief
 
Join Date: Feb 2011
Location: In the past...
Posts: 321
Downloads: 89
Uploads: 1
Default

Which pic? I can't see the link or the photo...

edit: I'm being dumb. Or my browser is. Sorry guys :P
__________________
God is a comedian playing to an audience too afraid to laugh.
-Voltaire

Last edited by postalbyke; 07-12-12 at 09:38 AM.
postalbyke is offline   Reply With Quote
Old 07-15-12, 05:54 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I think you need to PM Anvart about StateMachineControllers.


He's the Expert on stuff like this.
  Reply With Quote
Old 07-16-12, 01:20 AM   #4
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default

Okay, thanks privateer. I have been trying to understand StateMachines and teach my self. So far I've got a minor idea (copying from other files for smoke, and damaged engines).
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon
U570 is offline   Reply With Quote
Old 07-16-12, 04:05 PM   #5
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Quote:
Originally Posted by U570 View Post
... I am trying to recreate the look of smoke coming from U-185 when one of her diesel engines seized up ...
In sh3 engine there is no event 'seized up'...
Quote:
Originally Posted by privateer View Post
I think you need to PM Anvart about StateMachineControllers.
He's the Expert on stuff like this.
StateMachineCtrl determines the behavior of the crew and works with the crew commands only.
What event or UBoat state you choose?
I do not know of anything that is appropriate for your task.
I think, you should use usual technique of damages - *.zon, Zones.cfg and may be new effects (smoke) in particles.dat/Materials.dat.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 07-16-12 at 04:38 PM.
Anvart is offline   Reply With Quote
Old 07-16-12, 04:12 PM   #6
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default

Quote:
Originally Posted by Anvart View Post
In sh3 engine there is no event 'seized up'...
I'll just set it so the smoke pours out when the engine is xxx amount damaged
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon
U570 is offline   Reply With Quote
Old 07-18-12, 12:24 AM   #7
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
What and where...
You are seeing existing zones of engines (from Zones.cfg) for Type 7c hull (stock game).
You can use existing zones or you can create new types of zones in Zones.cfg and use them.





Your actions:
* Zones.cfg. Create a new zones in the list... eg:
192 = MyDEngine1
193 = MyDEngine2
* Zones.cfg. Create two sections in UBoat Items part... eg:
[MyDEngine1]
...
Effect1 = ...
...
[MyDEngine2]
...
Effect1 = ...
...
with existing (in particles.dat) or new effects.
* Create new boxes in NSS_Uboat7 *.zon with new zones Indexes.
...
This is a simplified flow chart.
Sorry if I missed something.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 07-18-12 at 02:08 AM.
Anvart is offline   Reply With Quote
Old 07-18-12, 02:17 AM   #8
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default

Okay, so I have created a new particle generator (based on Racerboy/TDW's exhaust) and linked those nodes to the DieselEngine1 and -2 zones, while using #funnel_smoke as a third effect. Am I on the right track?
Also, brilliant 5-min tutorial
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon
U570 is offline   Reply With Quote
Old 07-18-12, 02:32 AM   #9
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Quote:
Originally Posted by U570 View Post
Okay, so I have created a new particle generator (based on Racerboy/TDW's exhaust) and linked those nodes to the DieselEngine1 and -2 zones, while using #funnel_smoke as a third effect. Am I on the right track?
Also, brilliant 5-min tutorial
'... based on Racerboy/TDW's exhaust ...'
Don't know what is it...
For these things i used obj_Funnel controllers and custom smokes

Not enough specific information ... but somewhere around that.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 07-18-12 at 03:36 AM.
Anvart is offline   Reply With Quote
Old 07-18-12, 05:23 AM   #10
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default

Here's what I mean:

The parts in boxes are the particle generators based on this mod: http://www.subsim.com/radioroom/down...o=file&id=1496

I will try your method to see how easy (most likely) it is.
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon
U570 is offline   Reply With Quote
Old 07-23-12, 06:40 AM   #11
U570
Grey Wolf
 
Join Date: Sep 2011
Location: Planet Earth
Posts: 867
Downloads: 89
Uploads: 0
Default

Okay, I have tried and tested the obj_Funnel smoke, set the damage to a relatively logical damage level in the Zones.cfg tested it by getting myself killed many times over, all of which I took major damage to the Diesel Engine room but it didn't smoke. Am I doing it wrong? all I have done is added obj_Funnel to the 7c.sim and linked it to #funnel_smoke in the particle.dat.
__________________

"Submariners are a bunch of intelligent misfits that somehow seem to get along,
understand each other and work well together"- Anon
U570 is offline   Reply With Quote
Old 07-24-12, 06:29 AM   #12
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Quote:
Originally Posted by U570 View Post
Okay, I have tried and tested the obj_Funnel smoke, set the damage to a relatively logical damage level in the Zones.cfg tested it by getting myself killed many times over, all of which I took major damage to the Diesel Engine room but it didn't smoke.
Look, may be EngineRoom box covers DiselEngine1 and DiselEngine2 boxes in *.zon...
and pay attention to the sizes and position of the boxes
Quote:
... all I have done is added obj_Funnel to the 7c.sim and linked it to #funnel_smoke in the particle.dat.

Why?
I wrote about the use of obj_Funnel controller in the modes such as diesel "exhaust"...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 07-24-12 at 06:51 AM.
Anvart is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.