PDA

View Full Version : Can't place custom actors in map



Kylegar
11-07-2009, 02:32 PM
So, I followed the documentation and the Whizzle pdf, but I can't seem to get my custom script to place in the editor.



class MoveableBall extends KActorSpawnable
placeable;


DefaultProperties
{
Begin Object Name=StaticMeshComponent0
StaticMesh=StaticMesh'MyPackage.MySphere'
bNotifyRigidBodyCollision=true
HiddenGame=FALSE
ScriptRigidBodyCollisionThreshold=0.001
LightingChannels=(Dynamic=TRUE)
DepthPriortyGroup=SDPG_Foreground
EndObject


}

I used the frontend to make it and put it into MyMod.u, I edited the .ini to uncomment it loading MyMod (and it does load MyMod.u on the splash screen), but it wont show up in the ActorClasses tab of the Content Browser. Any ideas?

Angel_VZ
11-08-2009, 05:26 PM
Hello Kylegar

Today i was dealing with the same problem

You can find the actor in the ActorClasses tab, remember that the actor that you made extends KActorSpawnable, KActorSpawnable extends KActor, and KActor extends DynamicSMActor

Im learning too, so i dont know how to explain this to you, so ill just show you an screenshot :D

http://img43.imageshack.us/img43/9710/whizzleactor.png (http://img43.imageshack.us/i/whizzleactor.png/)

Kylegar
11-09-2009, 02:56 AM
Thanks much! I didn't expect it to be hiding there.