Wouldn't this topic fit better in "released assets" ? Granted, there's a demo map with this but the source is the most important thing right?
Anyway what exactly is "forced spawning"?
Game Mode: Deathmatch (dm) (Unstable in MP)
Moderator: Moderators
-
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
- [RDH]Zerted
- Gametoast Staff
- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Game Mode: Deathmatch (dm) (Unstable in MP)
I'm not sure what to do with this and the new released assets area. But you make a good argument for moving it over there. However, as its broken in MP, I'll just let if be for now.
'Forced spawning' is what I call having the lua script manually spawn players using SpawnCharacter(). If I get it working in Deathmatch, as soon as you are killed, you would respawn. No waiting for 15 seconds.
'Forced spawning' is what I call having the lua script manually spawn players using SpawnCharacter(). If I get it working in Deathmatch, as soon as you are killed, you would respawn. No waiting for 15 seconds.
- Locutus
- 1st Lieutenant
- Posts: 420
- Joined: Fri Jun 04, 2010 10:08 am
- Projects :: Stargate Battlefront Pegasus
- Location: Germany
- Contact:
Re: Game Mode: Deathmatch (dm) (Unstable in MP)
I hope this bump is allowed...
I'm fairly sure that SetProperty(unit, "Team", self.deathmatchTeam) is causing the issue (the game crashes for all clients) but I wouldn't know how to do this differently.
Has anyone ever attempted to fix this or got a stable workaround?[RDH]Zerted wrote:Important
-This game mode appears to be unstable in MP. A fix is being worked on... Well, not really any more. If you really want the mode fixed, email me/PM me/post here and I make another attempt at it.
I'm fairly sure that SetProperty(unit, "Team", self.deathmatchTeam) is causing the issue (the game crashes for all clients) but I wouldn't know how to do this differently.
- [RDH]Zerted
- Gametoast Staff
- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Game Mode: Deathmatch (dm) (Unstable in MP)
Sorry I don't remember. However some Fake Console commands use that so it's probably not directly the issue (but it could be related to it). You can find a bunch of Deathmatch source code from this page: http://zerted.getmyip.com/swbf2.xhtml
I do remember almost always needing to do these two things together:
I do remember almost always needing to do these two things together:
Code: Select all
SetProperty(unit, "Team", self.deathmatchTeam)
SetProperty(unit, "PerceivedTeam", self.deathmatchTeam)