When you see a character or culture, especially a Proud Warrior Race Guy and the culture he came from, be known for being "honorable", then you will see an aversion to using ambushes, ranged weapons, attacks on the unaware, etc. This isn't true of our world, but can be so in a story.
Actual Real Life honor, as it was understood since antiquity, was more like what we'd now understand as "street cred". The point wasn't that you played fair, the point was that if anyone dared cross you you'd freak their shit up. There was a very strong component of Might Makes Right; if someone called you a liar ("gives you the lie"), you challenged them to a duel, and if they died, it meant that you were right, even though, empirically, you are a liar. The Double Standard and Moral Myopia were stark, obvious, and unashamed; a Cycle of Revenge was considered the natural and spontaneous state of affairs. This mentality persists throughout the world except in Western Countries, whose latest iteration of "honour" was a weird hybridation with Christian values (which are definitely dishonorable in the classic sense of the world; "Turn the Other Cheek"? Insanity!) that was developed in the Victorian Era, before World War I killed the idea; this is the notion of "honour as fair play" and "gentlemanliness".
- Blazing Saddles. Sheriff Bart confronts Hedley Lamarr at the movie theater and tells him to go for his gun. Lamarr claims to be unarmed, so (following the Code of the West) Sheriff Bart throws away his gun and prepares to fight Lamarr with his fists. Lamarr smugly announces that he is armed and pulls out a derringer, whereupon Bart dives to grab his gun back and shoots him.
- In Discworld, the nobility/officer class have a tendency towards military flashiness and believing that a victory consisted in having less casualties than your opponent; the more total dead, the better. Tacticus, Vimes and Vetinari all avert this, preferring ambush tactics, psychological warfare, camouflage and stealth. Understandable since Tacitus only cared about conquest, Vimes is a policeman and a former street urchin, and Vetinari is an Assassin and political genius; neither of them is interested in fair play.
- In Star Trek this is a common plot point when dealing with Klingons. A lot of human characters subscribe to honor of this type, and Klingons follow the traditional sort of honor (particularly through their love of ambush tactics). What throws a lot of characters off is that their main exposure to Klingon culture is Worf, and Worf as a Child of Two Worlds goes considerably out of his way to try and follow both, usually ending up on the side of this trope when there's a conflict.
- Ring of Honor's initial code was a mix of fair play and mandatory, unconditional, respect given to all competitors. Later variations of the code are more like Character Alignment. Christopher Daniels and his Prophecy were the most infamous wrestlers to vocally subscribe to a very different definition of honor, being hostile to the ideals of mandatory respect and level playing fields. Taeler Hendrix would also declare in a Motive Rant that sneak attacks against people you despise were very honorable, even if they disrupted the show and violated the ROH code.
- Dungeons & Dragons. The 1st Edition cavalier class was based on King Arthur and the Knights of the Round Table. They would not use missile weapons (e.g. bows or crossbows) and could not use burning oil against opponents in melee combat. In addition they had to follow a chivalrous code of honor, which forbade (among other things) sneaking around in disguise.
- Champions. The super villain Firewing had a code of honor that prohibited attacking by surprise, attacking from behind, or gaining an advantage (beyond his own abilities) that isn't also possessed by his opponent.
- Warhammer: the War God Ulric hates subterfuge and ranged weapons (except for ambushes).
- In Warhammer 40,000, Space Marines, as a rule, hate camouflage, stealth, or hiding (they prefer shock and awe, which was very effective during the Great Crusade, but less so in the 41st millennium where many enemies can't be shocked or awed), with the exception of the non-canon Reasonable Marines, who are sporting in that they will give diplomacy a fair shot, and cut fair deals, but who, once you leave them no other choice, will kill you, unceremoniously and anticlimactically, and the canonical Raptors chapter.
- Khorne zigzags this: on the one hand, any blood spilled in battle is his, be it from enemies, allies, yourself, or defenseless civilians. On the other hand, his throne sits upon a Mountain Of Skulls taken from warriors- again, yours or your enemies, but not defenseless enemies. Decapitating an entire orphanage or hospital ward and claiming their skulls as trophies is a surefire way to get his hellhounds after you.
- In Ironclaw the Overconfidence Gift allows you to offer an opponent a bonus d12 to their roll against you, if they accept you take a bonus d12 as well.
- In Quest for Glory II, a Fighter player will end up getting into a duel with The Dragon Khaveen during the endgame. At one point you'll knock Khaveen's sword out of his hands; if you want to be able to become a Paladin, you have to let him retrieve his sword rather than just killing him then and there. The situation is reversed earlier in the duel, and Khaveen is shown to be a royal slimeball because he absolutely will kill you while you're defenseless, meaning you have to dodge his attack and retrieve your sword in the same motion.
- The Order of the Stick: Subverted when The Paladin Miko refuses to ambush a group of ogres, instead walking into their camp and challenging them all... to get them all in one spot for the Order's spellcasters to wipe out with fire and lightning. The Order start out out infuriated by her apparent Honor Before Reason and end... conflicted.
- Unsounded: Duane, a powerful spellcaster and experienced combatant, refuses to use magic when he fights a non-mage guardsman. He explains to the Combat Pragmatist Sette that it would have been an unfair advantage, but brushes her off when she points out that he also has undead Super Strength and resilience on his side.