• 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Filterscript] Texture Studio ? Map Editor With Texture Support and More!
#1
Brick 
[Image: uc?export=view&id=1p5pCpHLN9d_juteNLX887_lqEQhsJvlz]

There is now, no excuse for sub-standard (non-textured) maps.

Tutorial Videos here: http://forum.sa-mp.com/showthread.php?t=539028


What is it:
Well it's just a in game map editor that will let you texture up to material index 15 (16 materials) as well as set color for that material index on objects.

So far there is only some basic editing commands as it's mainly meant for texturing the idea is you create your maps in your favorite map editor they can then be imported into Texture Studio with the /importmap command only CreateObject() and CreateDynamicObject() object code lines are currently accepted. Just put your maps in text files located in the /tstudio/ImportMaps/ folder.?

Yes you will need the textureviewer that is included in the release the command is /mtextures in game /mtset uses those array ids

You can set how many objects are editable the default is 10,000 which should be good for most people setting a different value requires a re-compile.

You can set the material slots higher the default being 16 you can increase this but I'm pretty sure you won't be able to open a map that was saved in a 16 slot compile. This is because it saves the array into the database keep in mind as well that SAMP only supports re-texturing from index 0-15 but if this changes in the future Texture Studio is adaptable.


Changes:
Code:
Version 1.9d
? ?- Fixes model name in /gtaobjects text
? ?- Change custom model support from -2000 (0.3.8) to -1000 (0.3.DL)
? ?- Add basic texture importing! Excluding text, just textures. Fully supports TS exports. Follows a strict "texture only last object created" method, as exported by TS.

Version 1.9c
? ?- Update and restructure /thelp
? ?- Fix webcolors string length
? ?- Support viewing all texture results (instead of just 100 like before) in /tsearch
? ?- Add /gsel and /csel controls info to /thelp and the commands, with flymode info
? ?- Automatically raise the max streamed objects to 1500 when using 0.3.DL
? ?- Add /rremobject, the range and model alternative to /remobject
? ?- Fix attached vehicle objects exporting
? ?- Add /avclone for attached object cloning

Version 1.9b
? ?- Map loading fixes.
? ?- Added Football Stadium map to it.

Version 1.9
? ?- Object notes (can be seen with /note command and on text3d, also is exported on maps on a comment on the end of the objects' lines).
? ?- Per-object/group draw distance.
? ?- More advanced databases with much more information stored (saves map creator name, last edit time, spawn position for /gotomap, and interior/vw).
? ?- Repeat last command with WALK  CROUCH (more buffered commands stuff coming).
? ?- More advanced text3d options for notes and object model info (see /edittext3d).
? ?- /mprop for map properties (currently only vw and interior).
? ?- /gotomap and /setspawn for saved maps (/gotomap sends the player to the /setspawn location).
? ?- Vehicle siren support.

Version 1.8f
? ?- Remove float precision on map export code.
? ?- Make /gclone faster.
? ?- Add model parameter to /avnewcar.
? ?- Group editing restrictions for RCON admins, restrict editing of groups to specific players.
? ?- Add command count message when player's connect.
? ?- Add 3 flymode commands (/fmspeed to set max speed, /fmaccel to set acceleration, /fmtoggle to toggle acceleration).
? ?- Other flymode enhancements
? ?- Remove GTA object compile setting, no longer needed since they are loaded from a database and work so much faster.

Version 1.8e
? ?- Fixes /minfo
? ?- Adds /osearchex, a VERY useful command. Search for objects using logical expressions with size variables.
? ?- Add group texturing commands: /gmtset and /gmtcolor
? ?- Add range selection to /gadd and /grem. It's kinda like an extra "upper max" parameter. ("/gadd 1 5" would add objects 1, 2, 3, 4, and 5 to your selection)
? ?- Adds /clonebuilding, create a clone of a gta building in the exact place, WITHOUT removing the original building.
? ?- More transactions for more speed.
? ?- Add all objects to the ColAndreas world when mangle is included.
? ?- Export colors as hexidecimal instread of integers.
? ?- Add experimental ground-slope group editing (doesn't work atm).
? ?- Raise pivot object's stream distance to prevent editing bug.
? ?- Add /ginvert, mirror a group's objects over any axis (best with symmetrical objects because obviously objects are not inverted).
? ?- Super update to Objectmetry:
? ?- Add conical figure.
? ?- Add real spiral, and renamed old one to helix.
? ?- Add prism, line, and rectangle.
? ?- Add advanced dialogs.

Version 1.8d
? ?- Add /minfo, retrieve model information on any given model.

Version 1.8c
? ?- Add /gselmodel, select a group of objects by model.
? ?- Add spherical objectmetry to /obmedit.
? ?- Use databases for 'allobjects' and 'modelsizes'. Drastically reduces group operations and gta object speed.
? ?- Show object counts when loading a map.
? ?- Raise bind amount to 10.
? ?- Make /gaexport work (but it will not create a file for some unfortunate reason, temp-fix included).
? ?- Add local input support for localhost.

Version 1.8b
? ?- Add undo compatibility to /ginfront.

Version 1.8a
? ?- Add /ginfront to move a group to your front position.

Version 1.8
? ?- Add Map Angle (aka. mangle) module support, requires ColAndreas.
? ?- Add RZ rotation support for Objectometry.
? ?- Add /tcar, a temporary vehicle command.

Version 1.7e
? ?- Add /renamemap and /deletemap
? ?- Color coat /gtaobjects (red - removed, blue - swapped, pink - building is unmodified)
? ?- /gtaobjects now accepts a parameter for the text's draw distance (/gtaobjects <draw distance>)
? ? ? ?* By default the distance is still collision radius * 2

Version 1.7d
? ?- Updated /thelp list and converted to dialog.
? ?- Added rotation mirroring to /avmirror (before it only mirrored position).
? ?- Non-numpad keyboard compatibility for texture viewer.

Version 1.7c
? ?- sqlitei prepared statements fixed
? ?- new command /oswap swap an object with a different model
? ?- new command /mtreset resets all textures and colors
? ?- Fixed an issues with vehicles not resetting positions when attaching

Version 1.7b
? ?- Ability to clone cars /avclonecar

Version 1.7a
? ?- Some critical issues fixed
? ?- DBStatements were not being freed correctly
? ?- Prefab list was not resetting string when reloading list
? ?- Sometimes the object editor could get lost and required reloading the script simply reload the map

Version 1.7
? ?- /undo command!

Version 1.6d
? ?- Fixed an issue with exporting objects if an object had text the parameters were out of order
? ?- Any object should be able to be created now there even LOD
? ?- Re-organized the project slightly

Version 1.6c
? ?- Updated material text to have 128 characters
? ?- Text now accepts \n (new line)
? ?- Added two blank text files so those folders appear on github

Version 1.6b
? ?- Added feature to export map including cars to filterscript
? ?- New command /avmirror mirror objects on a car
? ?- Completely rebuilt the all objects array some where missing it should be complete now

Version 1.6a
? ?- Search for textures /tsearch

Version 1.6
? ?- Editable vehicles
? ?- A few bug fixes with texturing and overlapping key presses with other systems

Version 1.5e
? ?- Important fix with CloneObject()

Version 1.5d
? ?- Added objectmetry rotation RX/RY orientation for objects

Version 1.5c
? ?- Improved Objectmetry rotation translation and ability to set rotation degrees

Version 1.5b
? ?- New feature Objectmetry and include by codectile located here http://forum.sa-mp.com/showthread.php?t=538447

Version 1.5a
? ?- Ability to clone objects on the fly in edit object mode (Press walk key)

Version 1.5
? ?- Improved /osearch module

Version 1.4b
? ?- Added support for finding and removing GTA objects by request?
? ? ?Please note that deleting objects is a one way process you will have to use a sqlite database editor and manually
? ? ?remove any entries that are incorrect and reload your map!
? ? ?Additionally if you restart your server the script will forgot which building have been removed so it is possible to
? ? ?delete a building more than once in that case please be careful

Version 1.4
? ?- Added object property editor /oprop
? ?- Added list selection feature /lsel
? ?- You can now choose CreateDynamicObject() as a export type instead of CreateDynamicObjectEx()
? ?- Spelling error fixed in one of the GUI menus

Version 1.3
? ?- Complete GUI implementation that calls all commands
? ?- Groups added you can edit group selections
? ?- Texture editor texture objects with a GUI
? ?- You can make your own texture themes
? ?- Prefabs can be saved/loaded
? ?- Texture themes can now be created "default_theme" is always loaded when a player connects
? ?- You can make your own command based binds and execute them

Version 1.2?
? ?- Added support for importing RemoveBuildingForPlayer() this will be saved to DB
? ?- Can now copy/paste texture and text from one object to another

Version 1.1
? ?- Fixes some issues that could cause the editor to stop working
? ?- Text editor (/text)
? ?- Whole map delta movement commands
? ?- Whole map rotation commands (rotates from map center)
? ?- Fly mode built into FS (/flymode)
? ?- You can use (/cgoto) when you have an object select and in fly mode to go to that object


Video Introduction:
http://www.youtube.com/watch?v=yk9oKoRJdds


Commands:
There are currently 114 commands. Refer to /thelp for a list of commands and documentation on each command. A list of major commands and short descriptions can be found in the github readme (or main page).?


Key Combos:
Code:
/csel:
Holding 'H' while clicking an object will copy properites to buffer
Holding 'Walk Key' while clicking an object will paste properties from buffer

/editgroup:
Hold 'Walk Key' to set the group rotation pivot you can only do this once per edit

GUI:
When in fly mode to open the GUI press 'Jump Key' otherwise it can be opened by pressing 'N' Key

Texture Viewer:
In Fly mode instead of pressing Y/H to scroll through textures hold enter/exit vehicle and press ANALOG Left ---- ANALOG Right
Pressing sprint will add textures to your theme in fly mode press sprint権 to add textures to theme in walk mode
Walk key will apply the selected texture to your object


Credits:
Pottus - Creating the script itself.
Crayder - New developer.
Y_Less - sscanf - original object model sizes - YSI
Slice - strlib - sqlitei
JaTochNietDan Filemanager
SDraw - 3D Menu include
codectile - Objectmetry functions


Download:
All new versions will only be downloadable from github located here
https://github.com/Crayder/Texture-Studio/
Wiki:
Command information, basic usage, and more can be found on the wiki:
https://github.com/Crayder/Texture-Studio/wiki
[Image: uc?export=view&id=1C5dMc9kb09iAUuASWBEPCK21lsedAXmB]

  Reply
#2
Is a very important release for me. I use this a long time.?



The only problem when two players ejecuted two commands the server is crashed.
[Image: 9ea500ab1c153189c5497f141908ffab.png]

  Reply
#3
(2019-04-15, 11:28 AM)James Wrote: Is a very important release for me. I use this a long time.?



The only problem when two players ejecuted two commands the server is crashed.



Do you have the latest version? It should work fine since the latest version. The issue with the previous version was I released it compile in debug mode, which causes issue with multiple players. You can either download the latest version or simply recompile the script to fix that.
[Image: uc?export=view&id=1C5dMc9kb09iAUuASWBEPCK21lsedAXmB]

  Reply
#4
Yes, but the server is crashed when two players ejecuted two commands. I don't know.
[Image: 9ea500ab1c153189c5497f141908ffab.png]

  Reply
#5
https://github.com/Crayder/Texture-Studio/wiki



The wiki has been updated!
[Image: uc?export=view&id=1C5dMc9kb09iAUuASWBEPCK21lsedAXmB]

  Reply
#6
Excellent tool! The best tool to map, in my opinion.
  Reply
#7
(2019-04-16, 10:14 PM)Botato Wrote: Excellent tool! The best tool to map, in my opinion.



Re-tweet.
Esseyk.

?Necesitas apoyo financiero para tu proyecto? Contactame v?a MP.


  Reply
#8
This script had a huge impact on the whole mapping community.

Simple, but useful and convenient updates that can be made:

1. Make more short commands:?
Code:
/editobject?/eo /eobject
/dobject?/do /deleteobject
/cobject?/co /createobject
/importmap?/im
/exportmap?/em
/editgroup?/eg /egroup
/robject?/resetobject
/flymode?/fm
/mtsearch?/mts
/tsearch?/ts

2. Simple commands for test: setint,?setvw, settime, setweather,?giveweapon, setskin, tpcoord
3. Very important. Add possible change texture index for text editor. Add dialog for size and front
http://imgbox.com/oRshUap8
4. Add command redo.
redo?returns the undone action (/undo)
Mapper, RU.

VK Group
  Reply
#9
(2019-04-23, 10:42 PM)Apec Wrote: This script had a huge impact on the whole mapping community.



Simple, but useful and convenient updates that can be made:



1. Make more short commands:?

Code:
/editobject?/eo /eobject

/dobject?/do /deleteobject

/cobject?/co /createobject

/importmap?/im

/exportmap?/em

/editgroup?/eg /egroup

/robject?/resetobject

/flymode?/fm

/mtsearch?/mts

/tsearch?/ts



2. Simple commands for test: setint,?setvw, settime, setweather,?giveweapon, setskin, tpcoord

3. Very important. Add possible change texture index for text editor. Add dialog for size and front

http://imgbox.com/oRshUap8

4. Add command redo.

redo?returns the undone action (/undo)



Hey there, I'm going to be helping out with updates for texture studio in the future. I'll hold off on making any promises, but I do have plans to make it so users can add and save their own shortcut commands as they please. I think that's a better solution since people may want to pick different shortcuts for different commands.



Those testing commands you mentioned have already been made in my fork of tstudio, they simply need to be ported over to the new repo. I'll probably do this over the next few days.
  Reply
#10
Good project i will use it in my server
Follow me on my instagram :?Instagram
  Reply
#11
I just realized there's an issue that would absolutely crash players!



I have a compiler option in tsmain.pwn that detects the DL includes and enables seeing up to 1500 objects. Unfortunately, this means if you use the precompiled .amx with a standard 0.3.7 server you will be showing the players more than the limit (1000), in turn causing players to crash.



Hence, for now, if you are using 0.3.7 for some odd reason and you use more than 1000 objects... recompile with the 0.3.7 includes.
[Image: uc?export=view&id=1C5dMc9kb09iAUuASWBEPCK21lsedAXmB]

  Reply
#12
Hey, can smb tell me what the IP address of my server be? I've tried my own IP and port 7777, but it didn't work.
  Reply
#13
will this get an update one day?
  Reply
#14
Wow thats really cool
  Reply
#15
Hey guys, i have a ask about this editor, how can i change numpad key's to something else? because i don't have a numpad. Thanks.
OG

Since of 2011


Discord: zeetayn#2166

  Reply
#16
[Image: BEblNr8.png]

@Crayder, can you provide support for CA Dynamic Object creation as well? That format would be useful.

edit://

1 - Sometimes when I cancel object editing the object itself is being destroyed and other times it doesn't get destroyed. Why is that?

2 - Can you make a /runbind command more user-friendly and let it be called by indexes/names of the binds? I rather type /runbind grass01 instead of /runbind 5 for example.

P.S
I'm a newbie at TStudio, maybe that's solved already. I just point out my things.

edit2://
Whenever I export my map, it doesn't get created in tstudio folder in scriptfiles folder. I searched entire directory - it isn't there.
[Image: widget.png?style=banner2]


  Reply
#17
I'm having a hard time mapping, when I map my draw distance is absolutely terrible. I lose objects in 100meters, you can't review the map normally you can't see the map as a whole. What is the solution ?
  Reply
#18
(2021-02-10, 07:00 PM)RockstarMapping Wrote: I'm having a hard time mapping, when I map my draw distance is absolutely terrible. I lose objects in 100meters, you can't review the map normally you can't see the map as a whole. What is the solution ?



you can use a draw distance extender if you want so you can see the objects in your gta sa farther than the limit
  Reply
#19
Thanks for keep this on use for everyone
  Reply


Forum Jump: