StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
150 stars 3 forks source link

Bug: RPG laser behavior isn't similar to Half Life 2 if skill is 1 #1316

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

In P2CE when player look at target - laser locks on target, it unlocks if target too far from screen center. In Half Life 2 RPG laser always in screen center, it does not depend on level of difficulty. It's something from NPCs code maybe, because if NPCs use RPG - their laser locks on target if they defined it. It's problem, because RPG rockets often miss the mark.

P2CE.

https://user-images.githubusercontent.com/103366204/236666025-913ed6a9-6899-45ef-943e-d51603e985d8.mp4

This is example in d3_c17_13.

https://user-images.githubusercontent.com/103366204/236666182-f803f929-6454-4a60-8e40-068418650ea1.mp4

Half Life 2.

https://user-images.githubusercontent.com/103366204/236666302-44e766cb-5816-4fe8-8b15-611c464a5fc8.mp4

Issue Map

Any.

To Reproduce

  1. Open any map.
  2. Enter in console give weapon_rpg.
  3. Enter in console use weapon_rpg.
  4. Enter in console ent_create npc_zombie (or any other).
  5. Pay attention to laser behavior.

Operating System

Any.

craftablescience commented 1 year ago

have you checked if this is just a skill setting

MyGamepedia commented 1 year ago

have you checked if this is just a skill setting

Well, if skill 3 - it's similar to Half Life 2. But it's ONLY for P2CE. If someone added it on purpose - should be cvar that control it.