Question Spacecraft3 Particle Streams in Space.

Mojave

60% Ethanol
Moderator
Addon Developer
Joined
Apr 6, 2010
Messages
1,647
Reaction score
132
Points
78
Location
Somewhere, but not here.
Greetings,

As a lot of you know from chatbox "smalltalk" I have been working on a satellite. I'm using Spacecraft3 for the vessel coding. My question is, how do I use the particle streams for my RCS thrusters?


I should note that I'm still tweaking values, etc. What I need to know is how to have the particle stream work in space. The stream runs when the satellite is landed on earth. I imagine the problem has something to do with space being a vacuum. Is there any way around this?


Code:
[TEXTURE_LIST]
TEX_1=Exhaust_atrcs

[PARTICLESTREAM_1]
NAME=RCS
SRCSIZE=1
SRCRATE=3
V0=1.0
SRCSPREAD=0.3
LIFETIME=3.5
GROWTHRATE=4
LTYPE=EMISSIVE
LEVELMAP=LVL_PSQRT
LMIN=0
LMAX=2

[CONFIG]
   MESHNAME="HASSESA\JLEO"
   SIZE=8.5
   EMPTY_MASS=500
   FUEL_MASS=200.00 ; 100 kg Mono (2x)
   ATTITUDE_THRUST=100
   PMI=(3.61,5.62,3.85)
   CROSS_SECTION=(11.02,38.34,11.77)
   ATT_PSTREAM1=RCS
   ATT_TEX=Exhaust_atrcs

[EX_ATT_0]
OFF=(0.34, -1.77, 0)
DIR=(1,0,0)
LENGTH=1.0
WIDTH=0.2
ROT_AXIS=Z
ROT_CW=0

[EX_ATT_1]
OFF=(-0.34, -1.77, 0)
DIR=(-1,0,0)
LENGTH=1.0
WIDTH=0.2
ROT_AXIS=Z
ROT_CW=1

[EX_ATT_2]
OFF=(0, -1.77, -0.34)
DIR=(0,0,-1)
LENGTH=1.0
WIDTH=0.2
ROT_AXIS=X
ROT_CW=0

[EX_ATT_3]
OFF=(0, -1.77, 0.34)
DIR=(0,0,1)
LENGTH=1.0
WIDTH=0.2
ROT_AXIS=X
ROT_CW=1
 

BrianJ

Addon Developer
Addon Developer
Joined
Apr 19, 2008
Messages
1,678
Reaction score
902
Points
128
Location
Code 347
Hi, I think you need to add in the atmosphere parameters(see below in red). I can't quite remember the right suffix for the ATMSMAP parameter. Play around with the values for more or less opacity. Hope this helps.
Cheers,
Brian

Code:
[TEXTURE_LIST]
TEX_1=Exhaust_atrcs

[PARTICLESTREAM_1]
NAME=RCS
SRCSIZE=1
SRCRATE=3
V0=1.0
SRCSPREAD=0.3
LIFETIME=3.5
GROWTHRATE=4
LTYPE=EMISSIVE
LEVELMAP=LVL_PSQRT
LMIN=0
LMAX=2
[COLOR=Red]ATMSMAP=ATM_PFLAT[/COLOR] ;; (maybe ATM_FLAT or ATM_PFLT ?? can't remember)
[COLOR=Red]AMIN=0.17
AMAX=0.17[/COLOR]
[/QUOTE]
 

Mojave

60% Ethanol
Moderator
Addon Developer
Joined
Apr 6, 2010
Messages
1,647
Reaction score
132
Points
78
Location
Somewhere, but not here.
It was

Code:
ATM_FLAT
Thanks a lot, BrianJ.

:cheers:

---------- Post added at 14:24 UTC ---------- Previous post was at 14:01 UTC ----------

Now I'm having an issue with the particles shooting in the right direction.

They're not being created and jetted in the same direction as established in the thruster sections. What's up with that?
 

Izack

Non sequitur
Addon Developer
Joined
Feb 4, 2010
Messages
6,665
Reaction score
13
Points
113
Location
The Wilderness, N.B.
Particle streams are defined independently of thrusters, so you may have to define several different streams at the positions and (opposite) directions of all the thrusters.
 

Mojave

60% Ethanol
Moderator
Addon Developer
Joined
Apr 6, 2010
Messages
1,647
Reaction score
132
Points
78
Location
Somewhere, but not here.
Particle streams are defined independently of thrusters, so you may have to define several different streams at the positions and (opposite) directions of all the thrusters.

Alrighty, creating other particle streams seems easy, but where do I define the direction? Looking through the tutorial I'm using, there is no place for the equivalent of "DIR=(X,Y,Z)" in the Particle Streams section.
 
Top