Lunelle ← Back to home
Guides

How to write a great villain or rival for AI roleplay

Updated

A strong villain wants something specific, believes they are right, has a voice worth listening to, and has limits the hero can use. In AI roleplay, also guard against drift: over a long conversation, villains tend to soften and apologize unless their goals and limits are written down firmly.

Give the villain a concrete goal

The goal can be power, revenge, order, survival, or someone’s love, as long as the villain could achieve it and the hero stands in the way. A specific goal, such as “wants the harbor closed so her family’s fleet controls the trade”, gives the AI plans, allies, and lines of dialogue to work with.

Make them believe they’re right

Inspector Javert in Victor Hugo’s Les Misérables (1862) hunts Jean Valjean for years out of absolute belief in the law. His certainty makes him dangerous, and it makes his downfall tragic.

Write down the villain’s justification in their own words. A villain who can explain themselves will argue with the player instead of only making threats.

Give them a voice worth hearing

Satan in John Milton’s Paradise Lost (1667) holds the reader’s attention through how he speaks: “Better to reign in Hell, than serve in Heav’n.” Readers and critics have argued for centuries about why he is the poem’s most compelling character.

Sample lines matter even more for villains than for other characters, because they set the level of menace. See how to give an AI character a distinct voice.

Make the rival a mirror of the hero

In “The Final Problem” (1893), Holmes calls Professor Moriarty “the Napoleon of crime” and “the organizer of half that is evil and of nearly all that is undetected in this great city”. Moriarty is dangerous because he has Holmes’s own intelligence and uses it for crime.

For a rival, take what the player’s character is best at and give the rival the same skill with different values. Every encounter then becomes a contest the player cares about.

Keep the player guessing

Shakespeare’s Iago gives several contradictory reasons for hating Othello, and Samuel Taylor Coleridge described his reasoning as “the motive-hunting of motiveless malignity”. In the first scene, Iago tells Roderigo plainly: “I am not what I am.” Long John Silver in Robert Louis Stevenson’s Treasure Island (1883) is a ship’s cook who is charming, likable, and never fully trustworthy.

A villain whose loyalty you can’t predict keeps every scene tense. Give the character reasons to help the player now and then, and let the player wonder why.

Build presence before the first meeting

Bram Stoker’s Dracula (1897) is told through letters, diaries, and newspaper clippings, and after the opening chapters the Count appears in person in relatively few scenes. The dread comes from what the other characters write about him. It starts before he appears at all: frightened villagers warn Jonathan Harker on his way to the castle, where the Count greets him with “Welcome to my house! Enter freely and of your own will!”

Let the player hear about the villain first: rumors, frightened witnesses, the results of their work. By the time the two meet, the scene already carries weight.

Give them rules and weaknesses

Stoker’s vampire has strict limits. As Van Helsing puts it, “He may not enter anywhere at the first, unless there be some one of the household who bid him to come.” Garlic and the crucifix drive him back. Limits make a powerful villain beatable and give the player something to plan around.

Let the player understand them

The creature in Mary Shelley’s Frankenstein (1818) turns to violence after being rejected by his creator and by everyone he meets. He tells Victor: “I was benevolent and good; misery made me a fiend.” The reader understands his anger without forgiving it. A villain with an understandable wound is harder to dismiss and more interesting to face.

Common problems with AI villains

Lunelle AI keeps a character’s personality, voice, and established facts stable over long plays, so a villain introduced in the first chapter is still menacing in the twentieth. See what Lunelle AI is.