SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 20/07/2015, 10:32 PM   #1
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,826
Reputation: 565
Default Texture Studio - Texture your maps

Thanks, Pottus:
I am not the original creator of this filterscript, but I am going to continue maintaining it. Pottus, the original owner/developer of this filterscript has decided to move on with life, and that means abandoning SA-MP for him because he can't just leave the desk every once in a while... XD

Thanks Pottus, for everything you gave us!

Texture Studio
(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.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.
    = Click here to view the changes.

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:
[ame]http://www.youtube.com/watch?v=yk9oKoRJdds[/ame]

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:
/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+aim to add textures to theme in walk mode
Walk key will apply the selected texture to your object

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

Contributors:
Crayder - New developer.

Download:

All new versions will only be downloadable from github located here
https://github.com/Pottus/Texture-Studio/

Note: "I've done something with this release I would almost never do except under the current circumstances, I don't feel comfortable sending everyone on a wild goose chase looking for everything that is required to use this filterscript. That is why everything is included to start using it right away including the samp server. So yes I know I shouldn't make releases in this manner." - Pottus.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!

Last edited by Crayder; 07/02/2017 at 06:40 PM.
Crayder is offline   Reply With Quote
Old 20/07/2015, 10:35 PM   #2
iTakelot
Gangsta
 
Join Date: Jun 2015
Location: Brasil
Posts: 682
Reputation: 30
Default Re: Texture Studio - Texture your maps

FS WITH GOOD FUNCTIONS, CONGRATULATIONS
iTakelot is offline   Reply With Quote
Old 21/07/2015, 12:35 PM   #3
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 266
Reputation: 60
Default AW: Texture Studio - Texture your maps

Still the best Map Editor / FilterScript in the whole SAMP Community.
JustMe.77 is offline   Reply With Quote
Old 21/07/2015, 06:54 PM   #4
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Portugal
Posts: 7,051
Reputation: 730
Default Re: Texture Studio - Texture your maps

Sad see him leave, I played for an while on his server and with slice their are very amazing persons.

This is one of his legacy and with this we can see the amazing job he do.

Very good editor, i hope you still improve this Crayder.
PT is offline   Reply With Quote
Old 21/07/2015, 08:19 PM   #5
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,826
Reputation: 565
Default Re: Texture Studio - Texture your maps

Quote:
Originally Posted by PT View Post
i hope you still improve this Crayder.
I'm open for suggestions, it pretty much has everything it needs really.

Any bugs, suggestions, edits, add ons, or anything. I'm open for it all on Github.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 21/07/2015, 08:54 PM   #6
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 131
Reputation: 17
Default Re: Texture Studio - Texture your maps

This filterscript is completed. I remember a spelling glitch when i exported a map. "CreateDyanimcObject" (or something like this) instead of "CreateDynamicObject".
P.S: Glad to see the project is still alive. I hope Pottus has made a good decision by chosing you as the actual developer.
ExTaZZ69 is offline   Reply With Quote
Old 21/07/2015, 09:08 PM   #7
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,274
Reputation: 1141
Default Re: Texture Studio - Texture your maps

Yeah, he's good to go since he uses the editor himself and this script has really undergone most of it's major iterative changes now it's certainly not a daunting task to sequester future issues good luck Crayder make me proud! (Loose end tied one more ColAndreas).
Pottus is offline   Reply With Quote
Old 22/07/2015, 04:06 AM   #8
IntelexGamer
Little Clucker
 
IntelexGamer's Avatar
 
Join Date: May 2015
Posts: 33
Reputation: 4
Default Re: Texture Studio - Texture your maps

Help me atleast b4r you go.

When I load my maps , it doesent show the object id's ( the small green and orange text that should appear with object ids)
__________________
If you liked meh or I helped yu , dont be shy to give me dat rep+

Newbie Scripter // Another GF edit progress : 45% // Skype : live;tonymontana527 // If you need any simple scripting help ask me !
IntelexGamer is offline   Reply With Quote
Old 22/07/2015, 04:10 AM   #9
IntelexGamer
Little Clucker
 
IntelexGamer's Avatar
 
Join Date: May 2015
Posts: 33
Reputation: 4
Default Re: Texture Studio - Texture your maps

Small suggestion doe ,
-Ability to edit texture position/size/rotation
-Make ability to export mapping as CreateStream/Dynamic/Player Object
__________________
If you liked meh or I helped yu , dont be shy to give me dat rep+

Newbie Scripter // Another GF edit progress : 45% // Skype : live;tonymontana527 // If you need any simple scripting help ask me !
IntelexGamer is offline   Reply With Quote
Old 22/07/2015, 07:26 AM   #10
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,826
Reputation: 565
Default Re: Texture Studio - Texture your maps

Quote:
Originally Posted by IntelexGamer View Post
Help me atleast b4r you go.

When I load my maps , it doesent show the object id's ( the small green and orange text that should appear with object ids)
Do "/selectgroup 0".

Quote:
Originally Posted by IntelexGamer View Post
Small suggestion doe ,
-Ability to edit texture position/size/rotation
-Make ability to export mapping as CreateStream/Dynamic/Player Object
- Not possible.
- Dynamic is already possible, and dynamic is technically player. Just use the streamer plugin.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Texture Studio - Texture your maps Pottus Filterscripts 462 20/07/2015 10:35 PM
Texture Studio bug. MasonPlay Scripting Help 5 16/02/2015 05:31 PM
[HELP] Texture studio BannaR Everything and Nothing 6 08/07/2014 07:49 PM


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.