INFO: Left 4 Dead Missing Functions
I just thought I would throw this thread up as I have been doing a lot of Left 4 Dead plugins over the last few days for various people, and some of them I have had to either completely turn down, or do their request in an alternate, not so appealing manner.
Whats different? Round Restarts: There is no server cvar to restart the game round like in past valve games. There is a cvar called "restart" that is supposed to restart the round, but it does not work. Me and Tsunami found the voffset for a round restart function, and made an SDKCall to it and it works, but seems a bit buggy. (Only 1 health pack spawned, screen went black for 15 seconds, etc). I will post this function up shortly as its the only working method of restarting the round at the moment. Download Tables: A fairly easy job was requested, and they had to be turned down due to this very major change. Me and Tsunami both attempted multiple methods, and it appears that there are no download tables for L4D, thus you cannot give any custom content to players. I am assuming this is because they took out the server connect box that every other game of theirs has had, so the client would not know what they are downloading. I am also assuming this is because they wanted to prevent heavily modified custom servers, but I do not really know. Theres a few more missing features, but I am still testing them at the moment to see if there are any work arounds. I will keep this thread updated with more stuff that I find. I welcome additions as well. |
Re: INFO: Left 4 Dead Features
They might want to keep the skins like they are and decided to block custom files. I wonder how would peoples download custom maps if it's disabled? L4D will fall if it stays... (I'm closing my server next month)
|
Re: INFO: Left 4 Dead Features
With the SDK comes a bunch of the custom maps stuff, including some tutorials and writeups from valve on mapping especially for Left 4 Dead. However, at the moment, im not even sure if a custom map would download.
|
Re: INFO: Left 4 Dead Missing Functions
Custom maps won't download. You just get dumped back to the menu without a message. Server just sees "disconnect by user."
|
Re: INFO: Left 4 Dead Missing Functions
I don't think valve really wanted it to be modded. Even custom maps.
|
Re: INFO: Left 4 Dead Missing Functions
Ya, I have to agree VALVe didn't want L4D modified at all.
So I do see L4D having a early demise unless VAVLe fixes their mistakes. :( |
Re: INFO: Left 4 Dead Missing Functions
Valve has already stated that they're going to release an SDK (for mappers at least).
|
Re: INFO: Left 4 Dead Missing Functions
I don't see a point for wasting time making a map while sharing it will be a pain. I also think the lobby won't send peoples to servers with custom maps.
|
Re: INFO: Left 4 Dead Missing Functions
We are assuming valve will implement an automated map download like they have in all of their other games. But yes, I assume matchmaking will only find stock maps.
|
Re: INFO: Left 4 Dead Missing Functions
Assuming they did it and that lobby won't send you to custom maps. You'll have to find out how to connect to custom servers... Atleast there's a good point at all: No newbies.
|
Re: INFO: Left 4 Dead Missing Functions
I hope Valve does not stop people from using custom maps like that. The modding community kept most of Valves game alives way beyond a normal game lifetime. Something like this would be suicide for a game like L4D, specially cause the campaign is so short.
|
Re: INFO: Left 4 Dead Missing Functions
Quote:
As a player, I am already seeing issues where servers have been modified and don't produce the expected game play. |
Re: INFO: Left 4 Dead Missing Functions
I wonder. If we can't add custom stuffs to download why there's a "Allow custom content" at multiplayer settings?
|
Re: INFO: Left 4 Dead Missing Functions
Because it's a planned feature. Currently all it allows you to download are client sprays, but there doesn't need to be a loading screen and such for that.
|
Re: INFO: Left 4 Dead Missing Functions
crimson we found out that if people dont pick up the health packs at the beginning they are there after restart if that helps.
|
Re: INFO: Left 4 Dead Missing Functions
Quote:
When it restart it's like the previous match didn't happen. |
Re: INFO: Left 4 Dead Missing Functions
No, unfortunately it's not. When you pick up a health pack and then restart the round, the health pack is gone. Also the infected will have to wait 20 seconds to respawn after round restart, instead of being able to instantly spawn like on map start. This is stuff L4D messes up on, so it's difficult to fix it.
|
Re: INFO: Left 4 Dead Missing Functions
If you call Director::RestartScenario() it works like you want. But, you can't currently make that call from a SM plugin. You need an extension.
|
Re: INFO: Left 4 Dead Missing Functions
Why is that? Is there no signature for it?
|
Re: INFO: Left 4 Dead Missing Functions
You can't make arbitrary non-static calls in a SM plugin. The class whose member you call has to either be an entity (and SM will figure out a pointer to the CBasePlayer/CBaseEntity instance you want from the entity index) or one of the hardcoded ones SM knows (CGameRules and CGlobalEntityList). The director object falls under neither, so right now you need an extension to find a pointer to it yourself. (See https://bugs.alliedmods.net/show_bug.cgi?id=3520)
|
| All times are GMT -4. The time now is 18:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.