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.
- 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. Tacitus, 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.
- 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.
- In The Order of the Stick the party once attempted to ambush a group of ogres while they were eating but Miko the paladin that was temporarily accompanying them came out and challenged the entire tribe. Then once they were gathered around her she told the wizard to hurl a fireball that she easily dodged but the ogres didn't. The rest of the party saw that as dishonorable and contrary to the paladin code she professed.