Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #7701
| From | "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: [dev] small dictionary for funny shouts |
| Date | 2017-04-08 16:27 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ocas1d$1u16$1@gioia.aioe.org> (permalink) |
| References | <0199947f-7385-4276-8aff-f5b7f34146d9@googlegroups.com> |
On 2017-04-08 15:36, fir wrote:
> in my roguelike game i wrote i made an option to say/shout
> some predefined sentences to surroundings (then i can add switch to
> make near orcs angry if they will hear 'die dirty orc!'
> or some things like this
>
> but predefined sentences are bored and limited so i get idea
> to predefine some number of words and allow player to compose
> those words in some small language /in some sentences (this
> has roguelike feel)
>
> i need some small set of this words but making good and funny
> potential for shouts (i think i can assign one word to each 0-9 and a-z
> key on keyboard so it makes a dictionary of at most 36 predefined words
> and probably less at start)
>
> what words could that be?
>
> i only started to think on this, and some like
>
> 1- die
> 2- dirty
> 3- orc
> 4- you
> 5- nice
> 6- girl
> 7- ass
> 8 - I
> 9- will
> 0 - eat
> a- your
> b - elf
> c - dwarf
>
> (that would allow for example "you nice dirty orc" "die nice girl"
> "girl you orc" "I will eat your dirty ass dwarf"
> and such kind 'climatic' experience ;c i need some inspiration
>
> some ideas?
At least you should start with English grammar and sort out the
vocabulary accordingly. Then you will fill the places of the sentence
from these, e.g. taking one of many possible constructs:
<verb> <adjective> <noun>!
<verb> = die
<adjective> = dirty
<noun> = orc
The choices are random.
Next you add some correlation between dictionary items. E.g. orc will
have a distribution of adjectives rather uneven. E.g. orc is "dirty"
with 0.5 chances and "fair" with 0.1 chances.
Next you add a correlation between the object and subject. E.g. if an
elf shouts toward an orc that modifies chances according to the
stereotypes elves have to orcs. For this you sort adjectives into groups
like derogatory etc. dirty is derogatory, fair is the opposite. elves
hate orcs thus derogatory terms get their chances incremented.
Next you select verbs randomly but weighted according to the intention
of the actor towards the target, e.g. "kill" vs. "kiss". And so on.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread
[dev] small dictionary for funny shouts fir <profesor.fir@gmail.com> - 2017-04-08 06:36 -0700 Re: [dev] small dictionary for funny shouts "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2017-04-08 16:27 +0200
csiph-web