logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic UnrealEd Extensions (227) (Read 791 times)
yrex
Betatester
Offline


Oldunreal member

Posts: 143
Joined: May 6th, 2015
Gender: Male
UnrealEd Extensions (227)
Aug 22nd, 2015 at 4:53pm
Print Post  
There are two ways to execute script in editor: BrushBuilders and DrawEditorSelection event used for example in Dispatcher. I decided to abuse them and the result are these UnrealEd extensions.

Yrex Tools

The Y_Tools package contains:

Yrex Tools BrushBuilder which contains actions:
- MoveBrushToCam - places red brush in front of camera.
- MoveActorToCam - moves selected actor in front of camera (only one actor).
- FindActor - moves camera near selected actor.
- FindZoneInfo - moves camera near ZoneInfo actor.
- WhoTriggersHim - finds actors which trigger selected actor.
- MirrorX/Y/Z - can be used to mirror group of brushes. Changes Location, MainScale if rotation==0, PostScale otherwise, DrawScale3D in case of meshes (rotation must be 0).

Class Y_Ruler which allows to measure length between two walls from inside or outside. The length is approximate, so e.g. 1023 should be treated as 1024.

Class Y_BSPHoleDetector which allows to detect two types of BSP holes:
- instant killing hole, which appears when no collision is placed between zero zone and normal zone.
- invisible collision. This detection is prone to false positives if wall is thinner than detector's step size or in case of semisolids.

Class Y_BSPDetector which can:
- find fragments of zone 0
- find fragments of zone specified by number
- find fragments of zone specified by ZoneInfo
- show all zones in given place
This way you can check for example zone leaks.

Download: https://sites.google.com/site/mojunreal/y_tools.7z

Yrex Dimension Getter

It's a brushbuilder which works opposite to normal brushbuilders. It measures dimensions of selected brush and puts them into other brushbuilders' properties. Works best when selected brush is not transformed permamently.

Usage:
- select some brush
- copy it to clipboard
- set dimension getter's TargetBrush
- execute dimension getter
- now TargetBrush's properties will be changed

The dimension getter computes bounding box and sets these variables:
For CubeBuilder: Height, Width, Breadth
For Cone/CylinderBuilder: Height, OuterRadius
For SheetBuilder: Height, Width, Axis

Also, if bTransformRedBrush is enabled, it changes red brush location, rotation, etc. to selected brush's. Disabling grid recommended.

Download: https://sites.google.com/site/mojunreal/y_dimensionget.7z
« Last Edit: Aug 23rd, 2015 at 1:10pm by yrex »  

Website | ampoyrex at wp dot pl
Back to top
 
IP Logged
 
gopostal
Betatester
Offline


Retired

Posts: 739
Joined: Jul 31st, 2008
Gender: Male
Re: UnrealEd Extensions (227)
Reply #1 - Aug 22nd, 2015 at 11:27pm
Print Post  
Must...resist....urge....

And now my editor is open. Welp, there goes the weekend. Thanks OP.
  

I'm outta here. C ya!
Back to top
 
IP Logged
 
dizzy
New Member
*
Offline


Oldunreal member

Posts: 7
Joined: Jun 9th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #2 - Nov 22nd, 2017 at 1:29am
Print Post  
yrex wrote on Aug 22nd, 2015 at 4:53pm:
Yrex Tools
Yrex Dimension Getter

I've been directed to this thread from my post on UT99:
https://ut99.org/viewtopic.php?f=5&t=12559&p=102753

Do you know if these tools would work in the Unreal Tournament version of Unreal Ed?
  

Back to top
 
IP Logged
 
yrex
Betatester
Offline


Oldunreal member

Posts: 143
Joined: May 6th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #3 - Nov 22nd, 2017 at 12:54pm
Print Post  
The dimension getter crashes with unknown code token, but UT seems to already have the clipboard functionality, so it should be possible to port it. Otherwise I could make it into an external tool.
  

Website | ampoyrex at wp dot pl
Back to top
 
IP Logged
 
dizzy
New Member
*
Offline


Oldunreal member

Posts: 7
Joined: Jun 9th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #4 - Nov 23rd, 2017 at 4:16pm
Print Post  
yrex wrote on Nov 22nd, 2017 at 12:54pm:
The dimension getter crashes with unknown code token, but UT seems to already have the clipboard functionality, so it should be possible to port it. Otherwise I could make it into an external tool.

If you could do either one of those, that would be amazing, thank you.

I asked many mappers about this functionality and they all just say that they "count the grid squares" to measure their brushes (!!!).

I would happily try to port it myself, but I've only dabbled very lightly in UScript and for the moment, at least, it's beyond my ability.
  

Back to top
 
IP Logged
 
yrex
Betatester
Offline


Oldunreal member

Posts: 143
Joined: May 6th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #5 - Nov 24th, 2017 at 2:13pm
Print Post  
https://sites.google.com/site/mojunreal/Y_DimensionGetUT.zip?attredirects=0&d=1

I wasn't able to reference the brushbuilders, so it only shows a message and you'll have to copy the values yourself.
  

Website | ampoyrex at wp dot pl
Back to top
 
IP Logged
 
dizzy
New Member
*
Offline


Oldunreal member

Posts: 7
Joined: Jun 9th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #6 - Nov 24th, 2017 at 8:42pm
Print Post  
Thank you very much indeed. I'm glad there are still people actively developing for UT!

Can you share the source code, please, so I can see how it's made?
  

Back to top
 
IP Logged
 
yrex
Betatester
Offline


Oldunreal member

Posts: 143
Joined: May 6th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #7 - Nov 24th, 2017 at 9:29pm
Print Post  
Errrrrr... It's already in the .u file?
  

Website | ampoyrex at wp dot pl
Back to top
 
IP Logged
 
dizzy
New Member
*
Offline


Oldunreal member

Posts: 7
Joined: Jun 9th, 2015
Gender: Male
Re: UnrealEd Extensions (227)
Reply #8 - Nov 24th, 2017 at 9:30pm
Print Post  
Ah sorry, I'm not used to decompiling stuff. Thank you.
  

Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo