• Announcements

    • Brentonator

      Forum Rules (Please Read)

      Hello everyone and welcome to the No More Room In Hell Forums! We greatly appreciate your interest and support. Please feel free to begin post and become a part of this community. But please make sure that you read and understand the following rules so things can stay as clean and as orderly as possible around here. These rules are expected to be follow by any and all members at all times. Disobeying these rules will result in disciplinary action by a moderator. #1. Off color remarks are acceptable but can be deemed inappropriate at the discretion of the moderators. #2. Flaming and disrespecting other members of this community or this mod is strictly prohibited. #3. Please do not post links relating to warez or illegal downloading. #4. No offensive content is to be posted (gore, dead babies, porn). #5. Please do not spam topics to increase your post count. #6. No excessively large signatures. Signatures that violate this will be modified. #7. Signatures are not to be used as a spamming tool. If your signature's sole purpose is to annoy or distract other members, it will be removed. #8. Please do your part to be as friendly, respectful, and helpful to anyone and everyone on this forum. #9. Your posts may be removed at any time at our sole discretion. #10. Remember the terms of your registration...a copy is posted below but may not represent the latest version of our terms of use. #11. No advertising other communities or products. Have fun.
Sign in to follow this  
Followers 0
VaTTeRGeR

changelevel command

4 posts in this topic

Hi,

Im currently making a city-style map with two parts, city/mall and hotel.

Because i don't want to have both in one mapfile im splitting the whole thing in:

1. City with mall and streets and stuff

2. Big hotel interior

To change from city to hotel i use the

changelevel "mapname"

console command executed with the point_servercommand entity.

It works on my local server, my questions are: do the usual dedicated servers support this?

Are there any restrictions with the point_servercommand entity?

Would there be a way to keep weapons and player-status like dead/living/health?

#Greets

Share this post


Link to post
Share on other sites

That sounds like a rad idea, sort of like a l4d campaign type of thing. If you don't get any good answers, in the loading screen for the 2nd map you could explain the survivors holding up in the hotel, or wherever you left off in the first level for an extended period of time. Just a thought as to an explanation why players wouldnt have any items in the 2nd part of your 'saga' haha

Share this post


Link to post
Share on other sites

Hi,

Im currently making a city-style map with two parts, city/mall and hotel.

Because i don't want to have both in one mapfile im splitting the whole thing in:

1. City with mall and streets and stuff

2. Big hotel interior

Having a much smoother built in transition would be nice for the developers to add. However, this is the best you can do (except suggest it in the right board).

To change from city to hotel i use the

console command executed with the point_servercommand entity.

It works on my local server, my questions are: do the usual dedicated servers support this?

Are there any restrictions with the point_servercommand entity?

Would there be a way to keep weapons and player-status like dead/living/health?

#Greets

In CS:S, a lot of custom maps used this entity to print things to the player. Kind of got annoying.

Basically it's very much like having direct access to the console, so use it wisely.

The only way you could keep health, ammo, and those other things is to teleport the players to another part of the map. This defeats the objective of splitting them into separate map files.

Share this post


Link to post
Share on other sites

It's not gonna work. Look at half-life 2 coop mods. You could however teleport the players, as mentioned before. I mean if you giving the command to changelevel, then that is all you are doing (changing the level).

Just focus on one level, and make it good. Good luck.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0