Warning Message for an emitter

Discussions about Coding and Scripting
Post Reply
Jojonew
Novice
Posts: 22
Joined: Fri Oct 28, 2022 12:46 am
Personal rank: 10

Warning Message for an emitter

Post 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
User avatar
Barbie
Godlike
Posts: 2806
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Warning Message for an emitter

Post by Barbie »

I've never seen that an object can be defined in section defaultproperties. :omfg:
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Buggie
Godlike
Posts: 2742
Joined: Sat Mar 21, 2020 5:32 am

Re: Warning Message for an emitter

Post by Buggie »

It is UT2004, UT3 or god know what else...
Post Reply