Half-Life: Opposing Force

Half-Life: Opposing Force

Contra_Mundum 2019 年 7 月 12 日 上午 11:58
Give item commands not working.
I was playing Half-Life: Opposing Force, and the give item commands didn't work for some reason; so, I looked at some other discussions for help and one comment said, to try typing in restart into the console so, i tried that but when I typed in a give item command after restarting it sent me back to the main menu screen. I seriously don't know what's going on and I need help.
< >
正在显示第 1 - 15 条,共 24 条留言
SURVIVOR-DUP 2019 年 7 月 12 日 下午 12:58 
What item do you need?
Contra_Mundum 2019 年 7 月 12 日 下午 8:57 
A Healthkit. But ever since I typed "restart" into the console the game sends me back to the main menu when I type in give item_(insert random item name).

What item do you need?
最后由 Contra_Mundum 编辑于; 2019 年 7 月 12 日 下午 8:57
SURVIVOR-DUP 2019 年 7 月 13 日 上午 3:20 
引用自 Contra_Mundum
A Healthkit. But ever since I typed "restart" into the console the game sends me back to the main menu when I type in give item_(insert random item name).

What item do you need?
Have you tried doing it again? I believe the entity name is
give item_medkit
Contra_Mundum 2019 年 7 月 13 日 下午 1:14 
I did type in "give item_medkit" but because I typed in the command "restart" I get sent back to the menu screen every time I type in "give item_medkit".
Duck Twacy 2019 年 7 月 13 日 下午 8:08 
I didn't know you could give stuff in OpFor.
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 13 日 下午 8:26 
You need to first load a map containing a medkit. Try starting a new game and then reloading your previous (original) save.

If that doesn't resolve the give command, continue the new game until you find a medkit and then load your previous (original) save.
Contra_Mundum 2019 年 7 月 14 日 下午 5:36 
I forgot to mention, when I use the give command for any other item they don't show up.

引用自 🌐ᴢᴈᴇᴇᴋ
You need to first load a map containing a medkit. Try starting a new game and then reloading your previous (original) save.

If that doesn't resolve the give command, continue the new game until you find a medkit and then load your previous (original) save.
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 14 日 下午 5:47 
You need to have your suit equipped, try 'give item_suit'.

If your suit is equipped then you likely have not opened a map containing the item/weapon during that session.
最后由 🌐ᴢᴈᴇᴇᴋ 编辑于; 2019 年 7 月 14 日 下午 6:00
Contra_Mundum 2019 年 7 月 16 日 下午 1:22 
引用自 🌐ᴢᴈᴇᴇᴋ
You need to have your suit equipped, try 'give item_suit'.

If your suit is equipped then you likely have not opened a map containing the item/weapon during that session.

I typed in "give item_suit". Nothing happened. I told you, none of the give item commands work and I don't see how a map with the item I want in it will help my situation. I should also mention impulse 101 doesn't work either.
最后由 Contra_Mundum 编辑于; 2019 年 7 月 16 日 下午 1:29
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 16 日 下午 7:38 
The server variable sv_cheats must be enabled in order to use the commands give or impulse.
  1. Type in console: sv_cheats "1"
  2. Reload the map or your game save for the change to take effect.
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 16 日 下午 7:39 
A related thread for Half-Life can be found below.
https://steamcommunity.com/app/70/discussions/0/1646544244469411291/
Contra_Mundum 2019 年 7 月 17 日 上午 11:58 
引用自 🌐ᴢᴈᴇᴇᴋ
The server variable sv_cheats must be enabled in order to use the commands give or impulse.
  1. Type in console: sv_cheats "1"
  2. Reload the map or your game save for the change to take effect.

I already tried reloading the map. That didn't work either.
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 17 日 下午 9:12 
Use the console command: give item_healthkit
Contra_Mundum 2019 年 7 月 18 日 上午 11:51 
引用自 🌐ᴢᴈᴇᴇᴋ
Use the console command: give item_healthkit
I tried that already also, still didn’t work.
🌐ᴢᴈᴇᴇᴋ 2019 年 7 月 18 日 下午 3:14 
Start a new game on any difficulty and type the following command in console:
sv_cheats 1;changelevel of1a1

Once of1a1 has loaded, test to see if you've preloaded the medkit asset with:
give item_healthkit

If you see medkits dropping under you (like in the screenshot below) then it's working and you can load your game save to give yourself medkits.

https://steamcommunity.com/id/z3eeK/screenshot/777352000235958168
< >
正在显示第 1 - 15 条,共 24 条留言
每页显示数: 1530 50

发帖日期: 2019 年 7 月 12 日 上午 11:58
回复数: 24