i try to save items in a bank file. I watched tutorials for saving integers and it was working correctly.
But i can't save and load items. I read many old tutorials here in the forum, but most maps are broken and many post end in, read more older posts.
Currently i have only one item, and a test bank file. I attach some screenshots, i try to archive to save the inventory not the character unit.
I attach also the bank file, the name of the item and the item count in the inventory is saved correctly, but i if reload the map the inventory is empty.
If you can provide any tips or have working test maps, pls let me know.
Hi,
ty very much for response ImperialGood. The problem with sentry guns and supply depots, the system is really easy to abuse ( bug using ). I think i have a Solution ! After 7-8 hours of searching i found this thread here on sc2mapster : http://www.sc2mapster.com/forums/development/aidev/41553-basic-ai-module-video/#p5
I have done exactly the same thing like the guy in the video ( include attach point to probe ) and all tests works. i tried it a few times and no problems.
here is an actual screenshot of an example maze from my map : http://www.bilder-upload.eu/upload/86c057-1430923570.png
the ki find the way and destroy all walls on their way. i have only testet 3-5 different mazes because found the tutorial for 1 hour or so.
a big ty also to the user GameMore =)
I hope it works in later tests too. the walls have a 4x4 footprint and are not passable from enemys or my units.
without buildings the KI find the way. if i build and block the way the KI stucks and cannot find them anymore.
i tried a higher priority of buildings but no effect. i also tried footprints to footprint 4x4 ( no build ) and give them manuel collision
but it dont work.
its intended to build a wall to keep the enemys outside, also the enemys need to attack the wall first. its the same like on the mineralz map.
i need something like, search and destroy include all buildings or attack nearest building if path blocked.
what i do is simple ( or not ), i create a wave. best case if i can create waves like i do on the screenshot, is really easy and i have many option because of the unit level.
than i reload the issue orders all 35 seconds. that works too.
on my map, you see a small labyrinth. the enemy units spawn at point 5 and go straight down in the labyrinth.
that works fine but if i place buildings ( player buildings no walls or somethings like this ) on the way, the units cannot find their way to the getunitID unit. the units attack the buildings if they near enough, but they do nothing after, even with new issue order, they cannot find the unit if there buildings on their way.
it is like they ignore buildings as part of my army.
screenshot -
thats the labyrinth. at the end are the units ( include the target unit ).
0
Thank you for your reply, DrSuperEvil.
Is there a chance that you can provide a sample map, or know some kind of tutorial map / or abandon map as learning source?
0
Hi,
i try to save items in a bank file. I watched tutorials for saving integers and it was working correctly.
But i can't save and load items. I read many old tutorials here in the forum, but most maps are broken and many post end in, read more older posts.
Currently i have only one item, and a test bank file. I attach some screenshots, i try to archive to save the inventory not the character unit.
I attach also the bank file, the name of the item and the item count in the inventory is saved correctly, but i if reload the map the inventory is empty.
If you can provide any tips or have working test maps, pls let me know.
0
Hi,
have you already deleted this melee stuff in the map ini ?
If not delete and try again.
Shows your unit already a progression bar and level ?
0
Hi,
ty very much for response ImperialGood. The problem with sentry guns and supply depots, the system is really easy to abuse ( bug using ).
I think i have a Solution ! After 7-8 hours of searching i found this thread here on sc2mapster :
http://www.sc2mapster.com/forums/development/aidev/41553-basic-ai-module-video/#p5
I have done exactly the same thing like the guy in the video ( include attach point to probe ) and all tests works. i tried it a few times and no problems.
here is an actual screenshot of an example maze from my map :
http://www.bilder-upload.eu/upload/86c057-1430923570.png
the ki find the way and destroy all walls on their way. i have only testet 3-5 different mazes because found the tutorial for 1 hour or so.
a big ty also to the user GameMore =)
I hope it works in later tests too. the walls have a 4x4 footprint and are not passable from enemys or my units.
0
Hi,
ty for response.
here the screenshots ( i have problems to link them ) :
http://www.bilder-upload.eu/show.php?file=6bf9fd-1430892208.png
http://www.bilder-upload.eu/show.php?file=7657f4-1430892260.png
http://www.bilder-upload.eu/show.php?file=85784b-1430892317.png
without buildings the KI find the way. if i build and block the way the KI stucks and cannot find them anymore.
i tried a higher priority of buildings but no effect. i also tried footprints to footprint 4x4 ( no build ) and give them manuel collision
but it dont work.
its intended to build a wall to keep the enemys outside, also the enemys need to attack the wall first. its the same like on the mineralz map.
i need something like, search and destroy include all buildings or attack nearest building if path blocked.
i tried many but nothing works.
0
Hi,
i need a little bit help with my triggers.
what i do is simple ( or not ), i create a wave. best case if i can create waves like i do on the screenshot, is really easy and i have many option because of the unit level.
than i reload the issue orders all 35 seconds. that works too.
on my map, you see a small labyrinth. the enemy units spawn at point 5 and go straight down in the labyrinth.
that works fine but if i place buildings ( player buildings no walls or somethings like this ) on the way, the units cannot find their way to the getunitID unit. the units attack the buildings if they near enough, but they do nothing after, even with new issue order, they cannot find the unit if there buildings on their way.
it is like they ignore buildings as part of my army.
screenshot -
thats the labyrinth. at the end are the units ( include the target unit ).
i hope you guys can help me.
sorry for my bad english.