Search found 35 matches
- April 18th, 2008, 2:16 pm
- Forum: Multiplayer Development
- Topic: New campaign: Return from Captivity, for 2 players
- Replies: 72
- Views: 32638
Re: New campaign: Return from Captivity, for 2 players
I have encountered difficulties with the second scenario though. I was playing the first scenario with a friend over the multiplayer server, and during that scenario the game played fine. Once we had finished, I hit the end scenario button, and the second scenario loaded, so I believed everything h...
- April 15th, 2008, 6:56 pm
- Forum: Multiplayer Development
- Topic: New campaign: Return from Captivity, for 2 players
- Replies: 72
- Views: 32638
Re: New campaign: Return from Captivity, for 2 players
Done.ckarai wrote: Very good idea. I'll fix it.
- April 15th, 2008, 1:08 pm
- Forum: Multiplayer Development
- Topic: New campaign: Return from Captivity, for 2 players
- Replies: 72
- Views: 32638
Re: New campaign: Return from Captivity, for 2 players
You might want to hint at this with some text. Perhaps, if the characters reach a certain point (say, the first bat) without freeing the White Mages, you could have one of them say something along the lines of: "If we continue at this rate we'll fall in battle before we ever reach the surface....
- April 14th, 2008, 8:02 am
- Forum: Multiplayer Development
- Topic: New campaign: Return from Captivity, for 2 players
- Replies: 72
- Views: 32638
Re: New campaign: Return from Captivity, for 2 players
> so I expect this will prove quite popular once word gets around. :D I hope so. I'm thinking on the 4th scenario called 'Save the Forest'. The enemies are orcs and woodcutter units. If they move onto a village / forest tile, they will destroy it, and the team will earn money. The more forest / vill...
- April 8th, 2008, 9:00 pm
- Forum: Multiplayer Development
- Topic: New campaign: Return from Captivity, for 2 players
- Replies: 72
- Views: 32638
New campaign: Return from Captivity, for 2 players
Hello! My wife and me like playing Wesnoth together, that's why I started to create a multiplayer campaign (Return from Captivity) for 2 cooperating players. I uploaded now the first 3 scenarios. As my native language is not English, feel free to correct the mistakes in the texts. I'll fix it as soo...
- April 3rd, 2008, 5:03 pm
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
I updated the SVN and it works now.
I used the configure scripts instead of scons to build, as scons doesn't have make clean.
The clock of my computer is always late as I run Linux under VMWARE. I can imagine that this confused scons.
I used the configure scripts instead of scons to build, as scons doesn't have make clean.
The clock of my computer is always late as I run Linux under VMWARE. I can imagine that this confused scons.
- April 3rd, 2008, 6:03 am
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
FormulaAI works well after the modifications. Although generating descriptions to units crashes (I don't know whether it is related to the changes) #0 0x08484d06 in simple_rng::random_next () #1 0x08484d92 in simple_rng::get_random () #2 0x084802b7 in unit_race::generate_name () #3 0x083604df in uni...
- April 1st, 2008, 3:05 am
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
I've added some functionality to Formula AI which should allow you at least get the units to move to the closest forest. Thanks, it works well, but there's a little bug in the implementation. The undead just jumps to the nearest location, instead of walking. I mean the closest forest requires 15 st...
- March 31st, 2008, 9:52 am
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
Thanks, I'll try it.
- March 31st, 2008, 8:18 am
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
[find_path] StandardUnitFilter StandardLocationFilter variable=var allow_teleport=yes/no // default: yes 1_1_mapping=yes // default: yes [/find_path] The return would be an array reverse ordered by total_movement_cost: var.length = the number of paths found var[ i ].id = the ID of the Unit var[ i ]....
- March 31st, 2008, 5:58 am
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
No, because it would be far more useful to take a SLF for destination and store the shortest route to a location matching that SLF, then to check $route.length, $route.total_movement_cost... etc I could do it as well, if you need my help in coding. Can you please tell me more about SLF? I don't kno...
- March 28th, 2008, 4:28 pm
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
I thought it over.
The distance in steps has no meaning at all. The distance in turns is the only value that has meaning.
The distance in steps has no meaning at all. The distance in turns is the only value that has meaning.
- March 28th, 2008, 3:37 pm
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
Yes, now I remember it supports. But there's a problem with movement costs. For walls, it's 99. 1 wall = 99 steps, which is a reachable value. I have to take care of it. I think your suggestion with -1 is better. I think, that I'll write a patch and submit to the tracker and the developers may commi...
- March 28th, 2008, 3:21 pm
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
Then I think, I should ask the developers about it.
I don't know whether WML supports negative numbers.
I don't know whether WML supports negative numbers.
- March 28th, 2008, 3:10 pm
- Forum: Coder’s Corner
- Topic: Need assistance with Formula AI
- Replies: 35
- Views: 7002
Re: Need assistance with Formula AI
If I wrote a patch to WML, would you commit it? 1. [distance_from_unit] variable=variable_name StandardUnitFilter x, y [/distance_from_unit] Returns an array with the: ret.id -> the id of the unit ret.distance -> the distance from the location. If the location is unreachable, 100 is returned. 2. [st...