Page 1 of 1

Warning Message for an emitter

Posted: Fri Dec 09, 2022 1:09 am
by Jojonew
Hi all
Background: em…I tried to build an emitter package for some effects on my weapon and I decompiled a test uc script and made it very simple for testing build. I put the .usx files into staticMeshes folder, put the .utx file into textures followed all the UnrealED rules. Any information is appreciated.
The warnings:
Engine.MeshEmitter: Unknown property in defaults: Opacity=0.350000
Engine.MeshEmitter: Unknown property in defaults: CustomMaterials(0)=Texture'Editor.Bad'
TestEffect.weapon_anta_thrower: Unknown property in defaults: bSunAffect=true
TestEffect.weapon_anta_thrower: Unknown property in defaults: SwayRotationOrig=(Pitch=393146,Yaw=309788917,Roll=0)

And the code:
class weapon_anta_thrower extends Emitter;

defaultproperties{
Begin Object Class=MeshEmitter Name=MeshEmitter187
StaticMesh=StaticMesh'Editor.TexPropSphere'
UseMeshBlendMode=false
RenderTwoSided=true
UseParticleColor=true
UseColorScale=true
ColorScale(0)=(RelativeTime=0.000000,Color=(B=255,G=255,R=255,A=255))
ColorScale(1)=(RelativeTime=0.500000,Color=(B=128,G=128,R=128,A=255))
ColorScale(2)=(RelativeTime=1.000000,Color=(B=255,G=255,R=255,A=255))
ColorScaleRepeats=4.000000
Opacity=0.350000
FadeOutStartTime=0.600000
FadeOut=true
FadeInEndTime=0.075000
FadeIn=true
MaxParticles=4
Name="Antaras_brt"
SpinParticles=true
StartSpinRange=(X=(Min=0.000000,Max=0.000000),Y=(Min=-0.250000,Max=-0.250000),Z=(Min=0.000000,Max=0.000000))
UseRegularSizeScale=false
SizeScale(0)=(RelativeTime=0.000000,RelativeSize=1.000000)
SizeScale(1)=(RelativeTime=1.000000,RelativeSize=1.010000)
InitialParticlesPerSecond=2.000000
AutomaticInitialSpawning=false
LifetimeRange=(Min=0.750000,Max=0.750000)
CustomMaterials(0)=Texture'Editor.Bad'

End Object
Emitters(2)="MeshEmitter187"
bLightChanged=true
bNoDelete=false
bSunAffect=true
Rotation=(Pitch=393146,Yaw=309788917,Roll=0)
DrawScale=0.050000
SwayRotationOrig=(Pitch=393146,Yaw=309788917,Roll=0)
bUnlit=false
bDirectional=true

Re: Warning Message for an emitter

Posted: Fri Dec 09, 2022 10:51 am
by Barbie
I've never seen that an object can be defined in section defaultproperties. :omfg:

Re: Warning Message for an emitter

Posted: Fri Dec 09, 2022 11:44 am
by Buggie
It is UT2004, UT3 or god know what else...