HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

MPQ and Custom Models, question

05-25-2009, 06:45 PM#1
Michael Peppers
Ok, simply I'm moving all of the custom resources my map is using to a custom MPQ.

Just to keep it tidy I'd want to use the standard that Blizzard used in his MPQs, but this forces me to modify the texture paths of the models.

The question is: Can I do that or that is considered a modification? Do I need author's permission to do that?
05-25-2009, 07:02 PM#2
Alevice
i really dont think it should be an issue, so long as you dont modify anything else when it comes to presentation.
05-25-2009, 08:20 PM#3
Michael Peppers
K, thanks, then let's jump to the second part of the problem: how can I assign a custom mpq to my map? (I really don't want to make it overwrite an existing one... that's not professional :D)

Whoever answers this question gets a cookie!

EDIT: Problem solved. Levi gets the cookie!
05-26-2009, 11:22 AM#4
Michael Peppers
Sorry for double-posting, but this is a problem: apparently, if I use a self-executing mpq made with MPQDraft (v2008.8.21.1) the upgrade costs of the custom Town Halls get screwed (no lumber and negative gold costs, to be more precise), ideas? (Note: I'm testing it with v1.21b)

Surely, I've done a workaround with the Object Editor for this issue, but I ask for a more decent solution

Note: If I start the game normally there are no problems...

EDIT: And... AI files don't start if they are in the mpq
06-01-2009, 08:35 PM#5
Kyrbi0
This is exactly the sort of thread I need. :P Just out of curiousity, what did Alevice figure out for you?

Also, what's so bad about having people replace their reqular MPQs? It's an annoying extra step, but as long as they have a backup it's fine. :<
06-01-2009, 08:41 PM#6
Michael Peppers
Quote:
Originally Posted by Kyrbi0
This is exactly the sort of thread I need. :P Just out of curiousity, what did Alevice figure out for you?

Explained me how does MPQDraft work exactly.

Quote:
Originally Posted by Kyrbi0
Also, what's so bad about having people replace their reqular MPQs? It's an annoying extra step, but as long as they have a backup it's fine. :<

Let's see it this way... an SEMPQ is more "professional" xD

(since it lets you avoid the extra step)
06-01-2009, 09:01 PM#7
Kyrbi0
Oh, so basically just what you showed me? You choose the custom MPQ that the SEMPQ uses, and the game, and it creates the SEMPQ. Then when you double-click that, as long as you have the MPQ and that game, it loads it up with that MPQ "inside"??
06-01-2009, 09:10 PM#8
Michael Peppers
Yes, just that. :)
06-01-2009, 09:17 PM#9
moyack
Quote:
Originally Posted by Michael Peppers
Sorry for double-posting, but this is a problem: apparently, if I use a self-executing mpq made with MPQDraft (v2008.8.21.1) the upgrade costs of the custom Town Halls get screwed (no lumber and negative gold costs, to be more precise), ideas? (Note: I'm testing it with v1.21b)
The gold/lumber cost of the upgraded building must be set as the cost of the original building + cost of the upgrade.

Example:

Town hall cost: 325 gold / 150 lumber <= set in object editor
Keep cost: 750 gold / 250 lumber <= set in object editor

Cost of the upgrade: 425 gold / 100 lumber

For everything else... Visa.
06-01-2009, 09:26 PM#10
Kyrbi0
^Hey, thanks. That's probably exactly what went wrong with my Goblin mini-race for the contest; you could use the Construction Yard that could upgrade into a variety of other structures; but since I didn't change the costs correctly, it gave negative lumber. Neat.
06-01-2009, 09:43 PM#11
Michael Peppers
Quote:
Originally Posted by moyack
The gold/lumber cost of the upgraded building must be set as the cost of the original building + cost of the upgrade.

Example:

Town hall cost: 325 gold / 150 lumber <= set in object editor
Keep cost: 750 gold / 250 lumber <= set in object editor

Cost of the upgrade: 425 gold / 100 lumber

For everything else... Visa.

Yes. The only thing that confuses me is... it worked normally before... :S

However, thanks for answering, I solved this problem some days ago, but this doesn't mean I don't appreciate your contribution.