Author Topic: new command  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

Offline fast0nitro

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
new command
« on: October 09, 2013, 05:21:33 PM »
Hello I was recently on a server and I saw some really neat commands which was called party mode. It basically had a dlabel jumping around the screen that said party mode and your screen
color was changing between random colors, and Had of course, party music in the background.  I know this is a very easy command to make. The dev said so himself and gave some hints
here's what I have. And please realize I've never coded a command before but am trying to learn.  Here's my guess's but I do not know how to add them together.
making a dlabel and randomizing its position somehow He said he uses postscreeneffectspace hook for the color changing effect and he said to use math.random to calculate the position and randomiz the colors of the screen. Any idea's On how to make this? Am very willing to learn.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: new command
« Reply #1 on: October 09, 2013, 07:19:51 PM »
Read the sticky "Getting started with Lua" for some good resources to get moving on this project.
Experiencing God's grace one day at a time.