Is there a command to demote the portal gun? [solved]
Quote from Goldenknighttim on September 4, 2013, 6:03 pmNot everyone can create maps in hammer that quickely. On average, I have found myself spending about 30 hours on each of my maps(I'm not proficient with hammer yet). What I really enjoy is creating custom mechanics, and creating a map based on those custom mechanics. If I create the mechanic, and mod it into the pti, that cuts my time down significantly. So it is worth it when I am shorter on time.
That said, I don't like giving up. I know by now that the portal gun cannot be demoted with a command. The method Felix suggested,(and that has been repeated several times) is a good idea for getting that done, but this glitch with the portals respawning is getting in the way. I will not give in and let the glitch ruin my maps, or keep me from trying to be creative. I am trying to find a way around it. I am trying to ask for help with getting around this glitch. Even while I ask, I'm looking into it myself.(when I'm not buisy with schoolwork.) If you tell me its impossible, Ill still keep looking and experimenting untill I know why it is impossible(If it really is impossible). I believe I have narrowed down that it is not a script. (I have been thinking it is a script creating the problem for a while) There are only so many more things it could be. Please don't try to discourage me.
Not everyone can create maps in hammer that quickely. On average, I have found myself spending about 30 hours on each of my maps(I'm not proficient with hammer yet). What I really enjoy is creating custom mechanics, and creating a map based on those custom mechanics. If I create the mechanic, and mod it into the pti, that cuts my time down significantly. So it is worth it when I am shorter on time.
That said, I don't like giving up. I know by now that the portal gun cannot be demoted with a command. The method Felix suggested,(and that has been repeated several times) is a good idea for getting that done, but this glitch with the portals respawning is getting in the way. I will not give in and let the glitch ruin my maps, or keep me from trying to be creative. I am trying to find a way around it. I am trying to ask for help with getting around this glitch. Even while I ask, I'm looking into it myself.(when I'm not buisy with schoolwork.) If you tell me its impossible, Ill still keep looking and experimenting untill I know why it is impossible(If it really is impossible). I believe I have narrowed down that it is not a script. (I have been thinking it is a script creating the problem for a while) There are only so many more things it could be. Please don't try to discourage me.
Quote from Goldenknighttim on September 5, 2013, 11:50 amOk, I've been insisting something that I have found after some more testing to be untrue. First of all, the problem I am having is not pti specific. I tested jozepezdj's map, after testing my own hammer map, and I have found that the portal gun is respawning on hammer maps aswell. The misunderstanding came from the fact that in the hammer map I was testing with, I forgot to add a weapon strip trigger around the gun I was testing. The problem I am having is still there, Its just not a problem with the pti. When I tested jozepezdj's map, I noticed that after dropping in the liquid, the dreaded gun with unwanted settings still spawned under the spawning point. So I guess the only progress I've made so far is that I'm not barking up the wrong tree anymore. Now I'm going to look into why this is a problem on my copy of the game, my friend's copy of the game, and not yours. If anyone could take a closer look and try to find what I'm talking about that would be awesome. Untill I find why this is happening to some people and not others, I have an idea of how to get around the problem I am having. If it works, ill post again letting you know.
Ok, I've been insisting something that I have found after some more testing to be untrue. First of all, the problem I am having is not pti specific. I tested jozepezdj's map, after testing my own hammer map, and I have found that the portal gun is respawning on hammer maps aswell. The misunderstanding came from the fact that in the hammer map I was testing with, I forgot to add a weapon strip trigger around the gun I was testing. The problem I am having is still there, Its just not a problem with the pti. When I tested jozepezdj's map, I noticed that after dropping in the liquid, the dreaded gun with unwanted settings still spawned under the spawning point. So I guess the only progress I've made so far is that I'm not barking up the wrong tree anymore. Now I'm going to look into why this is a problem on my copy of the game, my friend's copy of the game, and not yours. If anyone could take a closer look and try to find what I'm talking about that would be awesome. Untill I find why this is happening to some people and not others, I have an idea of how to get around the problem I am having. If it works, ill post again letting you know.

Quote from josepezdj on September 5, 2013, 11:59 amI don't think there's any problem with your files or your friends'... it's just that when you die, a new and fully working gun is given to you, that's all... In that map I showed you how to get rid of that not-desired gun and then give your desired gun to any player... But this can only be made in hammer I guess, due to Ben's reply about the topic
I don't think there's any problem with your files or your friends'... it's just that when you die, a new and fully working gun is given to you, that's all... In that map I showed you how to get rid of that not-desired gun and then give your desired gun to any player... But this can only be made in hammer I guess, due to Ben's reply about the topic
Quote from Goldenknighttim on September 5, 2013, 2:18 pmBen said himself that he skimmed through the thread. I don't think he was completely fallowing what we're talking about. I'm going to try attaching the vmf I have been using to test. This will make it clear to you what glitch I am talking about(if it is a problem with everyone coppy of portal 2, which I'm not really convinced of anymore), because it is obvious that your still thinking that I'm refering to the gun that is given to you when you die. This vmf was originally made by chicken mobal, but I have been using it to test many other things. Walk up to the gun, back off, walk up to it again, this will stip your weapon by killing it, then back off agian and wait about 30 seconds. When the new gun pops up, pick it up, and you will see the unwanted settings I am referring to.
As I had just said, I found that the problem I have been having seams to have nothing to do with the pti.
Ben said himself that he skimmed through the thread. I don't think he was completely fallowing what we're talking about. I'm going to try attaching the vmf I have been using to test. This will make it clear to you what glitch I am talking about(if it is a problem with everyone coppy of portal 2, which I'm not really convinced of anymore), because it is obvious that your still thinking that I'm refering to the gun that is given to you when you die. This vmf was originally made by chicken mobal, but I have been using it to test many other things. Walk up to the gun, back off, walk up to it again, this will stip your weapon by killing it, then back off agian and wait about 30 seconds. When the new gun pops up, pick it up, and you will see the unwanted settings I am referring to.
As I had just said, I found that the problem I have been having seams to have nothing to do with the pti.
Quote from Goldenknighttim on September 5, 2013, 4:01 pmThe next thing I tried didn't work. I figured that I might be able to put a world portal in my pit, and allow the unwanted portal guns to fall into a room that would be too far away from the entrance to conflict with the pti. Unfortunatly, portal guns don't go through world portals. What I tried after that is I removed the bottom of the pit altogether, and widened the mouth of the pit. The portal guns are now pileing up in an area that is unaccessable to the player without the use of noclip, and is too big to pile up and reach the player without dieing way more than what anyone would have the patiants for. The pti forms a cage around the starting area, which is nice because it creates a perfect dumping spot for the unwanted portal guns. Now I need to find a way to stop the portal on the pedistal from comming back. What I plan on trying for that is to have some func_move_linears come up from the block underneath, and I completely expect that to work. If I don't ask for more help on this, then it worked. Thanks for the help, and if anyone finds an explination on why some people see the glitch and others don't, or if anyone finds how to prevent the glitch, then please let me know.
The next thing I tried didn't work. I figured that I might be able to put a world portal in my pit, and allow the unwanted portal guns to fall into a room that would be too far away from the entrance to conflict with the pti. Unfortunatly, portal guns don't go through world portals. What I tried after that is I removed the bottom of the pit altogether, and widened the mouth of the pit. The portal guns are now pileing up in an area that is unaccessable to the player without the use of noclip, and is too big to pile up and reach the player without dieing way more than what anyone would have the patiants for. The pti forms a cage around the starting area, which is nice because it creates a perfect dumping spot for the unwanted portal guns. Now I need to find a way to stop the portal on the pedistal from comming back. What I plan on trying for that is to have some func_move_linears come up from the block underneath, and I completely expect that to work. If I don't ask for more help on this, then it worked. Thanks for the help, and if anyone finds an explination on why some people see the glitch and others don't, or if anyone finds how to prevent the glitch, then please let me know.

Quote from BenVlodgi on September 5, 2013, 7:31 pmif portal guns are being given to you on spawn.. there is logic in the backgroud doing that... could be in hammer or from the transition scripts
if portal guns are being given to you on spawn.. there is logic in the backgroud doing that... could be in hammer or from the transition scripts
Quote from Goldenknighttim on September 6, 2013, 10:58 amThe ones being given on spawn are not the problem. I can easily strip those. The problem is the other portal guns That I place down myself. They are respawning, but not with the settings of the originals. I've found a neat way of hiding them, and after more testing that should have been necessary, I found that scripts are not what are making them respawn. Its just something that portal 2 seems to do for coop maps so that if a player dies, they can pick up another portal gun that can only shoot one portal.(Because with the original game mechanics, there is no reason for the player to need any other settings) At least thats my take on why this is happening. I'm not sure. Now that I have a good way of hiding this problem, I'm no longer driven to finding how to prevent it. However, Ill keep my eyes open for a way, and if anyone knows where the problem actually is, and lets me know, Ill look into making a cleaner way of presenting coop mechanics that involve no-portal portalguns. Until then, thanks for the help. I've already made a map with this mechanic, and this weekend, I plan on using the fix to clean up an older mod/mechanic.
The ones being given on spawn are not the problem. I can easily strip those. The problem is the other portal guns That I place down myself. They are respawning, but not with the settings of the originals. I've found a neat way of hiding them, and after more testing that should have been necessary, I found that scripts are not what are making them respawn. Its just something that portal 2 seems to do for coop maps so that if a player dies, they can pick up another portal gun that can only shoot one portal.(Because with the original game mechanics, there is no reason for the player to need any other settings) At least thats my take on why this is happening. I'm not sure. Now that I have a good way of hiding this problem, I'm no longer driven to finding how to prevent it. However, Ill keep my eyes open for a way, and if anyone knows where the problem actually is, and lets me know, Ill look into making a cleaner way of presenting coop mechanics that involve no-portal portalguns. Until then, thanks for the help. I've already made a map with this mechanic, and this weekend, I plan on using the fix to clean up an older mod/mechanic.