Jump to content

Krzysztof

Members
  • Posts

    11
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Krzysztof

  1. Version 1.2.1 Released: Fixed bug which didn't allow to move groups in version 1.6 Fixed problem with archived editor. Tool can now extract it automatically. Fixed mirroring groups across Z axis in mirror tool MSTU is now open source (except libs). Feel free to modify it as you like. Just do not publish modifications without my permission. I also updated tutorial where all updates are included LINK Download link > DOWNLOAD < IF YOU HAVE PREVIOUS VERSION DO NOT DELETE / REPLACE cover.xml and library.xml FILES BECAUSE YOU WILL LOSE ALL SAVED GROUPS AND COVER COMPOSITIONS.
  2. Unfortunately I'm not planning to translate it. You can watch video tutorials or use translator. You can translate tutorial of 1.0 version https://kr1s96.github.io/mstu/tutorial, it explains all features from 1.0 so everything except mirror and few minor things.
  3. I just noticed that I added an image instead of the video:
  4. Version 1.2 Released: Mirror tool This feature enables you to mirror groups or single elements around X, Y or Z axis. It has few options: - Changing distance between mirror and original elements - Ruler which checks distance between 2 surfaces. Might be useful in setting distance between original and mirror elements but also in mapping overall. - Reset position and show / hide green surface which determinates mirror's position - Auto update and update button to see preview of mirrored elements - Enable / disable adding collisions and mirror shader - Model filter where you can add exceptions for elements which should have collisions enabled (useful for symmetrical objects) Important limits: - all mirrored objects are double-sided and have disabled collisions by default (you can add exceptions and enable collisions for symmetrical objects, watch video for more info). It is because many objects are assymetrical and a special shader is needed. - all mirrored objects have disabled alpha animation when they appear because their draw distance is about 5-10% worse than normal objects (due to MTA bug/limitation). More info in the video. Important notes: - Tool can mirror most of popular element types: object, vehicle, ped, marker, race pickup, race spawnpoint - Cloning mirrored elements is possible in both ways as a group or a single element. - Duplicating mirrored elements is possible. - Mirrored objects with mirror effect (no collision, double-sided, with shader): Are not visible in a right form when the tool is not running (while normal playing tool isn't required of course) Will lose that effect if any property is edited in object properties (keep in mind that object property ≠ group property and also if you really want to edit property of a single object you can use 'Add mirror effect' button to recover mirror effect) Cannot be mirrored twice. Technically you can do it but it won't be mirrored properly as long as the object isn't symmetrical. Cannot be covered (just cover them before mirroring) Can be detected by wand selector as a separated group Cannot be loaded by tool's library with the mirror effect Script loader must support getElementByID function Duplicate 2.0 - Added option of duplicating single elements, not only groups. You can also mix it and duplicate groups and single element alternately. - Added 'Linear' option which blocks rotation change (duplicated elements have the same rotation as their parents) - Added elements preview - Improved duplicating with 'Between' option - now elements are created alternately (in version 1.0 only 1st selection was duplicated). - Duplicate tool is now hidden in sub-window with slightly changed GUI. Press duplicate image icon to use this tool. Other improvements [COVER] Added option of covering single elements. [COVER] Fixed cover preview sometimes shows wrong objects. [COVER] Cover preview is now visible even while creating a group (red objects). Same goes to new mirror feature. [UI] Interface is more clear now: [UI] 'Wand options' button is now hidden until you select Wand selection. [UI] Added info about image buttons in main interface (when they are selected) [SETTINGS] Added setting which changes sensivity of rotation movement. It applies to normal movement (slow & fast movement don't change). It is primarily useful when you want to rotate by 45/90 degrees way faster (this way of rotation change is much better than in group properties). [ELEMENT PROPERTIES] Effect of changing object's doubleside property is now visible. But keep in mind that map editor always makes objects doublesided so after next map loading this effect will be visible only while testing. Same goes to collisions. [MSTU] Overall improvements and bug fixes New features introduction > DOWNLOAD < IF YOU HAVE PREVIOUS VERSION DO NOT DELETE / REPLACE cover.xml and library.xml FILES BECAUSE YOU WILL LOSE ALL SAVED GROUPS AND COVER COMPOSITIONS. If you want to support me you can do it HERE. Supporters would motivate me to release version 1.3 in the future. What you could expect in 1.3: - Apply textures to whole groups with 1 click. Use either custom textures or pick something from tool's library. - Apply shaders to any group. Use custom shaders or choose one from tool's library. You could even edit shader's parameters. - Edit brightness of objects. Experienced mappers know it well that some objects are too bright or too dark and they don't fit with other parts. With this small feature it'd be easier. I hope you enjoyed it and feel free to report bugs and leave a feedback!
  5. Hello, I struggle with a really tough thing. I want to apply shader to a single object and everything would be easy and cool but there is 1 problem. Objects have alpha animation when they are streamed in and when I apply shader to a certain object (engineApplyShaderToWorldTexture with 2nd argument set on "*") it doesn't affect on the object when it isn't fully visible. My shader uses vertex and pixel functions but it doesn't really matter - any shader applied to an object has the same problem. This shader changes object's geometry so it looks stupid when you see the original object (without the shader) and when you go closer it appears and finally changes its geometry. Worth to mention that when I use engineApplyShaderToWorldTexture without 3rd argument shader works perfectly but you know, I don't want to apply it to all objects which have a given texture name but to just 1 element. This problem dissapears when I apply the shader to a single object which was created with LOD argument set on true. I tried to create custom LOD and apply shader on it but with no effect. https://streamable.com/vg1a6r Short video shows that when alpha is less than 100% we see the original object and when it fully appears shader starts working.
  6. Alright so I installed MTA in virtual machine and it was a mistake. For those who had similar problem - you have to share MTA folder and run it on virtual box instead of installing it there. I copied GTA SA to VM but you can also share GTA SA folder and use this path when MTA will ask. When you run MTA on VM and then you will join on your main system you have to just change your nickaname and everything should work. Thanks for the answer Dutchman.
  7. Hello, I want to run MTA on virtual machine. I suppose joining public servers isn't possible due to serial verification but I'd like to use my local server for script testing. When I try to join on VMware (windows 7/10) I get such error "Disconnected: you have been kicked by AC #4 RESTART MTA". I disabled all AC detectors in conf file. Thanks for any help.
  8. Version 1.1.1 Released: Version 1.1 didn't work for most of people, should be fine now.
  9. Version 1.1 Released: - Added GUI themes PREVIEW - Added Raytrace for 2D selection Raytrace is a new option for 2D (rectangular) selection which selects elements only in your sight of view (skipping elements behind other elements). This option might be much more useful, just keep in mind this method uses 9 (or only 1 if crossing is disabled) characteristic points of each element and it doesn't work perfect in some cases. You can always toggle raytrace in settings (It's called "Raytrace for 2D selection", if it is selected it will be enabled as default) or using a key (which can be changed in settings as well, 'R' is default key), you can use the key no matter if this option is enabled or disabled. PREVIEW - Added axes lock This option allows you to move groups along XYZ axes. It works similar to editor axes lock but in this case you can toggle this option both in tool settings and using a key ('Q' is default key). - Info about tool in chatbox is more clear, added command /mstu to open HUD, shared welcome_message.Lua file where you can edit / remove this message. - Added ped different alpha when selected - Fixed marker alpha doesn't change after group destroy - Improved drawing bounding box for race pickups and spawnpoints Download links have been updated. I'm not going to release version 1.2 any soon but if you find any bug I'll add a fixed version immadiately. I will think about more updates if I get more support and interesting ideas (mirror option for example). IF YOU DOWNLOADED 1.0 VERSION DO NOT DELETE OLD cover.xml and library.xml FILES BECAUSE YOU WILL LOSE ALL SAVED GROUPS AND COVER COMPOSITIONS.
  10. Thanks, yea my bad I should have named it as REL but it seems like I can't edit it now. Maybe a moderator can do it.
  11. I'm excited to show you my latest tool. This time it is something different than my previous tools. It is a bigger project which came to my mind over 2 years ago. I failed at first time because I had trouble with rotations (built in mta function doesn't work well so I had to use quaternions which caused problems as well). Moreover one of devs was working on new editor and he was going to add multi selection option but he cancelled the project. After 2 years I decided to finally write it and also add few additional features. Many hours spent on the tool, thousands lines of code but here is it. I hope you like it and find it useful. Personally I think it should speed up your mapping a lot. Few features might look complicated (actually they are easy to use) so I advice watching or reading tutorial carefully. Features Let's see what this tool is capable of! Create groups of elements using various selection tools and element filters a. edit their position and rotation around all axes b. change their properties - all popular element types are supported c. clone / delete options d. large group support enables you to move / edit whole parts or even maps Duplicate 2 groups Change pivot position Add groups to library a. browser with search and sort options b. loading big groups enables you to join many maps into 1 c. import option which adds all MSTU groups from a given map Cover groups a. create your own cover variations or object compositions b. default cover settings makes covering even faster Customize tool settings on your own needs Download More info and full tutorial you will find here: https://www.thecrewgaming.com/forum/showthread.php?tid=2467&pid=12255#pid12255 Support me If you want to support me leave feedback and also you can buy me a coffee so I won't starving. Thanks a lot! Buy Coffee Feel free to ask questions below or via PM/discord. I'm also opened for script requests. I will keep updating the tool in case you find some bugs. Discord: https://discordapp.com/invite/C4TRxr8
×
×
  • Create New...