"Random Wisecrack" Marco?


Aett_Thorn

 

Posted

Okay, so here's the story...

One of my characters is supposed to be a chatty wisecracker. Think Deadpool or Spider-man. Point is, I want to set up a keybind to have him spout random wisecracks with a single button, from a set list.

I know it's possible to set up a cycling bind through /bindloadfile, so I could go through several phrases in a preset order. What I want to do is set up a randomized version, pulling a random phrase from the list each time. So, the question is: Is that possible, and how can I do it?


The off-beat space pirate...Capt. Stormrider (50+3 Elec/Storm Science Corruptor)
The mysterious Djinn...Emerald Dervish (50+1 DB/DA Magic Stalker)
The psychotic inventor...Dollmaster (50 Bot/FF Tech Mastermind)

Virtue Forever.

 

Posted

Only way I can think would be to use an external program to rewrite the bindloadfile. A simple batch file would probably do it. The random function in batch -- in win2000/NT/XP anyway, I'm not sure about Vista/Win7 -- generates a number from 1-32768. Just do *random*/1024 to get a random number from 1-32, then assign a witty statement to each number and write the appropriate bind file.

Final application is left as an assignment for the reader.


[SIZE=1][COLOR=Yellow][U]Virtue Heroes (Serenity's Children):[/U] [B]@Eek a Mouse, The Devil's Mark, Outlaw Sniper, Gas-Soaked Rag Man, Amazon Prime, Friday's Child, Hot Blooded,[/B][B]Flower of the Moon[/B], [B]Rouge Demon Hunter[/B], Stimulated Emission, Animatronic Wench, [B]Lennie Small[/B]
[U]Virtue Villains (Serenity's Orphans):[/U][/COLOR][/SIZE][SIZE=1][COLOR=Yellow] [/COLOR][/SIZE] [SIZE=1][COLOR=Yellow] [B]Eek a Rat[/B], [B]Bomb Blondeshell[/B], Babe Brute, Jeanne Dark, Fallen Angle[/COLOR][/SIZE]

 

Posted

Not without using an external program of some sort. I do recall someone creating something to do this long time ago, but no clue where it might be.

Bah, easy enough, it was right there in the Guide to Guides

Linky


Global @StarGeek
ParagonWiki.com-The original is still the best!
My Hero Merit rolls
Accuracy needed for 95% ToHit spreadsheet
Forum font change stripper for Firefox/Opera/Chrome. No more dealing with poor color choices, weird fonts or microscopic text
Search Wiki Patch notes, add site:ParagonWiki.com inurl:patch_notes to your Google Search

 

Posted

Marco is a pretty random wisecrack, yes.


Let me never fall into the vulgar mistake of dreaming that I am persecuted whenever I am contradicted.
~Ralph Waldo Emerson

"I was just the one with the most unsolicited sombrero." - Traegus

 

Posted

Quote:
Originally Posted by Eek a Mouse View Post
Only way I can think would be to use an external program to rewrite the bindloadfile. A simple batch file would probably do it. The random function in batch -- in win2000/NT/XP anyway, I'm not sure about Vista/Win7 -- generates a number from 1-32768. Just do *random*/1024 to get a random number from 1-32, then assign a witty statement to each number and write the appropriate bind file.

Final application is left as an assignment for the reader.
Ooookay. Little bit over my head. I'm not even sure what a batch file is, much less how to make/use one for this purpose.

Also, I'm running Windows 7.


The off-beat space pirate...Capt. Stormrider (50+3 Elec/Storm Science Corruptor)
The mysterious Djinn...Emerald Dervish (50+1 DB/DA Magic Stalker)
The psychotic inventor...Dollmaster (50 Bot/FF Tech Mastermind)

Virtue Forever.

 

Posted

Quote:
Originally Posted by StarGeek View Post
Not without using an external program of some sort. I do recall someone creating something to do this long time ago, but no clue where it might be.

Bah, easy enough, it was right there in the Guide to Guides

Linky
Excellent. I should be able to figure it out with this...


The off-beat space pirate...Capt. Stormrider (50+3 Elec/Storm Science Corruptor)
The mysterious Djinn...Emerald Dervish (50+1 DB/DA Magic Stalker)
The psychotic inventor...Dollmaster (50 Bot/FF Tech Mastermind)

Virtue Forever.

 

Posted

Quote:
Originally Posted by Aett_Thorn View Post
Marco is a pretty random wisecrack, yes.
Polo!


 

Posted

Quote:
Originally Posted by AkuTenshiiZero View Post
Excellent. I should be able to figure it out with this...
I've used this successfully in the past. It works.


Players Guide to the Cities

 

Posted

Oh, that's cute. It isn't technically random, but it rotates the phrase every second. So unless you use the bind on an exact schedule it is effectively random. If there were 30 phrases and you used the bind exactly every 30 seconds it wouldn't work, but no one would do that. Very clever.


[SIZE=1][COLOR=Yellow][U]Virtue Heroes (Serenity's Children):[/U] [B]@Eek a Mouse, The Devil's Mark, Outlaw Sniper, Gas-Soaked Rag Man, Amazon Prime, Friday's Child, Hot Blooded,[/B][B]Flower of the Moon[/B], [B]Rouge Demon Hunter[/B], Stimulated Emission, Animatronic Wench, [B]Lennie Small[/B]
[U]Virtue Villains (Serenity's Orphans):[/U][/COLOR][/SIZE][SIZE=1][COLOR=Yellow] [/COLOR][/SIZE] [SIZE=1][COLOR=Yellow] [B]Eek a Rat[/B], [B]Bomb Blondeshell[/B], Babe Brute, Jeanne Dark, Fallen Angle[/COLOR][/SIZE]

 

Posted

Quote:
Originally Posted by AkuTenshiiZero View Post
Ooookay. Little bit over my head. I'm not even sure what a batch file is, much less how to make/use one for this purpose.
Out of curiostiy, what does "5 1/4" mean to you?


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.

 

Posted

It seems the original batch file code written in the linked thread is borked.

If you're seeing this in the first post:

Code:
Target.bat contents (the "for" line is all one line):

@echo off

:TOP

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_fileC:\kb\target.txt">target.txt)&&sleep 1&&echo %%i

GOTO TOP
...then, replace the parts in red with the ones below in yellow:

Code:
Target.bat contents (the "for" line is all one line):

@echo off

:TOP

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_loadfile C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i

GOTO TOP
I'm using it right now, modified according to taste, and it's fine on Vista (x86)

I never realized how much fun I was missing without this.


Players Guide to the Cities

 

Posted

Quote:
Originally Posted by Kheldarn View Post
That makes me feel so old.

*curls up to TELIX, remembering days of dialing up BBSs to play L.O.R.D.*
You're not alone Kheldarn.

I've also experienced the death of 8-track tapes, audio cassettes, 5.25" floppies, betamax video, and now 3.25" floppies (whose birth I also saw).

When my friends were goofing around on their Ti99-4a's, and Commodore Vic-20s and C-64s I got myself an Apple IIc to do some *real* computing. 128Kb RAM FTW!

Schools used Apple II / IIe and Commodore PET machines profusely back then.

Heck, I was looking for way to play the original Lode Runner on Windows Vista just a few days ago.


Players Guide to the Cities

 

Posted

My first home computer was an Apple II - or was that Apple ][? Could never keep it straight.

Lode runner sounds fun Haven't played it in a loooong time.


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.

 

Posted

I miss my C-64. I had a lot of fun with that thing.


Comic and Hero/Villain Culture
Saturday January 29th, 2005 (12:37 PM) ~ Monday August 9th, 2010
Those Who Lived It Will Remember Long after your Ban Hammer Crumbles and the servers flicker dead.
We Will Remember This One Moment In Time! ~ Shadow Ravenwolf

 

Posted

Quote:
I've also experienced the death of 8-track tapes, audio cassettes, 5.25" floppies, betamax video, and now 3.25" floppies (whose birth I also saw).
How about 8" floppies, hehe. They never really caught on, but I've had a couple of computers with them. And betamax is still around, just not in North America where it lost the home video war to VHS. In Europe though, VHS lost out to it and was big there until DVD's.


Quote:
I miss my C-64. I had a lot of fun with that thing.
Me too Shadow, hehe. Actually, I don't really miss it I suppose, since I still own it, but its at my mothers 700 kilometers away, in a box in her basement, hehe. You wouldn't by chance remember a game called Baggit Man (or something to that effect) would you? Most played game on my old C-64, along with Castles of Doctor Creep and the Pit Stop series XD


 

Posted

Quote:
Originally Posted by Stalemate View Post
You're not alone Kheldarn.

I've also experienced the death of 8-track tapes, audio cassettes, 5.25" floppies, betamax video, and now 3.25" floppies (whose birth I also saw).

When my friends were goofing around on their Ti99-4a's, and Commodore Vic-20s and C-64s I got myself an Apple IIc to do some *real* computing. 128Kb RAM FTW!

Schools used Apple II / IIe and Commodore PET machines profusely back then.

Heck, I was looking for way to play the original Lode Runner on Windows Vista just a few days ago.
I remember the day my dad brought a VIC-20 home for us, we had soooo much fun with that.

It wasn't until 20 years later it dawned on me how much it must have cost him! He said it was important for us to understand computers....I blame him for the fact that I'm a software developer now


 

Posted

Quote:
Originally Posted by Suzumebachi View Post
I remember the day my dad brought a VIC-20 home for us, we had soooo much fun with that.

It wasn't until 20 years later it dawned on me how much it must have cost him! He said it was important for us to understand computers....I blame him for the fact that I'm a software developer now
I'd say you have a lot to thank him for actually.

(as I'm sure you do, of course)

My dad brought home a Trash-80 and I'm NOT a software developer now.


 

Posted

Quote:
Originally Posted by AkuTenshiiZero View Post
Okay, so here's the story...

One of my characters is supposed to be a chatty wisecracker. Think Deadpool or Spider-man. Point is, I want to set up a keybind to have him spout random wisecracks with a single button, from a set list.

I know it's possible to set up a cycling bind through /bindloadfile, so I could go through several phrases in a preset order. What I want to do is set up a randomized version, pulling a random phrase from the list each time. So, the question is: Is that possible, and how can I do it?
Mine are not random, but I set them up through the numpad; it's a lot easier to customize them for each character that way, and each character ought to get personalized ones in my opinion. I just do:

/bind numpad1 L The power of Cheese compels you, $target!

and so forth. The tags add, subtract, multiply, divide, and decimal all work as well.

This way I can call forth specific banter situationally, assuming I know what is actually bound to them. Decimal is dedicated to nagging Romulus:

/bind decimal g So you're Nictus? There are antibiotics for that, you know.



<《 New Colchis / Guides / Mission Architect 》>
"At what point do we say, 'You're mucking with our myths'?" - Harlan Ellison

 

Posted

I have a set of 53 insult taunt binds for my tanks -- some are modified Dangerfield lines, a couple of obligatory Python lines, a few "your Momma" jokes, and a few stupid ones -- well, ok, most of them are stupid. I just set them up to cycle, but there are so many of them, I have to be teamed with the same team for a while before they see repeats.

My first computer (in Grad School) was an Atari 800 -- it was my word processor for years. Better sound and graphics than the Apple ][ or the later C-64, and the original 800 was built solid. $899 got me 16K of RAM, and an extra $199 for a Cassette drive. I taught myself how to program in Assembler on that machine. Eventually I got a single-sided, single density 5 1/4 floppy drive, where we would use a hole punch to notch an edge of the disk to flip it over and use the other side. Those disks held 88K of data -- 76K after you put on DOS.

And a 300 baud Acoustic Modem (as in Wargames, where you put the phone handset in the black cups -- "Trimline" phones didn't fit) calling BBS's . . .


LOCAL MAN! The most famous hero of all. There are more newspaper stories about me than anyone else. "Local Man wins Medal of Honor." "Local Man opens Animal Shelter." "Local Man Charged with..." (Um, forget about that one.)
Guide Links: Earth/Rad Guide, Illusion/Rad Guide, Electric Control

 

Posted

I tried this... and discovered that most of the random statements were inappropriate to most situations or just not that funny. What I want is a guide to WRITING them.


A game is not supposed to be some kind of... place where people enjoy themselves!

 

Posted

I have used that macro for a while and it is good. The only issue I have with it is that you can't use 'z's in the text or the saying is truncated and the macro gets locked into just that saying. I had to go thru all the text and replace the 'z' with 's' in order to get around the problem.


Protector Server
Woeful Knight (BS/Regen/Body Scrapper)
Kevin Christian (MC/FF/Primal Controller)
SilverCybernaut (Eng/Dev/Munitions Blaster)
Apixie OhNo (Fire/Fire/Pyre Tanker)
Y'ru Glowen (Rad/Rad/Psy Defender)