cyber-menace Posted May 18, 2004 I noticed in Cyb's "Void" a marine in the starting scene always had the player's color. I want to know how I can make a script marine match the player's color and skin. How do I do this? 0 Share this post Link to post
The Ultimate DooMer Posted May 18, 2004 Thing_SetTranslation (tag, -1); 0 Share this post Link to post
cyber-menace Posted May 18, 2004 Really? It's that simple? Nice. Now if only there was a Thing_SetSkin. Time to seek the wiki. EDIT: Well I couldn't find anything there. I guess I'll just wait for a reply. EDIT2: -1 on Thing_SetTranslation doesn't set it to P1's color. It made the marine green instead of red like I had. I want it to match whatever the player's color is. 0 Share this post Link to post
cyber-menace Posted May 18, 2004 Those seem to have produced the same effect as -1. I guess this command sets invalid translation numbers to this effect. 0 Share this post Link to post
The Ultimate DooMer Posted May 19, 2004 Ah, I forgot about the fact you have to make it an enter script to make it work. -1 takes the translation of the thing activating the script. (and as I use the default green, I didn't pick this up) 0 just removes any translations on a thing, so it reverts to it's normal colours. 0 Share this post Link to post
cyber-menace Posted May 19, 2004 Thank you Ultimate Doomer. I'll go test this. EDIT: That worked perfectly. Thank you much. Now I just need to find a way to change the marine's skin to match the player's. Enjay told scripted marines to use a specific skin in his Marine Assault map. Perhaps using a -1 variable there might make it work too, but I have no idea what scripting function he used. 0 Share this post Link to post
Enjay Posted June 9, 2004 cyber-menace said:Enjay told scripted marines to use a specific skin in his Marine Assault map. Did I? I don't think I did. From memory, all the marines you see in game are just dehacked monsters - not the Zdoom scripted marines. The marines that come in at the end are set to use the same colour translastion as your own personal preference, but I didn't set them to change skin. 0 Share this post Link to post
cyber-menace Posted June 12, 2004 Hmm? I could have sworn I heard someone mention you used something to make them change skins. I found a script that did as much in the Wiki, but there's no way I see to tell it to match the player. 0 Share this post Link to post