Transylvania UPDATEd

You can submit your maps here. Both finished and unfinished submissions are welcome.
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)

Re: Transylvania UPDATEd

New postby 3ICE on Mon Apr 04, 2011 1:43 am

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
User avatar
3ICE
Admin
 
Posts: 2100
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: Transylvania UPDATEd

New postby samtre on Mon Apr 04, 2011 1:58 am

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).
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Previous

Return to Map Vault



Who is online

Users browsing this forum: No registered users and 4 guests

cron