
SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 12, 2009 01:08 PM
Msg. 1 of 17
Hi, Im a complete noob and i want to know this one thing. can anyone make (some how) a way to give bots death messeges, like on online play. Like: (name of biped) Rosted (your acount name) with an flamethrower. instead of (your name) commited suiside. Plz respond 
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 12, 2009 02:05 PM
Msg. 2 of 17
Through string list editing and scripts. I did something similar in my Personality bot.
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 14, 2009 06:09 PM
Msg. 3 of 17
Wait whats your personality bot?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 14, 2009 06:31 PM
Msg. 4 of 17
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 20, 2009 03:21 PM
Msg. 5 of 17
cool,
how did you learn to do that? Can you tell me
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 20, 2009 06:17 PM
Msg. 6 of 17
A bunch of scripts, mostly involving begin_random and sv_say.
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Sep 21, 2009 12:02 AM
Msg. 7 of 17
will you ever release your personality bot?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 21, 2009 12:37 AM
Msg. 8 of 17
What's to release? The scripts?
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Sep 21, 2009 05:32 PM
Msg. 9 of 17
it would be fun to experiment with them
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Sep 21, 2009 05:41 PM
Msg. 10 of 17
I can guess how he did it. (script continuous talk (sleep_until (= (unit_get_health [unit name]) 0) ) (begin_random (sv_say "Message 1") (sv_say "Message 2") (sv_say "Etc...") ) (object_create_anew [unit name]) ) Something like that. Edited by chrisk123999 on Sep 21, 2009 at 05:42 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 21, 2009 10:46 PM
Msg. 11 of 17
Problem with that would be that it keeps typing. You need to have a boolean to turn off when you type, so that it doesn't continuously chat. I would paste the script here, but it's kinda long, so I won't.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Sep 21, 2009 10:56 PM
Msg. 12 of 17
No, because it also recreates it at the end. So it should only say it once.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 21, 2009 11:18 PM
Msg. 13 of 17
No, because that's how the begin random command works. It'll keep repeating, unless you use a start and a stop boolean.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Sep 21, 2009 11:22 PM
Msg. 14 of 17
O.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 23, 2009 06:59 PM
Msg. 15 of 17
Oh really. Try it ingame. I could be wrong. The syntax I used for the command was from an example script that Kirby showed me, when I asked how he would do the random script for Firefight better than how I was doing it originally.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Sep 23, 2009 07:56 PM
Msg. 16 of 17
That's what I assumed.
HS Doc says it does only 1, so I think it should work. Edited by chrisk123999 on Sep 23, 2009 at 07:56 PM
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 25, 2009 04:34 PM
Msg. 17 of 17
Woah, Brain overload 
|
|
|