MaybeMe Posted January 2, 2015 Share Posted January 2, 2015 Hey guys, I've been watching Aggror's videos on Lua coding, and I ran into an issue first video and I don't want to go further without figuring out what I did wrong. The player dies and it plays the death animation. The script works and the player respawns back at the spawn point, but he dies. I've set the death trigger platform to "Trigger" but it is still solid. How do I make it transparent so to speak? Quote Link to comment Share on other sites More sharing options...
Imchasinyou Posted January 3, 2015 Share Posted January 3, 2015 to make it transparent (invisable) you can apply the invisable material to the CSG box that is your death trigger. That material is in the Materials/effects folder and can be assigned by the scene view tab under appearance. I hope I have answered your question. Quote Asus sabertooth 990FX, AMD FX 9590 , Windows 7 Home Premium 64 Bit, 4 HDD's Western Digital Caviar Black set in Raid 0, 16 GB Crucial Ballistix Elite, Asus Radeon R9 270 X 4GB, Corsair CM750M, Link to comment Share on other sites More sharing options...
Gonan Posted January 3, 2015 Share Posted January 3, 2015 Materiels folder, Effects, Invisible.mat Just drag it onto your trigger box, that will make it transparent. 1 Quote Link to comment Share on other sites More sharing options...
MaybeMe Posted January 3, 2015 Author Share Posted January 3, 2015 to make it transparent (invisable) you can apply the invisable material to the CSG box that is your death trigger. That material is in the Materials/effects folder and can be assigned by the scene view tab under appearance. I hope I have answered your question. Materiels folder, Effects, Invisible.mat Just drag it onto your trigger box, that will make it transparent. Ah, I knew I should have chosen a different word. What I mean't to say was how do I make the box itself able to go through? The character dies on impact and respawns, but doesn't pass through like it's supposed to. Sorry for the misunderstanding. Quote Link to comment Share on other sites More sharing options...
MaybeMe Posted January 3, 2015 Author Share Posted January 3, 2015 FIXED Seems to have fixed itself after restarting a couple times. Thanks guys! Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted January 3, 2015 Share Posted January 3, 2015 Did you move your death trigger closer to the player? I found that if the player falls a long way before hitting the trigger he will die on respawning. Quote Link to comment Share on other sites More sharing options...
MaybeMe Posted January 3, 2015 Author Share Posted January 3, 2015 Did you move your death trigger closer to the player? I found that if the player falls a long way before hitting the trigger he will die on respawning. This is what I ran into. I figured that is not supposed to happen. It's not really fixed at all, I just thought it was since I rebuilt the trigger and script hoping it would solve it, and in doing so I moved it up so the player wouldn't die from the fall impact. The way I viewed the video was that you could have it as far down as you wanted and it would still respawn the player, instead I recieve the death animation as though the player died from fall damage, when the death trigger has no collision mesh when it's set to "Trigger" and as far as I know it wasn't supposed to kill the player character. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.