AlienX Posted August 5, 2005 Share Posted August 5, 2005 Hello everyone... me and kosy have spent about an hour, maybe more on this... How do i change a actor skin in SA? Note: 0352 2 set_actor_skin -/- yes P: $actorID, TEXT (ModelName) - changes skin for specified actor This does NOT work for me... Thanks to all who help!!! Link to comment Share on other sites More sharing options...
superglitch Posted August 5, 2005 Share Posted August 5, 2005 0352: set_player_skin $PLAYER_CHAR MODEL(You put the modelname of the skin)0353: refresh_actor_skin $PLAYER_CHAR If not that search the main.scm for skin you'll come up with a bunch of crap Link to comment Share on other sites More sharing options...
Demarest Posted August 5, 2005 Share Posted August 5, 2005 Those are the right opcodes, but they refer to actors. Don't use them with $PLAYER_CHAR. Also (and I haven't yet figured out when it matters), those opcodes refer to models despite originally believed to address the skins. I'm not sure why they're labelled as player and/or model unless they were copied wrong. Link to comment Share on other sites More sharing options...
AlienX Posted August 5, 2005 Author Share Posted August 5, 2005 0352: set_player_skin $PLAYER_CHAR MODEL(You put the modelname of the skin)0353: refresh_actor_skin $PLAYER_CHAR If not that search the main.scm for skin you'll come up with a bunch of crap This is for players. not actors ... thanks anyway man Those are the right opcodes, but they refer to actors. Don't use them with $PLAYER_CHAR. Also (and I haven't yet figured out when it matters), those opcodes refer to models despite originally believed to address the skins. I'm not sure why they're labelled as player and/or model unless they were copied wrong. i dont really get what u mean, but im not using player_char, its a create_actor var im pointing the opcode too... Link to comment Share on other sites More sharing options...
Demarest Posted August 5, 2005 Share Posted August 5, 2005 The opcode (0352 and 0353 in this case) is all the game cares about when deciding WHAT to do. That other stuff like set_player_skin is just there to help humans get it. And even though it says set_player_skin, that is an actor opcode. That's what I was saying. In the future, just search your code. Or search the opcode database. Those would've probably said actor. Barton's GTA3 MB does, so I doubt the man forgot along the way and misnamed it. Link to comment Share on other sites More sharing options...
AlienX Posted August 5, 2005 Author Share Posted August 5, 2005 (edited) thanks for speedy reply... i did search the orignal SCM, and the opcode from the database i use never returned a result... so thats why i posted here all i shall say really is that i guess the opcode is wrong, or the game would not crash when i tryed to use it if there is a known way on san andreas, i would love to know... if there isnt R* Sucks ass Edited August 5, 2005 by AlienX Link to comment Share on other sites More sharing options...
Demarest Posted August 5, 2005 Share Posted August 5, 2005 The opcode isn't wrong. It's been used since the first mission of GTA3. Tell us what you did so we can help you. Link to comment Share on other sites More sharing options...
NathanHenry Posted August 5, 2005 Share Posted August 5, 2005 Yeah this is what Ad_tec did in order to get his mod the SA Player Selection mod working. How would I do this but with Claude Speed. And I know it is possible because he is one of the Actor skins so how would I do this with Claude Speed. Link to comment Share on other sites More sharing options...
Un3462 Posted August 5, 2005 Share Posted August 5, 2005 09c7 is the opcode you're looking for. Link to comment Share on other sites More sharing options...
AlienX Posted August 5, 2005 Author Share Posted August 5, 2005 Thankyou V Much everyone for posting Link to comment Share on other sites More sharing options...
superglitch Posted August 5, 2005 Share Posted August 5, 2005 if there isnt R* Sucks ass Really because without R* you wouldn't be posting on this forum. I actually if no one noticed it put set_player_skin and refresh_actor_skin Link to comment Share on other sites More sharing options...
Demarest Posted August 5, 2005 Share Posted August 5, 2005 I actually if no one noticed it put set_player_skin We noticed. See above the multi-post confusion as I tried to coverup your error. That opcode is set_actor_skin. Link to comment Share on other sites More sharing options...
ggm_SpYder Posted August 5, 2005 Share Posted August 5, 2005 You still do not understand AlienX question I am afraid. 1. you select the skin for your player using arrow-keys. 0004: @1 = 9...289 (much code behind this) .. 009A: $showskin = create_actor 24 @1 at $x $y $z when you press enter the following code will be executed and the player becomes the choosen character 09C7: $Player_Char @1 2. the other players now want to see the new skin for that player. At the beginning all actors have the same CJ skin: $1 = create_actor 24 #NULL at $x $y $z $2 = create_actor 24 #NULL at $x $y+2 $z ... $31= create_actor 24 #NULL at $x $y+60 $z Currently it is neccessary to execute the following code to change the skin for actor XX because 09C7: $XX @1 crashes the game: 009B: destroy_actor_instantly $XX0247: request_model @1009A: $XX = create_actor 24 @1 at $x $y+(XX-1)*2 $z Summary: 09c7: is the best idea here but it only works with the $Player_Char NOT WITH $Actor_Char0352: this command should be called 'set_"named"_actor_skin' because you need to use the real name of the skin and not the skin number.0353: is the follow-up for opcode 0352: Is there an opcode which accepts $Actor_Char and Skin ID (from peds.ide) as parameters ? Thanks for your ideas. Link to comment Share on other sites More sharing options...
Demarest Posted August 5, 2005 Share Posted August 5, 2005 Not that I'm aware of. When I was making Chameleon, I found that trying to change the player into any "common" ped crashed the game. If I however extracted the DFF/TXD and readded them under a different name, they worked fine. Only variable there is their listing as peds. Link to comment Share on other sites More sharing options...
AlienX Posted August 6, 2005 Author Share Posted August 6, 2005 thanks for your post Spyder... Are u the dude from our IRC Channel? Link to comment Share on other sites More sharing options...
ggm_SpYder Posted August 6, 2005 Share Posted August 6, 2005 sure, who else... I have heard that you temporarily don't use the character selection menu for the next release. But every player has its favorite character therefore you should build in a dropdown menu that the player can use before game launch if he wants a specific skin or a random one. Keep on the good work... Link to comment Share on other sites More sharing options...
AlienX Posted August 6, 2005 Author Share Posted August 6, 2005 sure, who else... I have heard that you temporarily don't use the character selection menu for the next release. But every player has its favorite character therefore you should build in a dropdown menu that the player can use before game launch if he wants a specific skin or a random one. Keep on the good work... ne its not his FAV, the skins are depedent on Connection ID for now 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