I have a vehicle set up, and since it is similar to the way the Goliath works, I used the Goliath Classes as a base for it. The code itself is pretty straightforward, but I'm getting this error on compile...
Error, BEGIN OBJECT: The component name MyLightEnvironment is already used (if you want to override the component, don't specify a class): Begin Object class=DynamicLightEnvironmentComponent name=MyLightEnvironment ObjName=MyLightEnvironment Archetype=DynamicLightEnvironmentComponent'UTGame.Default__UTVehicle:MyLightEnvironment'
Now even at the most basic level, when I just copy the Goliath files and rename the assets to my assets and references to them as well I get this error.
This particular error is occurring in this bit of code... which is in the default properties at the bottom of my UTVehicle_Bulldozer.uc file...
It would seem that all I have to do is not specify a class as it says, but then it just compiles with more serious errors.
What I don't get is it is the same code all the other vehicles have...
EDIT: For those who viewed this previously I didn't format this correctly and had the wrong info... it is now fixed and the above info is correct...
Error, BEGIN OBJECT: The component name MyLightEnvironment is already used (if you want to override the component, don't specify a class): Begin Object class=DynamicLightEnvironmentComponent name=MyLightEnvironment ObjName=MyLightEnvironment Archetype=DynamicLightEnvironmentComponent'UTGame.Default__UTVehicle:MyLightEnvironment'
Now even at the most basic level, when I just copy the Goliath files and rename the assets to my assets and references to them as well I get this error.
This particular error is occurring in this bit of code... which is in the default properties at the bottom of my UTVehicle_Bulldozer.uc file...
It would seem that all I have to do is not specify a class as it says, but then it just compiles with more serious errors.
What I don't get is it is the same code all the other vehicles have...
Code:
Begin Object class=DynamicLightEnvironmentComponent name=MyLightEnvironment ObjName=MyLightEnvironment Archetype=DynamicLightEnvironmentComponent'UTGame.Default__UTVehicle:MyLightEnvironment'
ObjectArchetype=DynamicLightEnvironmentComponent'UTGame.Default__UTVehicle:MyLightEnvironment'
End Object
LightEnvironment=MyLightEnvironment
EDIT: For those who viewed this previously I didn't format this correctly and had the wrong info... it is now fixed and the above info is correct...
Last edited: