A Random RPG Adventure
Moderator: Forum Moderators
-
- Posts: 161
- Joined: April 26th, 2014, 4:44 pm
Re: A Random RPG Adventure
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.
1. You can move your units in any order.
2. You can move a unit before previous unit has finished its turn.
There are very much electrochemical currents in my brain.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
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?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.
-
- Posts: 161
- Joined: April 26th, 2014, 4:44 pm
Re: A Random RPG Adventure
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.
There are very much electrochemical currents in my brain.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
While I believe it is possible do that, I think it would actually be lengthy to do so, and honestly, not worth it.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.
Re: A Random RPG Adventure
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.PapaSmurfReloaded wrote:While I believe it is possible do that, I think it would actually be lengthy to do so, and honestly, not worth it.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.
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]
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
New Version! A new map has been realeased, called "The Northern Wildlands".
Enjoy
Enjoy
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
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.
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.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Update:
The DM may now manipulate units experience points.
Minor fixes within the add-on code.
The DM may now manipulate units experience points.
Minor fixes within the add-on code.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Added some videos to the first post in any case anybody wants to see.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Update:
The DM may now create up to 10 custom items for players to have in their inventory, merely of cosmetic value.
The DM may now create up to 10 custom items for players to have in their inventory, merely of cosmetic value.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Update! I am happy to announce the release of a new map called "The Lost Island".
It's on the add-on server!
It's on the add-on server!
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Update!
A new map has been released, called "Faewind City".
XP to level up reduced from 200 to 150 in all maps.
A new map has been released, called "Faewind City".
XP to level up reduced from 200 to 150 in all maps.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
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.
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.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
Update:
The first release of the new map "The Desert of Doom" is out.
The first release of the new map "The Desert of Doom" is out.
- PapaSmurfReloaded
- Posts: 822
- Joined: November 17th, 2007, 1:10 pm
- Location: Argentina
Re: A Random RPG Adventure
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.
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.