Noob questions at creating multiplayer map
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Re: Noob questions at creating multiplayer map
Thanks mate, now it works as intended
Re: Noob questions at creating multiplayer map
I'm back. I have something in mind, but i dont know how to solve it. In this map, there is a castle at center (not a hex). There are rooms, hallway, corridors, etc... What i need is to place some units around the castle and make them to patrol. So, for example, 4 units at south-west goes to north-west, the ones at north-west to north-east, and so. This units only would attack enemies at their range while patrolling, and once enemies are defeated or out of range, continue their patroll.
There are things that i know how to (as deploy this units), but i dont know how to set them to protect certain location, then change it and force them to move up to this new location. Any help?
There are things that i know how to (as deploy this units), but i dont know how to set them to protect certain location, then change it and force them to move up to this new location. Any help?
Spoiler:
Re: Noob questions at creating multiplayer map
Ah... You have probably referred it already, but... on the first scenario of IftU, its side=4 behaves something like you want. I roughly researched it, but unable to find what file these macros come from:
If you can find it, I am sure it will be a great help for you.
(sorry for an unclear tip...)
Code: Select all
{IS_HOSTILE_NPC}
{NPC_BIRD_BEHAVIOR 4 1 40 1 35}
(sorry for an unclear tip...)
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Noob questions at creating multiplayer map
No man, this is better than nothing. Indeed, this is a great help, now i know where to start. Thanks man.SkyOne wrote:Ah... You have probably referred it already, but... on the first scenario of IftU, its side=4 behaves something like you want. I roughly researched it, but unable to find what file these macros come from:If you can find it, I am sure it will be a great help for you.Code: Select all
{IS_HOSTILE_NPC} {NPC_BIRD_BEHAVIOR 4 1 40 1 35}
(sorry for an unclear tip...)
EDIT: i found it, although im not sure if i should use it

Spoiler:
Re: Noob questions at creating multiplayer map
Wow! It is much more complicated than I expected. I have to study how it works. But congratulations for finding it. Could you tell me what file was it? Was it in the macros folder? I tried to check all files in the folder, but it seems I missed some.Slann wrote:EDIT: i found it, although im not sure if i should use it, too complicated.
By the way, the units (falcons) are flying around the whole map from the beginning of the first scenario, so you can at least see easily how they behave.

Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
Re: Noob questions at creating multiplayer map
Yeah, i played the first scenery to see it by my own. I use notepad++, so was easy to find it. The exactly path is : add-ons\Invasion_from_the_Unknown\ai\fake\npc.cfg