Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #7700 > unrolled thread

[dev] small dictionary for funny shouts

Started byfir <profesor.fir@gmail.com>
First post2017-04-08 06:36 -0700
Last post2017-04-08 16:27 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.programming


Contents

  [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

#7700 — [dev] small dictionary for funny shouts

Fromfir <profesor.fir@gmail.com>
Date2017-04-08 06:36 -0700
Subject[dev] small dictionary for funny shouts
Message-ID<0199947f-7385-4276-8aff-f5b7f34146d9@googlegroups.com>
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? 

[toc] | [next] | [standalone]


#7701

From"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Date2017-04-08 16:27 +0200
Message-ID<ocas1d$1u16$1@gioia.aioe.org>
In reply to#7700
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web