This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] TDM Battleground  (Read 1846 times)

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
[QUESTION] TDM Battleground
« on: February 26, 2014, 02:22:42 pm »
How hard would it be to implement team deathmatch Battlegrounds into trinity 3.3.5a i've already Made the BG
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #1 on: February 26, 2014, 02:55:31 pm »
That's an arena. Just copy a script & db entries for one of them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #2 on: February 26, 2014, 02:58:26 pm »
but with Respawning...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #3 on: February 26, 2014, 03:37:58 pm »
Quote from: "thehsvdude"
but with Respawning...
Change the respawn system for the arena/bg ? Look into the code. Find what you need, see if you understand or get help (e.g. #trinity on rizonchat. Don't expect too much though). Do not attempt such projects with mundane skills - because that's a huge piece of modification you attempt there.

That being said. It's possible. But I'd grad it hard.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #4 on: February 26, 2014, 06:10:05 pm »
deathmatch implies no respawning for me.
With respawning, this is just a normal bg, without additional scripting? Copy a bg script, remove everything objective related?

This is not hard at all, but just a copy + deletion.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #5 on: February 26, 2014, 10:08:16 pm »
Done this in the past personally and as Schlumpf said, you just copy a base script (WSG for example). Remove or comment out the objective stuff (flags). Modify the OnKill function so that when you get a kill it also adds to the team score. Can't remember if you need to modify the victory conditions outside of score limit.

As for respawning... It's a BG that already has graveyards, it already uses the basic WoW respawn system. You don't need to change anything to do with it, what were you going for with respawns that's different?

After all that, you need to modify the UI a bit, I never got round to doing that though, so you will have to figure that out more on your own.

Other than that, you need to make it so the Battleground shows up in the Battlemaster Battlegrounds list. From memory this is done with DBC and the database. Can't remember if more serverside is needed...

You may also need to make it so the script can be activated in the first place, but again I can't remember. Sorry it's been almost 2 years and I had a look on one of my storage hard drives, but can't find the script anywhere. I stop and start things a lot, so I clear files out a fair bit.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #6 on: February 27, 2014, 12:52:24 pm »
no respawning could be cool tho
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #7 on: February 27, 2014, 12:56:33 pm »
Would there be a way to implement a spectating system?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #8 on: February 27, 2014, 01:24:28 pm »
Firstly, for the love of god, please stop double posting, there is an edit button for a reason. It really helps keep the forums cleaner and makes it easier to navigate threads.

However on-topic: Depends on how you want to do it?

You could do it with cameras, but good luck with that lol. Would be a nightmare.
You could do something using vision control, as in similar to mind control spells, but without having the control. And the spectator switches between players they are viewing.

The method I would say is easiest and would recommend though, would probably be through the use of Phases. Have it so the players are in the default Phase, while the spectators are in another Phase. For examples sake (and lack of memory), we'll say the default Phase is 1 and the spectator Phase is 2. You would make it so that Phase 1 is active on players, and Phase 2 is active on spectators. Then you would make is so people in Phase 2 can see people in Phase 1, but Phase 1 people can only see people in Phase 1 and not Phase 2. Afterward you have to make it so that while in Phase 2, objects are non-intractable.

The problem with all of these is whether or not without a delay on the spectator mode, will people cheat or not? As in have a friend spectate and relay information to the enemy team.

No matter what you do, it won't be that small of a task, but these are some basic ideas to go on.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #9 on: February 27, 2014, 06:07:56 pm »
Is there a way to cast a specific spell on a player when they die in a specific battleground?  You could always make a spell that pacifies / silences once they die that gets removed at the end of the match.  I know there is a ghost spell effect in the spell system.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] TDM Battleground
« Reply #10 on: February 27, 2014, 06:22:43 pm »
Quote from: "deep6ixed"
Is there a way to cast a specific spell on a player when they die in a specific battleground?  You could always make a spell that pacifies / silences once they die that gets removed at the end of the match.  I know there is a ghost spell effect in the spell system.

Well, that's.. Arenas? All these scripts already exist!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »