ULX

Author Topic: Gimp commands  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Offline Patrick_

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Gimp commands
« on: July 16, 2006, 02:07:00 PM »
After gimping the player, what are the commands to make them say, or to send a command? I looked through the gimp script and didn't see it.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Gimp commands
« Reply #1 on: July 16, 2006, 02:25:28 PM »
It's in ulx_fun.lua in a table, you can't miss it  ;)
Experiencing God's grace one day at a time.

Offline Patrick_

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Gimp commands
« Reply #2 on: July 16, 2006, 02:46:11 PM »
Actually, that was the script I looked through. There was not a table in it. I don't know why, but it is all script. Do you think you can post them?


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Gimp commands
« Reply #3 on: July 16, 2006, 02:47:03 PM »
Ah, I didn't understand you at first. You don't speak through the player, their speech is merely messed up.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gimp commands
« Reply #4 on: July 16, 2006, 05:32:33 PM »
Patrick, though you can't force the player to speak realtime (at least, not with current implimentation of ULX) if you would like to edit what is said.
scroll to the bottom of ulx_fun.lua and look up about 20-30 lines,
find the following exact line
-- Gimp Messages --

there are several 'table.insert( gimp_say,....' lines there.
Add more following same format listed there.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming