| 04-09-2007, 05:44 AM | #1 |
Ok so I've seen many ways of adding a new resource, none of which I like. I set out to add Oil to my map, in addition to gold, lumber and food. Now, here is what I have been attempting to do. I replaced the upkeep image with an Oil image in the UI. This is the easy part. The problem comes in creating a new kind of mine that instead releases oil. I already have a Oil patch model and the whole in game system worked out, but I need some sort of script or trigger that places the number for the resource in the upkeep box and does not add it to the gold, lumber or food box. Any ideas? |
| 04-09-2007, 06:21 AM | #2 |
Wait, you're using food and oil at the same time? How? I would assume it would require 1 or the other. |
| 04-09-2007, 06:23 AM | #3 |
No, currently all I have done is made the 4th box in the UI be for Oil instead of Upkeep. In addition, I have made a custom "Gold Mine" that uses an imported model and is placed in shallow water. |
| 04-09-2007, 08:41 AM | #4 |
Um... how will you change the value, text of upkeep, you cant really. |
| 04-09-2007, 09:16 AM | #5 |
you could place dummy units somewhere on the map which need 1 upkeep each ...so you could increase the upkeep ..to decrease it remove some of them .. |
| 04-09-2007, 09:22 AM | #6 |
=/ My solution would be to use Real variables so that you could place events based on them. |
| 04-09-2007, 02:30 PM | #7 |
Well there must be some way to remove the word upkeep from the 4th box. |
| 04-09-2007, 02:45 PM | #8 |
Modify the Interface with "Advanced > Game Interface" (or something like that) and then check, "Use Custom Settings" and look for the Upkeep field. To display the number up there, you could try using a text message, some type of multiboard, floating text, or the like. |
| 04-09-2007, 03:07 PM | #9 |
Strategy Master had that issue with the oil resource for its project Warcraft 2: second generation. As far as I remember, he add a multiboard with the oil acquired. Doing that is not complicated, but making a race dependable of that resource is something quite difficult. |
| 04-09-2007, 06:16 PM | #10 |
Multiboard would seem better imo... cuz you can close it also if its an annoyance. |
| 04-09-2007, 10:35 PM | #11 |
Get units as max food and oil is how much but it will be complicated -Av3n |
