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] - Quest Bonus Objectives.  (Read 1159 times)

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
[QUESTION] - Quest Bonus Objectives.
« on: July 08, 2015, 06:44:24 pm »
Greetings,

I have a question,

What may actually handle the quest objectives? I'm looking to add a new feature to quests (working on a 3.3.5). I'm looking to add Bonus Objectives on quests. For example, there's the Objective form and I'm looking to add Bonus Objective - and with that I'm looking to add Bonus Rewards too. For example, you can complete the quest even if you didn't have the bonus objective completed, but if you have it, you might also get the bonus reward.

I'm quite new into modifying interface and others and that's why I'm asking.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

bizzlesnaff

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 124
    • View Profile
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #1 on: July 09, 2015, 01:56:21 am »
So...like the quest system in SWTOR?
You could add everyone who accept quest A quest B, and if quest A is finished before quest B is, quest B will be removed..thats not...a nice solution, but maybe it help..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #2 on: July 09, 2015, 06:20:45 pm »
Posting from phone - this is entirely feasible in a single quest. Trinity you can already specify that an objective is optional.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #3 on: July 09, 2015, 06:47:57 pm »
How?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #4 on: July 09, 2015, 07:09:18 pm »
Quote from: "Krang Stonehoof"
How?

Method column already supports bypassing of objectives, need to change the behaviour to allow bypassing of some objectives instead of all objectives.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #5 on: July 09, 2015, 07:17:29 pm »
And is it possible to make a new column like Bonus Objective? It will be strange to let them like simple objectives, players won't make the difference between bonus ones and simple ones.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Rochet2

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 59
    • View Profile
    • http://rochet2.github.io/
Re: [QUESTION] - Quest Bonus Objectives.
« Reply #6 on: July 09, 2015, 07:36:02 pm »
All the quest handling like how many objectives and when the quest is complete and what are the requirements to complete the quest and so on are decided by the core.
You just alter the system like stoneharry said.
Assuming the method isnt some flag for the client to bypass requirements ..
If it is, there is a chance that the client only is able to require all requirements or none.

The client probably has a limit for objectives, hence there are only so many fields in the database by default.
You should make some way to identify if an objective is optional by some extra column that is possibly boolean (1, 0) or similar.
Making whole new columns for bonus objectives all together might need more work and you might hit the max amount of objectives cap.
(not that I checked for any caps)

You can already name the objectives, so just adding the "(optional)" part to the end of the name is probably enough.

Think about what there is and what in it you can edit to make it work differently.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »