No More Room in Hell

No More Room in Hell

《地狱已满》需要你
下载并且游玩全新地图,或者浏览其它由社区制作的模组。关注你最喜欢的作者,并且为他们的作品点赞。有兴趣为《地狱已满》制作模组吗?
了解更多
seraph 2 2020 年 10 月 13 日 下午 10:06
NMRiH - Mapping: game_player_equip
Just curious if there is a way to actually give the player an item (eg. Flashlight) on game start. I am making a Survival Horror Map and you start in a basement of which you will need to traverse to turn on the power which activates the lights. As such, there are no lights active on game start - hence the need for immediate access to a flashlight.

I tried creating a game_player_equip entity, unchecking SmartEdit, adding a new value "item_maglite" and setting the value to "1" (true). Upon compiling and testing my map in NMRiH however I spawned with no Flashlight.

Any help is appreciated! Hoping to make a very interesting map! :)

Thanks in advance, Ebon.
< >
正在显示第 1 - 5 条,共 5 条留言
|NMRiH Dev| Atheist 7 2020 年 10 月 14 日 上午 12:17 
I can't recall all input\output system and can't check it right now, but there is a map nmo_dimension, you can decompile it and try to check how it is done there (you get mp2fs and ammo at start immediately)
seraph 2 2020 年 10 月 14 日 上午 3:19 
引用自 |NMRiH Dev| Atheist
I can't recall all input\output system and can't check it right now, but there is a map nmo_dimension, you can decompile it and try to check how it is done there (you get mp2fs and ammo at start immediately)

Thanks man, I'll give it a look once I get home. :D
seraph 2 2020 年 10 月 14 日 下午 3:28 
Wow, just played nmo_dimension and honestly, crazy map. I see what you mean as you get a pistol added to your inventory upon entering the first Dimension etc and in the third -> you get to purchase pistol ammunition from a chalk drawing of the pistol on the wall (similar to CoD: Zombies) - I'll get to decompiling this and seeing how it is done - thank you! :D

In case you are (for some reason) interested in knowing my idea - I'm wanting to work on a more survival-horror style map which would feel similar (in a way) to Resident Evil and a few features I enjoyed from other Zombie titles but that is all created in such a way that it feels unique.

Probs wont be out for a good while - made a good few test maps to test out my abilities as a mapper and I definitely have things to improve on - but aye, hopefully you all don't mind me posting up the occasional query. ^^
|NMRiH Dev| Atheist 7 2020 年 10 月 15 日 下午 11:52 
yeah, I was wondering why do you need flashlight immediately but can't just pick it up on map start :p
also you can join https://discord.gg/nmrih , there are few mappers around there, they can help you with some questions
最后由 |NMRiH Dev| Atheist 编辑于; 2020 年 10 月 15 日 下午 11:53
seraph 2 2020 年 10 月 16 日 上午 3:05 
引用自 |NMRiH Dev| Atheist
yeah, I was wondering why do you need flashlight immediately but can't just pick it up on map start :p
also you can join https://discord.gg/nmrih , there are few mappers around there, they can help you with some questions

Thanks dude, I'll give it a look!
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50