super physcannon and game_ui crashing game? (map attached)

Avatar
CamBen
973 Posts
Posted May 07, 2012
ok, heres the problem. I made a custom super physcannon that is supposed to parent the targeted object directly to the brush (the superphyscannon). that part works fine.

  the part that messed me up, though, was when I changed it from attaching on the portalgun first fire, to the game_ui's weapon fire2 (so I could have the freezing in mid-air effect from a different gun). the new way is that on weapon 2 press, it parents the targeted object. on weapon 2 unpress, it clears the targetted item's parent.

  after setting up the old settings w/ the game_ui, it started crashing on startup. I have no clue what to do, because there are not any problems in the checker w/ alt+P.

so, here's the map if you think that will help:

Attachments
superphyscannon_notworking.vmf
0.07 MB 21 downloads
Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 07, 2012
Replied 3 hours later
Why you want to make a physcannon in portal? If the portal gun has no feature there is no point honestly.
Avatar
CamBen
973 Posts
Posted May 07, 2012
Replied 3 minutes later
the physcannon would be part of a set of gun you would have to equip and un-equip, and then re-equip a new one, depending on the test. i currently have a portalgun (un-edited), a freeze-in-midair gun, a heat ray gun, and a bomb launcher. they would each be equipped for certain parts of a test, like breaking glass and moving a static button over to a more accessible area.
Avatar
ChickenMobile
2,460 Posts
Posted May 07, 2012
Replied 8 minutes later
Sounds like a lot of work and switching around. Perhaps you would benefit from making the portalgun have different modes.
Avatar
spongylover123
944 Posts
Posted May 08, 2012
Replied 10 hours later
your map has nothing in it.
Advertisement
Registered users don’t see ads! Register now!
Avatar
CamBen
973 Posts
Posted May 08, 2012
Replied 9 minutes later
well, the setting isn't there, because otherwise it would be too confusing. i isolated the super physcannon so the problem might be easier to find.

the gun should be there.... but i'm going to have to check it later.