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

Tutorials and discussions about Mapping - Introduce your own ones!

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

Postby PrinceOfFunky » Wed Oct 10, 2018 3:08 pm

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?
Image
User avatar
PrinceOfFunky
Godlike
 
Posts: 1035
Joined: Mon Aug 31, 2015 10:31 pm

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

Postby JackGriffin » Wed Oct 10, 2018 3:45 pm

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
JackGriffin
Godlike
 
Posts: 3763
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

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

Postby Barbie » Wed Oct 10, 2018 4:06 pm

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
Barbie
Godlike
 
Posts: 1670
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?

Postby PrinceOfFunky » Wed Oct 10, 2018 4:24 pm

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.
Image
User avatar
PrinceOfFunky
Godlike
 
Posts: 1035
Joined: Mon Aug 31, 2015 10:31 pm


Return to Mapping

Who is online

Users browsing this forum: No registered users and 2 guests