So some of my units disappeared after map start =). I got this messages in error: Invalid preplaced unit "unit name". Also its very strange, but when i start this map through mod (created new mod and pressed test button , map defined as default test map) all units are in game. When opened map and started test units disappeared. I even don`t know where to start digging.
yeah - all units are in one mod - but some of them disappear after launching map, as i said before those strange units works fine in game if I open mod and press test that launches same map.
Update: its not error messages, its warning messages: "USER:Invalid preplaced unit `unit name` "
Maybe somebody knows what is the difference when I launch my map through mod or directly?
I guess that the map receives the dependency to the mod directly. If you directly start the map, it doesn't necessarily load the mod, if it hasn't been added to the dependency list.
SO problem isn`t solved at all, but i did good discovery. I just published mod, added battle.net mod to dependencies, deleted local mod from dependencies, published map and tested it. All works fine. Problem appears only when i test map using mod file located on my PC by opening map and pressing test.
ITS VERY STRANGE and i still want to know reason. If someone got any ideas please post it here.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So some of my units disappeared after map start =). I got this messages in error: Invalid preplaced unit "unit name". Also its very strange, but when i start this map through mod (created new mod and pressed test button , map defined as default test map) all units are in game. When opened map and started test units disappeared. I even don`t know where to start digging.
P.S. sorry for bad english.
Is the mod added to your map's dependencies?
yeah - all units are in one mod - but some of them disappear after launching map, as i said before those strange units works fine in game if I open mod and press test that launches same map.
Update: its not error messages, its warning messages: "USER:Invalid preplaced unit `unit name` "
UP!!
Maybe somebody knows what is the difference when I launch my map through mod or directly?
Is the mod file added to the map as a dependency?
File -> Dependencies
The mod files that you use need to appear in the list to be usable by the editor.
I guess that the map receives the dependency to the mod directly. If you directly start the map, it doesn't necessarily load the mod, if it hasn't been added to the dependency list.
how can i place unit into map if my mod isnt in dependencies??? =)))
thx for trying to help
import your mod using the Add Other button
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I know that. Mod was in dependencies all the time.
SO problem isn`t solved at all, but i did good discovery. I just published mod, added battle.net mod to dependencies, deleted local mod from dependencies, published map and tested it. All works fine. Problem appears only when i test map using mod file located on my PC by opening map and pressing test.
ITS VERY STRANGE and i still want to know reason. If someone got any ideas please post it here.