mattway Posted June 28, 2005 Share Posted June 28, 2005 Hey Firstly id like to say that im completely new to coding, i dont know much at all. What i would like to do is to add my custom tattoos to the list of tattoos to buy in the parlour. Ive been looking over the shopping.dat file and i think have found the section with the code for the tattoos. could someone with a bit more knowledge on coding help me out as im not sure what i can change. this is the code which i was looking at (lines 508-570). section Tattoos #texturename, nametag, type1, type2, stats to change, price #type is a number and can be one of the following cant go over 20 for stats # - = no type # 4 = left upper arm # 5 = left lower arm # 6 = right upper arm # 7 = right lower arm # 8 = back top # 9 = left chest # 10 = right chest # 11 = stomach # 12 = lower back #texturename, nametag, type1, type2, stats to change, price 4weed 4WEED 4 - respect 1 sexy 2 50 4rip 4RIP 4 - respect 1 sexy 2 45 4spider 4SPIDER 4 - respect 2 sexy 2 60 5gun 5GUN 5 - respect 2 sexy 2 50 5cross 5CROSS 5 - respect 1 sexy 2 70 5cross2 5CROSS2 5 - respect 2 sexy 2 80 5cross3 5CROSS3 5 - respect 1 sexy 2 30 6aztec 6AZTEC 6 - respect 2 sexy 2 40 6crown 6CROWN 6 - respect 1 sexy 2 50 6clown 6CLOWN 6 - respect 2 sexy 2 60 6africa 6AFRICA 6 - respect 2 sexy 2 90 7cross 7CROSS 7 - respect 1 sexy 2 25 7cross2 7CROSS2 7 - respect 1 sexy 2 40 7cross3 7CROSS3 7 - respect 2 sexy 2 70 7mary 7MARY 7 - respect 2 sexy 2 100 8sa 8SA 8 - respect 3 sexy 3 150 8sa2 8SA2 8 - respect 3 sexy 3 250 8sa3 8SA3 8 - respect 3 sexy 3 350 8westside 8WESTSD 8 - respect 3 sexy 3 200 8santos 8SANTOS 8 - respect 3 sexy 3 150 8poker 8POKER 8 - respect 3 sexy 3 200 8gun 8GUN 8 - respect 3 sexy 3 450 9crown 9CROWN 9 - respect 2 sexy 1 125 9gun 9GUN 9 - respect 2 sexy 2 50 9gun2 9GUN2 9 - respect 2 sexy 1 70 9homeboy 9HOMBY 9 - respect 2 sexy 2 100 9bullet 9BULLT 9 - respect 2 sexy 1 90 9rasta 9RASTA 9 - respect 2 sexy 2 125 10ls 10LS 10 - respect 2 sexy 2 80 10ls2 10LS2 10 - respect 2 sexy 2 45 10ls3 10LS3 10 - respect 2 sexy 2 50 10ls4 10LS4 10 - respect 2 sexy 2 100 10ls5 10LS5 10 - respect 2 sexy 2 65 10og 10OG 10 - respect 2 sexy 2 90 10weed 10WEED 10 - respect 2 sexy 2 40 11grove 11GROVE 11 - respect 2 sexy 2 70 11grove2 11GROV2 11 - respect 2 sexy 2 125 11grove3 11GROV3 11 - respect 2 sexy 2 100 11dice 11DICE 11 - respect 2 sexy 2 90 11dice2 11DICE2 11 - respect 2 sexy 2 50 11jail 11JAIL 11 - respect 2 sexy 2 30 11godsgift 11GGIFT 11 - respect 2 sexy 2 200 12angels 12ANGEL 12 - respect 3 sexy 3 450 12mayabird 12MAYBR 12 - respect 3 sexy 3 550 12dagger 12DAGER 12 - respect 3 sexy 3 350 12bandit 12BNDIT 12 - respect 3 sexy 3 600 12cross7 12CROSS 12 - respect 3 sexy 3 500 12mayaface 12MYFAC 12 - respect 3 sexy 3 525 end could someone tell me whether i would be able to add my own lines to the end of the code and add my textures to player.img and LD_TATT.txd. there is also some more code (lines 1035-1093) i think this is what is available in each tattoo shop. could someone please check it out and get back to me. Ill update if i get something working in the meantime. Matt Link to comment Share on other sites More sharing options...
mattway Posted June 28, 2005 Author Share Posted June 28, 2005 major development in last 5 mins. i added these lines to the code: line 547 - 9hamsik 9HAMSIK 9 - respect 3 sexy 3 50line 1048 - item 9hamsik i also added my .txd of the tattoo to player.img and i added the tattoo image to LD_TATT.txd my idea worked here is a screenshot of the list only problem was that it had no name, i think that the text is stored in american.gxt could someone please tell me how i can edit this .gxt file so that i can add my text to the menu. Link to comment Share on other sites More sharing options...
illspirit Posted June 29, 2005 Share Posted June 29, 2005 AFAIK, no one has figured out a practical way to edit the new gxt format yet. Nice find though, I was curious whether that would work too. Maybe the same can be done with clothes as well. Hmmm.... Link to comment Share on other sites More sharing options...
Mercie Posted June 29, 2005 Share Posted June 29, 2005 AFAIK, no one has figured out a practical way to edit the new gxt format yet. Nice find though, I was curious whether that would work too. Maybe the same can be done with clothes as well. Hmmm.... If you open the gxt file with a hex editer, the patterns are kinda obvious, though I do not think I could sopt how to add a string. Perhaps Opius could take a look? Link to comment Share on other sites More sharing options...
ZanderZ Posted June 29, 2005 Share Posted June 29, 2005 Wait for GTA Texter. It will make SA text editing a lot easier, and it should be done soon Link to comment Share on other sites More sharing options...
mattway Posted June 29, 2005 Author Share Posted June 29, 2005 no need, i found an editor from Hammer83, it works great somehow i would like to integrate this into a tool to make it much easier to import tattoos into SA. but as i wouldnt know where to start on programming a tool it would be impossible, if there is anyone out there who would be interested in helping out with this it would be a great help. Link to comment Share on other sites More sharing options...
Sergiow Posted June 30, 2005 Share Posted June 30, 2005 http://www.gtaforums.com/index.php?showtopic=200512 Link to comment Share on other sites More sharing options...
mattway Posted June 30, 2005 Author Share Posted June 30, 2005 Damn Sergiow, took a while for me to work all this out, if i had waited i could have used your tutorial lol, o well at least i worked something out, so i guess thats a good thing Link to comment Share on other sites More sharing options...
Extreme Gimp Posted July 18, 2005 Share Posted July 18, 2005 Its easy to add to the gxt. I found a way to do it with clothes a little while back, although you had to over-ride clothes lines because the list then came up with less items than originally and was formatted terribly. For putting your own clothes in a shop, follow this tut i made: http://forum.codenamenetwork.com/index.php?showtopic=14603 For tatoos it would be exact same, just adapt for tatoos... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now