A Random RPG Adventure

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderators: Forum Moderators, Developers

Re: A Random RPG Adventure

Postby Spirit_of_Currents » September 14th, 2017, 11:04 am

If your every unit is on the same side, you have two new tactical possibilities:
1. You can move your units in any order.
2. You can move a unit before previous unit has finished its turn.
Spirit_of_Currents
 
Posts: 44
Joined: April 26th, 2014, 4:44 pm

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 14th, 2017, 11:38 am

Spirit_of_Currents wrote:If your every unit is on the same side, you have two new tactical possibilities:
1. You can move your units in any order.
2. You can move a unit before previous unit has finished its turn.

Are you trying to say that if different sides are being played by the same player he should be able to use as if they were all in the same side? :hmm:
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby Spirit_of_Currents » September 14th, 2017, 12:14 pm

Assuming that there is only one player, I guess it's easier for both the coder and the player if there are no several sides controlled by him or her, only one side, when compared to several sides that can be used as if units were in the same side.
Spirit_of_Currents
 
Posts: 44
Joined: April 26th, 2014, 4:44 pm

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 15th, 2017, 5:17 pm

Spirit_of_Currents wrote:Assuming that there is only one player, I guess it's easier for both the coder and the player if there are no several sides controlled by him or her, only one side, when compared to several sides that can be used as if units were in the same side.

While I believe it is possible do that, I think it would actually be lengthy to do so, and honestly, not worth it. :lol:
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby shrieker1 » September 16th, 2017, 9:52 am

PapaSmurfReloaded wrote:
Spirit_of_Currents wrote:Assuming that there is only one player, I guess it's easier for both the coder and the player if there are no several sides controlled by him or her, only one side, when compared to several sides that can be used as if units were in the same side.

While I believe it is possible do that, I think it would actually be lengthy to do so, and honestly, not worth it. :lol:


Problem would be more like how to make it possible to give control of a shared side unit to an observer. In many long games people may need to leave temporary or permanently from the game. Then it often requires one player to play multiple sides until there is observer to take over a side.

Following untested lua code should give an idea how to do it. You could write same in wml too. It uses side turn end to make sure that no unit gains or loses a turn when it is moved to a different side.
Code: Select all
[event]
  name=side turn end
 
  [lua]
    code=<<

local function move_units_to_first_side()
  local name = wesnoth.sides[wesnoth.current.side].name
  -- Find if there is a side controlled by this player coming before us
  for s=1,wesnoth.current.side-1,1 do
    -- This may require some more complex equality check. There is possibility that Wesnoth appends side number to the name which would require this check to first remove the side number from the end
    if name == wesnoth.sides[s].name then
      -- Found a side before current side -> make current null controlled
      wesnoth.sides[wesnoth.current.side].controller = "null"
      -- move units to first side that is smaller number but controlled by this player
      local units = wesnoth.get_units({side=wesnoth.current.side})
      for i, u in ipairs(units) do
         u.side = s
      end
      -- No more sides to check
      break
    end
  end
end

move_units_to_first_side()
>>
  [/lua]
[/event]
shrieker1
 
Posts: 21
Joined: August 7th, 2017, 5:53 pm

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 17th, 2017, 6:43 pm

New Version! A new map has been realeased, called "The Northern Wildlands".
Enjoy :whistle:
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 18th, 2017, 1:15 am

BIG UPDATE:
Reformulated the Rest System, now it's called Party Health, and it includes Hunger, Thirst and Fatigue. Players will have to eat and drink on top of resting, in order to carry on with their adventures.
Fixed Cooking professions.
Now menues have captions.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 24th, 2017, 11:56 am

Update:
The DM may now manipulate units experience points.
Minor fixes within the add-on code.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 25th, 2017, 3:15 pm

Added some videos to the first post in any case anybody wants to see.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » September 27th, 2017, 7:06 pm

Update:
The DM may now create up to 10 custom items for players to have in their inventory, merely of cosmetic value.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » October 1st, 2017, 7:48 pm

Update! I am happy to announce the release of a new map called "The Lost Island".
It's on the add-on server!
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » October 5th, 2017, 8:03 pm

Update!
A new map has been released, called "Faewind City".
XP to level up reduced from 200 to 150 in all maps.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » October 12th, 2017, 4:18 pm

Update:
DM is now Side 1, and Heroes Leader(White) is side 2.
Players are now 3, 4, 5, 6.
Minor changes to DM Menu.
Minor changes to the urban map(now called Ravenburgh City).

Given that this one is a major rework of the add-on, it is possible that that there could be bugs (I double checked and did not find any).
If anybody spots one please report it.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » October 15th, 2017, 7:46 pm

Update:
The first release of the new map "The Desert of Doom" is out.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Re: A Random RPG Adventure

Postby PapaSmurfReloaded » Today, 5:12 pm

Tiny Update: Improved the Players and DM Manual.
Added some magical items to inventory the DM may give to players.
Now there is a new melee attack animation that transform user into a wolf.
18th Century Warfare Era, try it out!
A Random RPG Adventure, play it!
Infantry Wars Era, give it a shot!
Zombie Apocalypse RPG, run for your life!
User avatar
PapaSmurfReloaded
 
Posts: 478
Joined: November 17th, 2007, 1:10 pm
Location: Argentina

Previous

Return to Multiplayer Development

Who is online

Users browsing this forum: Bing [Bot] and 3 guests