How to add a Mover extended actor to the AddMover list?

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

How to add a Mover extended actor to the AddMover list?

Post by PrinceOfFunky »

I have some movers that extend a Mover that extends the main Mover class of Unreal, I noticed that only the direct children of the main Mover class of Unreal are listed in the AddMover list, how can I let the other movers to be listed in that list?
"Your stuff is known to be buggy and unfinished/not properly tested"
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: How to add a Mover extended actor to the AddMover list?

Post by JackGriffin »

You will probably need a custom button for this. I doubt UEd populates any sort of list of subclasses and then tries to apply those. I'd think that list is hardcoded into the button.
So long, and thanks for all the fish
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: How to add a Mover extended actor to the AddMover list?

Post by Barbie »

PrinceOfFunky wrote:how can I let the other movers to be listed in that list?
I'm afraid that will not work. I guess the User Interface of UnrealED does a simple loop like

Code: Select all

For i=0 to SubItems.Count-1
	AddToButton(SubItems[i])
Sub items of sub items seem to be ignored.

Hint: Adding such a mover will work by T3D format. Add a normal mover, cut it to clipboard, insert it in an text editor and change "Class=Mover" to "Class=MySubSubClassMover". Put the changed T3D description text into clipboard and paste it into UnrealEd.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Re: How to add a Mover extended actor to the AddMover list?

Post by PrinceOfFunky »

Barbie wrote:
PrinceOfFunky wrote:how can I let the other movers to be listed in that list?
I'm afraid that will not work. I guess the User Interface of UnrealED does a simple loop like

Code: Select all

For i=0 to SubItems.Count-1
	AddToButton(SubItems[i])
Sub items of sub items seem to be ignored.

Hint: Adding such a mover will work by T3D format. Add a normal mover, cut it to clipboard, insert it in an text editor and change "Class=Mover" to "Class=MySubSubClassMover". Put the changed T3D description text into clipboard and paste it into UnrealEd.
Thanks I'll try it, I already tried "ACTOR REPLACE CLASS=MySubSubClassMover" but it doesn't work with selected Movers.
"Your stuff is known to be buggy and unfinished/not properly tested"
Post Reply