| 11-22-2002, 09:07 AM | #1 |
Guest | I've got a merchant in my map, but he haven't got a house, so how will i be able to make him sell items? I tried through dialogue, and it would work, but how can i make it, so if a player hasn't got enough money, he won't get the item? |
| 11-22-2002, 09:15 AM | #2 |
My solution to this is painfully simple: Create a goblin merchant custom unit using the model of the unit that's supposed to sell the items. Basically you'll have a Goblin Merchant that looks like a person. the Enhanced Editors can let you do things like that. -Insaniteus- |
| 11-22-2002, 09:24 AM | #3 |
Guest | Ok, tried that, but it just doesnt fit with the overall function of the unit. I basically just need a condition that says something like "Triggering players's current gold is above XXXX" |
| 11-22-2002, 09:27 AM | #4 |
just have an if statement in your actions. if the players gold isnt high enough, remove the item |
| 11-22-2002, 09:31 AM | #5 |
Guest | You know, when put a building in your map, the ground below will look like tiles and grass? I need to remove that from my custom-goblin merchant, but how? |
| 11-22-2002, 09:50 AM | #6 |
i think its the pathing map ? or could be the ubersplat, but i have no idea how to change the second one |
| 11-22-2002, 09:51 AM | #7 |
Guest | Besides, i can only make the custom-goblin merhcant look straight south |
| 11-22-2002, 09:54 AM | #8 |
Guest | Perhabs this goblin-merch thing isn't a such good idea after all =( |
| 11-22-2002, 01:41 PM | #9 |
Hey Dude if you are interested, I could do that dialog thing for you. Then after I am done you can look it over so you got it. Well Holler if you are interested. Just finished putting a Shop Dialog into EveKnights Map so coo. |
| 11-24-2002, 02:42 AM | #10 |
Getting rid of the tile crap on the bottom is easy: Instead of basing the merchant off a goblin merchant, base it off a ward. Selling items will still work as long as you give it the hero select ability, and that crap won't appear. Nice eh? ;) |
| 11-24-2002, 03:15 AM | #11 |
Guest | You could also change the unit meta data so that heroes have the items sold field. Or regular units. |
| 11-24-2002, 06:27 AM | #12 |
oh my.. I did this selling dialog for quests open rpg a while ago. If you want i can send the map to u. The trigger works for all players. It fires when u get in a region that is around the merchant unit. It stops the unit and opens a dialog. Simple - Click on the dialog button and it checks the player gold and if ther is enough it subtracts the amount the item costs or whatever service was asked for. Then the player variable is cleared and a new player can go to use the merchant. |
| 11-24-2002, 06:37 AM | #13 |
Guest | Does it have to be dialogue? Cant you just play around in the Unit Editor and change the models of shops around or create a custom unit which is the merchant and have the Select Hero ability? |
| 11-24-2002, 08:12 AM | #14 |
Guest | No, because u can't rotate buidlings, so it'll always look south =( Danmage1, yes, that would be nice! My email is in my sig! Dataangel: But can i rotate wards? |
