Birds fly. Sun shines. And brother? Brutes shoot people.

Changing package dependancy of map

For questions and discussion about UnrealEd, UnrealScript, and other aspects of Unreal Engine design.

Moderators: Semfry, zYnthetic, ividyon

User avatar Lightning Hunter
Skaarj Elder Skaarj Elder
Posts: 1264
Joined: 11 Nov 2007, 22:12
Location: Pervert.

Subject: Changing package dependancy of map

Post Posted: 04 Nov 2017, 22:46

Is there a program out there that can modify a map to point toward another package file? For example, if I have a file named "MyMod.u", and I put all the contents of this file in "SuperMod.u", can the map be modified to search for SuperMod.u without manually going through and changing every actor, sound, texture, etc.?
For High-Res Unreal skins, click here.
For the RTNP "Ultimate Edition" HD, click here.

Image

yrex
Skaarj Scout Skaarj Scout
Posts: 49
Joined: 07 Oct 2015, 11:19

Subject: Re: Changing package dependancy of map

Post Posted: 04 Nov 2017, 23:45

Yes.

Be careful though, it's a pretty low-level tool. Make a backup before trying to do anything with it.

User avatar Lightning Hunter
Skaarj Elder Skaarj Elder
Posts: 1264
Joined: 11 Nov 2007, 22:12
Location: Pervert.

Subject: Re: Changing package dependancy of map

Post Posted: 05 Nov 2017, 02:57

Oh noes, it deleted all the work I did! Just kidding. But it does appear as if that program can only modify one string at a time, which would take way too long for me to accomplish what I need, so I think I will just stick with the current package names and multiple packages. Thanks for the response though!
For High-Res Unreal skins, click here.
For the RTNP "Ultimate Edition" HD, click here.

Image

User avatar Buff Skeleton
>:E >:E
Posts: 4104
Joined: 15 Dec 2007, 00:46

Subject: Re: Changing package dependancy of map

Post Posted: 05 Nov 2017, 04:49

You could also export the map to .t3d, then edit with notepad and find/replace package names that way. You can avoid rebuilding the map by selecting all brushes, deleting, then exporting, and then closing UED without saving. Edit your .t3d, then reopen the map, select all brushes, INVERT selection, and delete. Then import and append to the existing map, and all actors should be back in their usual spots, just with new package/class names.
Image

User avatar Lightning Hunter
Skaarj Elder Skaarj Elder
Posts: 1264
Joined: 11 Nov 2007, 22:12
Location: Pervert.

Subject: Re: Changing package dependancy of map

Post Posted: 05 Nov 2017, 07:59

Actually, that's pretty ingenious. I'll mess around with it. Thanks.
For High-Res Unreal skins, click here.
For the RTNP "Ultimate Edition" HD, click here.

Image

gopostal
Skaarj Assassin Skaarj Assassin
Posts: 142
Joined: 01 Aug 2008, 06:35

Subject: Re: Changing package dependancy of map

Post Posted: 05 Nov 2017, 15:09

Let me know if you need help with this. I'd be glad to do the repetitive, busy work. It's right in line with my Asperger-y work methods.

User avatar Buff Skeleton
>:E >:E
Posts: 4104
Joined: 15 Dec 2007, 00:46

Subject: Re: Changing package dependancy of map

Post Posted: 05 Nov 2017, 16:36

Oh, forgot to mention: before you do the "select all brushes and invert selection" step, run this command in the editor:

set actor bHiddenEd false

This way, you'll be able to select EVERYTHING, including stuff like InventorySpots that will be regenerated when you rebuild paths, plus anything that's been hidden otherwise.
Image


Who is online

Users browsing this forum: No registered users and 4 guests