- Joined
- Oct 8, 2012
- Messages
- 498
Remove Item Shadow
All Items
Single Item
Read Me:
About this Method:
* Use this method if you want to hide absolutely all items' shadows in your map.
* It's best to use this method before you start modifying the Gameplay Constants.
* The testmap available below is made for the second method. This is too simple already.
Warning:
* This method is detrimental if you have already heavily modified the Gameplay Constants, because once you save and reopen your map, it completely resets all values to default.
There are some things you can do to avoid that, but I won't discuss it here since it's a completely different topic.
The requirements needed for this method:
- Notepad, or any text editing software
- Basic importing skills
Method A:
1.) Create .txt File:
* Open Notepad or any other text editing software. Save the empty note and name it war3mapMisc.2.) Edit Text:
* Now edit it. Copy and paste the code below, and save it again.3.) Import:
* If you want to undo it, just follow this method again, except you put ItemShadowFile=Shadow instead.Code:[Misc] ItemShadowFile=Null
Code:[Misc] ItemShadowFile=Shadow
* After that just import that war3mapMisc.txt in your map. By then, its name in the Import Manager will be "war3mapImported\war3mapMisc.txt". Double-click to rename and erase the "war3mapImported\" part.4.) Reload the Map:
* Save your map and close it. Then re-open that map. Put some items on the ground and press CTRL+F9 to test, it should be working by now.5.) Delete Note:
* Delete the war3mapMisc.txt you just imported earlier. Its job is finished, you don't need it anymore.Done! Save the map!
* If you don't delete it, any modification in Gameplay Constants except ItemShadow will not apply, since that .txt will always overwrite those changes to default.
Read Me:
About this Method:
* Use this method if you want to hide only a specific number of shadows.
* This method only works for trigger created items, so plan ahead.
* The test map is like an extension of this, I recommend you to download it for clarification.
* Works on units.
Warning:
* If you don't follow the steps carefully, you might experience the selection circle bug. Which causes selection circles of random units and items to be misplaced or not appear sometimes.
The requirements needed for this method:
- Basic knowledge of GUI Triggering
Method B:
1.) Dummy Item:
* If your map already contains at least one item (on the ground, not carried), then skip this step.2.) Destroy Image:
* Put one Item inside the map (any type will do; i.e. Cheese, Boots of Speed), doesn't matter where you put it since you'll be hiding it for the rest of the game anyway.
* Open the Trigger Editor. In yourMap Initialization trigger, hide that item:
- Events
- Map initialization
- Conditions
- Actions
- Item - Hide Cheese 0001 <gen>
* Whenever you attempt to create a shadowless item, you must first destroy the last created image:3.) Create Item:
Why? I have no idea. What I only know (for now) is that, the 4th Step won't work unless you do this. If someone has a clue, please do tell.
- Image - Destroy (Last created image)
* Create the item you want but do not give it to a Hero/Unit yet. Just create it from point.4.) Make Image Invisible:
- Item - Create Starfish at (Position of HERO)
* After you create an item you'll need to make the last created image (destroyed earlier) invisible.It should look like this:
Don't bother changing the color, doesn't work on shadows anyway.
- Image - Change the color of (Last created image) to (0.00%, 0.00%, 0.00%) with 100.00% transparency
If you skipped the 1st Step because you have more than one item proceed to Step 5,
- Image - Destroy (Last created image)
- Item - Create Starfish at (Position of HERO)
- Image - Change the color of (Last created image) to (0.00%, 0.00%, 0.00%) with 100.00% transparency
otherwise, you're done.
5th Step - Find the Dummy:
* Make sure you're able to create at least one shadowless item in-game (either by events or Map Initialization).Now you're done for real!
* Save and Test your map. Create a shadowless item (assuming you didn't on Initialization). Among the map's starting items, find the one that doesn't have a shadow.
* After finding, quit the game, open Trigger Editor in WE, and hide that item in
Map Initialization trigger, just like what I did on the 1st Step.
Attachments
Last edited: