Kosmo Posted March 31, 2009 Share Posted March 31, 2009 I was wondering if this function will ever be available for non CJ skins? Don' t shoot me down if it's impossible, I know shit about coding, it would just be awesome. I frequent rp servers alot and it would be lovely if you could put on the bikehelmet for instance without needing the CJ skin. Link to comment
50p Posted March 31, 2009 Share Posted March 31, 2009 No it's not possible and will not be possible because that's how the game is made. It requires changing models and pedestrians weren't made the way CJ is. I would be really surprised if MTA will make it possible. Link to comment
Kosmo Posted April 1, 2009 Author Share Posted April 1, 2009 Allright. Thanks for enlightening me. I've got another question though, that abit related. I vageuly recall a function that could attach elements to "ped bones". As in foot, hand leg, arm, etc... Is that function still planned to be implemented, because I can't find it anymore. Again, it would make a great addition for rp servers (holding beers, cigarets, etc...) or if you want to make your own six million dollar man Link to comment
Gamesnert Posted April 1, 2009 Share Posted April 1, 2009 That function was removed. Seems like there was no real point to it due to the getPedBonePosition function. Link to comment
Kosmo Posted April 2, 2009 Author Share Posted April 2, 2009 That function was removed. Seems like there was no real point to it due to the getPedBonePosition function. Aww that's a shame. Like I mentioned - it would open alot of possibilities for rp servers. I hope they'll reconsider. Link to comment
Lordy Posted April 2, 2009 Share Posted April 2, 2009 Nothing stops you from getting the bone position and attach it there (with clientside onclientrender setelementposition even) Link to comment
DakiLLa Posted April 2, 2009 Share Posted April 2, 2009 eh..guys, sorry for offtopic.. i remember i saw something like 'attachElementToBone' function on wiki, but now i cant find it.. so, is there function like this ? Link to comment
arc_ Posted April 2, 2009 Share Posted April 2, 2009 i remember i saw something like 'attachElementToBone' function on wiki, but now i cant find it.. so, is there function like this ? No. Read post 3 and the replies to it. Link to comment
DakiLLa Posted April 2, 2009 Share Posted April 2, 2009 ah..my mistake..forgot to read all topic , well, i have no more questions..thx Link to comment
Kosmo Posted April 3, 2009 Author Share Posted April 3, 2009 Nothing stops you from getting the bone position and attach it there (with clientside onclientrender setelementposition even) So that would do exactly the same as attachElementToBone? Link to comment
Slothman Posted April 3, 2009 Share Posted April 3, 2009 essentially same deal, just takes a tiny bit more effort Link to comment
darkdreamingdan Posted April 7, 2009 Share Posted April 7, 2009 attachElementToBone was removed in favour of setElementAttachedOffsets. This allows you to set the glue offset on render, which essentially attachElementToBone was doing (and actually it was attachObjectToBone, rendering the function even more useless). I don't understand why its an issue that attachElementToBone doesnt exist - it was horribly ungeneric and you can still do it yourself. Link to comment
Gobe Posted April 14, 2009 Share Posted April 14, 2009 No it's not possible and will not be possible because that's how the game is made. It requires changing models and pedestrians weren't made the way CJ is. I would be really surprised if MTA will make it possible. What about if we add more clothes & haircuts to CJ via editing the data files (clothing.dat etc) & models/textures in the players.img, we can do it in singleplayer so why not in MTA, like in my single-player GTA, I can play as many different characters that I can personalize (change shirts, shoes etc). I got CJ, a puertorican guy and Snoop Dogg, all I done is adding new haircuts to CJ (as an haircut model includes CJ's head) and other stuff. Anyway I tried to make a script to attach an object to the player's all the night, no success, can someone please explain me how I am meant to do because I don't understand shit because of all these functions that changed... Link to comment
Gamesnert Posted April 14, 2009 Share Posted April 14, 2009 What about if we add more clothes & haircuts to CJ via editing the data files (clothing.dat etc) & models/textures in the players.img, we can do it in singleplayer so why not in MTA, like in my single-player GTA, I can play as many different characters that I can personalize (change shirts, shoes etc). I got CJ, a puertorican guy and Snoop Dogg, all I done is adding new haircuts to CJ (as an haircut model includes CJ's head) and other stuff. The beauty of MTA is that it doesn't alter any file. If it would touch your files, it might eventually mess up or get stuffed with things you don't want. What MTA does is altering it in the memory, which seems like a pretty hard thing to do. (atleast, to me it does) It seems like it though that a downside of this is that you can't add anything, only replace stuff. Like vehicle models have to be replaced, no easy way to really add them. I'm not really an expert on this, but this seems to be how it works. Link to comment
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