Desert Survival v1.2

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

Desert Survival v1.2

Unread post by samtre »

Hey, remember me? the idiotic guy who made a very buggy slide-kill map....

Ok, this map is based on Wilderness Survival, but instead winter, is a desert.
Survive in the desert and win by killing the other survivors either by solo or team....
I made some recipes but i don't have any idea anymore i could add.... so here's the map!
I need some help on optimizing the "2 of the same items" combination trigger.

v1.1
Added:
Buildings - Crafting Tent, Smelting House, Desert Bunker
Items - Small Water Bottle (Refill), Water Bottle (Refill), Small Barrel, Medium Barrel, Big Barrel, Leather

v1.2
Added:
Random drops at 24.00 am/pm

About to add:

Crafting Tent - Craft better items
Smelting House - Melt rocks into metal, crystal into sulphur.
Desert Bunker - Attack it to change owner, can hide inside from enemy units.
Attachments
Desert Survival v1.2.w3x
(399.41 KiB) Downloaded 645 times
Last edited by samtre on Mon Jun 15, 2009 5:57 am, edited 4 times in total.

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Desert Survival

Unread post by 3ICE »

Nice map!

But this is very bad practice:
Image
Please use a trigger instead. (Event: Any tree dies. Action create a stick.)

EDIT: I uploaded the JASS code behind your trees so you can see for yourself how much spam they create.
(Your computer might not be able to handle that many characters though.)
EveryTree.zip
(35.03 KiB) Downloaded 619 times
EDIT2: The extension .j stands for JASS file, you can open it with notepad.
ImageImageImageImageImage
Image
ImageImage

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

Re: Desert Survival

Unread post by samtre »

I did try to make a trigger, as there are 2 Events on Destructables, I chosed the 2nd one
it's kinda like this:
Event - [A destructable dies in [Playable Map Area]]
Condition - [Destuctable Type of [Dying Destructable]] Equals [Barrens Tree Wall]
Actions - Create 1 [Stick] at [Position of Dying Destructable]

But then, it does not work
Because i found that ->
Event - [A destructable dies in [Playable Map Area]]
Only handles the first 64 destructables placed on the map

So, I had no choice but to do that....

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Desert Survival

Unread post by 3ICE »

Wow, that is a very serious limitation.

However I managed to get my forest to drop sticks properly.
Testing was perfect: I cut down 500 trees randomly (with triggers of course), and then a call to CountSticks() returned 500.

Here is how to do it:
Trees drop Sticks by 3ICE.w3x
(39.84 KiB) Downloaded 704 times
ImageImageImageImageImage
Image
ImageImage

Guest

Re: Desert Survival

Unread post by Guest »

Props to whoever can find the typo!

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

Re: Desert Survival

Unread post by samtre »

Yep, it's me.... Des-tuc-able

Thanks 3Ice, now it works....anything else I could add as items into the map?

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Desert Survival v1.1

Unread post by 3ICE »

samtre wrote:Yep, it's me.... Des-tuc-able
Umm... What?

"Destructible"is the correct way of spelling it. Destucable is wrong on many levels.
Maybe it helps if you see it in a sentence: It can be destroyed, so it is destructible.
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 141 guests