HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Glarh! Help with map...

07-26-2003, 10:59 PM#1
junithorn !
My new map, Mission Hill, is an economy RPG style map, not much fighting, lots of getting rich... Anywho, long story short i need a good way for people to be able to buy buildings, any ideas?
07-26-2003, 11:01 PM#2
Pesmerga
Make the buildings units and have circles of powers next to them. When a unit steps on a circle of power, have it pop up with a dialog asking if they want to buy it. If they do, change the ownership of that building to whoever bought it.
07-26-2003, 11:02 PM#3
Jiiwan
Haha, that map looks like it would be a lot of fun to play. I think players should be able to choose some stats like bartering, and depending on there batering, personality etc it should effect how much they get the house for, and should have the ability to customize how much they pay. But ofcourse, if the player asks for too much the NPC will be much harder to barter with and will ask for a bit more than usual, and will be less willing to change his prices. Theres my idea, its complicated and I THINK it can be done...
07-26-2003, 11:06 PM#4
junithorn !
I spent way too many hours on terrain... but I think it was worth it, anyways I have... hundreds of buildings to buy and I REALLY dont want a circle of power infront of every one...
Takes away from the atmosphere...
Also more about the map: There are MANY buildings you can buy, you just never actually do the work! For example, buy a dock, hire a fisherman and buy a fishing boat, your fisherman will, during the day, go out and fish for you, returning you profits and a fish!
07-26-2003, 11:08 PM#5
Cloud-Strife
Do it similar to GTA:Vice City,place a unit or circle of power in front of a building, and when u approach the unit or step in circle, a popup asks whether you wish to buy the estate for X amount of Gold or whatever you are using for currency. If they accept, then the ownership of that building becomes theirs. It would also be interesting if you added some sort of haggling or something so that their would be ways to talk down prices.
07-26-2003, 11:08 PM#6
Norbo
Type or use an ability that triggers a dialog if your near a building.

Something like '-buy' or..

Use an ability called "Purchase Building"

Either one gives you a dialog (or not, if you don't want it) saying "Do you really want to?" and if yes, then its given to you.
07-26-2003, 11:12 PM#7
junithorn !
Hehe, Im gonna make an ability for each player that they just click on the building to buy I guess...
Hey norbo i played norbos war with you today. :/
07-26-2003, 11:15 PM#8
Jiiwan
You could make a main office where you talk to a real estate agent, and the houses have like a number on them and he asks which house you wanna buy....
07-26-2003, 11:17 PM#9
Pesmerga
Quote:
Originally posted by Cloud-Strife
Do it similar to GTA:Vice City,place a unit or circle of power in front of a building, and when u approach the unit or step in circle, a popup asks whether you wish to buy the estate for X amount of Gold or whatever you are using for currency. If they accept, then the ownership of that building becomes theirs. It would also be interesting if you added some sort of haggling or something so that their would be ways to talk down prices.


Gee, thats exactly what I said. Thanks for copying my idea and using it as your own. Or if you didn't, thanks for not looking at my post.
07-26-2003, 11:26 PM#10
junithorn !
Again though, not bad ideas, putting a circle of power infront of every building would make it like like crap, the ability will be pretty easy, targets only mechanical, does nothing...
07-27-2003, 12:18 AM#11
junithorn !
I did a combination of ideas, every unbought building has a "For Sale" sign infront of it and everyone starts off with the "Buy Building" Ability which can only be used on wards (the signs).
works really well... now i just gotta do it 240 more times..
07-27-2003, 12:41 AM#12
Sorbitol
this sounds like a lot of fun:D

i look forward to hearing more updates
07-27-2003, 02:03 AM#13
junithorn !
Argh now i need trigger help!

Buy ressquare1
Events
Unit - Entrepreneur 0224 <gen> Finishes casting an ability
Conditions
((Ability being cast) Equal to Buy Building)
Actions



How would i make it give the building it targetted?
07-27-2003, 02:27 AM#14
piRo-piOn
make an ability called "buy" (perhaps with gold coins icon) that can be cast on a building only... then do:

event : unit is issued an order targeting a unit
condition : order is = (whatever you based buy off of)
action : set buyTarget[player number of owner of ordered unit = targeted unit

event : unit begins casting an ability
condition : ability being cast = buy
action : initiate bartering dialog or whatever, use buyTarget[player number of owner of casting unit] as to refer to the building about to be bought. include if statements for if you already own the building, if someone else owns it, or if it cannot be bought.

if you need help with the bartering idea i can provide something similar to it but very complicated (acually i dont know if its complicated... haven't thought about it yet)
07-27-2003, 10:12 PM#15
c0nnick
Do it like this

Event-
-Unit casts an ability OR unit is targeted for an abilitty, sumthin like that

Condition-
-If owner of target spell or sumthin is = neutral

Actions-
set Buying[1]=target unit of issued order
-Change owner of the building to nuetral Xtra
-Disable BUY for unit that cast the spell
-Bring up the dialogue menu


And make it so if u pick BUY on dialogue, you get the house and yur spell back

If u pick DONT BUY then the hosue goes back to neutral and u get yur spell back

Edit: Haha! I replied to the wrong post of yours, this belongs in yur other thread about buyign the houses