New commands invoked by ':' , "undo attack"
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
-
- Posts: 10
- Joined: March 15th, 2007, 7:30 am
- Location: Poland
New commands invoked by ':' , "undo attack"
Hi.
Suggersion nr. 1
I think it could be a good idea to add few commands to 'command line'
There is a command to write a savegame but there is not to load it.
So it would be great if you could just type :l savegame (or longer version :load savegame). Of course with '!' commands woud not require any confirmation and so on..
Suggestion nr. 2
There is an option to undo the move with 'u' key but, if the move ends up with an attack of hostile unit we cannot undo it.
Do you think game would be too easy it that option was included ?
What do you think about that ?
( Wesnoth 1.3.1, Fedora 2.6.19-1.2911.6.5.fc6)
Suggersion nr. 1
I think it could be a good idea to add few commands to 'command line'
There is a command to write a savegame but there is not to load it.
So it would be great if you could just type :l savegame (or longer version :load savegame). Of course with '!' commands woud not require any confirmation and so on..
Suggestion nr. 2
There is an option to undo the move with 'u' key but, if the move ends up with an attack of hostile unit we cannot undo it.
Do you think game would be too easy it that option was included ?
What do you think about that ?
( Wesnoth 1.3.1, Fedora 2.6.19-1.2911.6.5.fc6)
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
No, otherwise people can undo attacks and redo them. Whether they will is entirely up to them, and I don't know that it's our position to mandate how to best enjoy the game.Imp wrote:Any events that use the RNG cannot be undone. Otherwise people will undo attacks and redo them until they get 100% hits and evade.
It sounds like a pretty tedious approach to me but, outside of MP, I can't see who it would harm.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
-
- Retired Developer
- Posts: 2633
- Joined: March 22nd, 2004, 11:22 pm
- Location: An Earl's Roadstead
The question in my mind is not who it would harm, but how it would benefit? In particular, the : commands are mostly for debugging purposes. I presume such a command would only be available in debug mode. In order to make the case that this should be added it would need to be argued that this would help for debugging purposes more than the added complication of an additional : command and the additional maintenance headache of dealing with an even more complicated undo algorithm. If it was implemented it would probably be something like a boolean switch in debug that allows you to undo everything.irrevenant wrote:No, otherwise people can undo attacks and redo them. Whether they will is entirely up to them, and I don't know that it's our position to mandate how to best enjoy the game.Imp wrote:Any events that use the RNG cannot be undone. Otherwise people will undo attacks and redo them until they get 100% hits and evade.
It sounds like a pretty tedious approach to me but, outside of MP, I can't see who it would harm.
"you can already do that with WML"
Fight Creeeping Biggerism!
http://www.wesnoth.org/forum/viewtopic. ... 760#131760
http://www.wesnoth.org/forum/viewtopic. ... 1358#11358
-
- Posts: 10
- Joined: March 15th, 2007, 7:30 am
- Location: Poland
Suggestion 1: possible, though most save games have names that would be tedious to type. Possibly one could just type :load and it'd bring up the load dialog.
Suggestion 2: I don't see the point of this. The entire idea of allowing undo is to allow players to plan out their moves more easily. Undoing an attack clearly has an entirely different purpose. In any case, even if this would have any benefit at all, it certainly does not have sufficient benefit to justify the (significant) difficulty in coding it.
Suggestion 2: I don't see the point of this. The entire idea of allowing undo is to allow players to plan out their moves more easily. Undoing an attack clearly has an entirely different purpose. In any case, even if this would have any benefit at all, it certainly does not have sufficient benefit to justify the (significant) difficulty in coding it.
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
Clarification: I was talking to the idea of allowing undo of attacks, not to this specific implementation of doing it by overloading the ':' key.Darth Fool wrote:The question in my mind is not who it would harm, but how it would benefit?
It has similar purposes - it allows the player (especially the novice one) to experiment with different moves and see which work best.Dave wrote:Suggestion 2: I don't see the point of this. The entire idea of allowing undo is to allow players to plan out their moves more easily. Undoing an attack clearly has an entirely different purpose.
It also avoids a similar annoyance to the fog one, where you attack then want to undo a move.
Fair enough, then.Dave wrote: In any case, even if this would have any benefit at all, it certainly does not have sufficient benefit to justify the (significant) difficulty in coding it.
Last edited by irrevenant on March 31st, 2007, 4:20 am, edited 1 time in total.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
-
- Posts: 10
- Joined: March 15th, 2007, 7:30 am
- Location: Poland
[quote] Suggestion 1: possible, though most save games have names that would be tedious to type. Possibly one could just type :load and it'd bring up the load dialog. [/quote]
Hi.
About the "new command" feature...
I didn't want to wait untill next release of the game so...
I've implemented for my personal use, and if you think that it would be any gain for the game, just tell to who I sould send changed source code.
Regards
Greg[/quote]
Hi.
About the "new command" feature...
I didn't want to wait untill next release of the game so...
I've implemented for my personal use, and if you think that it would be any gain for the game, just tell to who I sould send changed source code.
Regards
Greg[/quote]
-
- Retired Developer
- Posts: 2633
- Joined: March 22nd, 2004, 11:22 pm
- Location: An Earl's Roadstead
https://gna.org/patch/?func=additem&group=wesnothsoulmate81 wrote:Hi.Suggestion 1: possible, though most save games have names that would be tedious to type. Possibly one could just type :load and it'd bring up the load dialog.
About the "new command" feature...
I didn't want to wait untill next release of the game so...
I've implemented for my personal use, and if you think that it would be any gain for the game, just tell to who I sould send changed source code.
Regards
Greg
you should also read the patch guidelines
https://gna.org/patch/?func=additem&group=wesnoth
"you can already do that with WML"
Fight Creeeping Biggerism!
http://www.wesnoth.org/forum/viewtopic. ... 760#131760
http://www.wesnoth.org/forum/viewtopic. ... 1358#11358
Apparently you don't understand how much cheating this would put into the game. Even in SP people would be tempted to undo attacks far more than S/R, which I'm sure lots of people already do.irrevenant wrote:It has similar purposes - it allows the player (especially the novice one) to experminet with different moves and see which work best.
It also avoids a similar annoyance to the fog one, where you attack then want to undo a move.
Why make it 10x easier to cheat in this game when we'd like to move in the other direction if possible??
-
- Posts: 10
- Joined: March 15th, 2007, 7:30 am
- Location: Poland
I've submitted patch (https://gna.org/patch/?704)
2 new commands are added
1. ":load - displays the load game window
2. ":l <savegame> - loads the game if it exists. If not , nothing happens.
Hope you will like it
I've forgot to write that documentation shoud be updated as well
(of course if this patch will be accepted)
Now I think that second suggestion (about undoing the attack) was rather bad.
Lets not go back to that topic again :)
Regards
Greg
2 new commands are added
1. ":load - displays the load game window
2. ":l <savegame> - loads the game if it exists. If not , nothing happens.
Hope you will like it
I've forgot to write that documentation shoud be updated as well
(of course if this patch will be accepted)
Now I think that second suggestion (about undoing the attack) was rather bad.
Lets not go back to that topic again :)
Regards
Greg
Undoing attacks is a really bad idea I think, you ever can see the approximate damage of a attack in the calculation box before to attack. It have no sense undoings attacks cause their are not good, ever if you are a novice you can try the game in the easy mode of read something about the rules: type of tileset, resistance, type of attack, amount of life, etc...
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
One good reason to allow undo attacks is that attacking currently breaks the undo chain.Masacroso wrote:Undoing attacks is a really bad idea I think, you ever can see the approximate damage of a attack in the calculation box before to attack. It have no sense undoings attacks cause their are not good, ever if you are a novice you can try the game in the easy mode of read something about the rules: type of tileset, resistance, type of attack, amount of life, etc...
eg. I move a unit, then I attack with a different unit. I then realise I've mismoved the first unit but can't do anything about it because I've attacked since. Annoying.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance