HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

taxation system ?

03-15-2005, 03:52 PM#1
escpy
how do i make a trigger to tax an amount of gold / lumber when somebody transfering it through ALLIES properties ?
03-15-2005, 04:54 PM#2
Strategy Master
I don't think its possible to detect an ally gives gold/lumber event.

It might be possible to detect though if a players lumber changes and see if amount has changed on an ally.

But even that may have complications.

Good luck
03-15-2005, 08:43 PM#3
ChaosChronicle
You could make it so the trading command is spoken or through buttons on a building or something and then simply disable the resource trading... it'd take quite a few triggers but that's pretty much the only way of doing it
03-15-2005, 11:18 PM#4
escpy
Quote:
Originally Posted by ChaosChronicle
You could make it so the trading command is spoken or through buttons on a building or something and then simply disable the resource trading... it'd take quite a few triggers but that's pretty much the only way of doing it
can show me where do i start ?
03-16-2005, 12:27 AM#5
Elven Ronin
I think there is some way to set the alliances between players with a bunch of things, including, trading, line of site, allied victory, ect. So use the action to shut that off.

Then you need to decide whether to do it by text, or by some sort of shop. Obviously if it's a shop you'd only be able to trade your gold in increments, like 100, 500, 1000, ect. It would probably be best to make it just 1 middle line value like 300. Then create 1 item for each player that would be like "Give Gold to Red", "Give Gold to Blue". You buy it for 300, then say you've got a 50% trading tax, so only 150 actually goes to the player.

Then trigger it:

A unit aqquires an item

Item type = Give gold to Red

Add 150 to Player 1's current gold

Remove item being manipulated

A text based system might be easier, but would be harder to cook up and debug properly.