No More Room in Hell

No More Room in Hell

NMRiH WANTS YOU
Download and play new maps and browse other modifications created by the community. Follow your favorite authors and be sure to rate their work. Interested in making content for NMRiH?
Learn More
seraph 2 13 Oct, 2020 @ 10:06pm
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.
< >
Showing 1-5 of 5 comments
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 14 Oct, 2020 @ 3:19am 
Originally posted by |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 14 Oct, 2020 @ 3:28pm 
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. ^^
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
Last edited by |NMRiH Dev| Atheist; 15 Oct, 2020 @ 11:53pm
seraph 2 16 Oct, 2020 @ 3:05am 
Originally posted by |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!
< >
Showing 1-5 of 5 comments
Per page: 1530 50