Transylvania UPDATEd

You can submit your maps here. Both finished and unfinished submissions are welcome.
Forum rules
Finished maps:
• Submitting your own map(s):
One map per topic please! (Or we will have a hard time finding out which comment is for which map)
You can leave your Username@Realm so people can contact you in game. (eg.: 3ICE@USEast, 3ICE@Northrend)
Write a description and don't forget to post some screenshots. (Images and videos are worth a thousand words)
• Submitting a map not made by you:
Do not claim it as yours. We'll find it out (sooner or later) anyway.
Ask the maker to submit it himself is possible.
Or at least let the maker know that his map has a topic here, so he can benefit from your comments and bug reports. (Or request the thread be deleted for whatever reason*.)

Unfinished maps:
You are welcome to post your unfinished maps here and ask for help.
We will look at the map and tell you whats wrong with it or how to continue editing it.

Projects:
Important/cool maps and big projects will have their own forum category inside. (Like the 3ICE's Maze Designer category)
User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Transylvania UPDATEd

Unread post by 3ICE »

AoE ensnare, one of my favorite spells of all time.
But it had to go.
Will be missed.

EDIT: Variables are faster than food dummies.
Add Add
t_emp t_eve A unit is repaired t_emp t_co Unit type is house t_emp t_set Set Player_x_FoodCap = Player_x_FoodCap + 20
Minus Minus
t_emp t_eve A unit dies t_emp t_co Unit type was house t_emp t_set Set Player_x_FoodCap = Player_x_FoodCap - 20
Update Update
t_pla Player - Set Player(x) Food cap to Player_x_FoodCap
The variable is not even necessary, you can just use:
t_pla Player - Set Player(x) Food cap to Property of player x(FoodCap) +- 20

Unless it is possible to go over 300 then back down again.
Why?
Because if you are already at 300 and repair a house, the new food cap will also be 300, making you lose a house's supply provided forever.
ImageImageImageImageImage
Image
ImageImage

samtre
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Transylvania UPDATEd

Unread post by samtre »

crap, i never thought of that, i was searching for the 'food produced by unit' trigger but forgot about the player triggers....

the houses aren't really being repaired by another unit, it is actually being repaired by itself through a trigger (yes its weird).
Its still a data cache, I've planned it that every village has a food cap of only 100 (10 houses).

Post Reply

Who is online

Users browsing this forum: No registered users and 151 guests