ULX

Author Topic: !smoke , !explode command help  (Read 4576 times)

0 Members and 1 Guest are viewing this topic.

Offline batzz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
!smoke , !explode command help
« on: March 20, 2010, 12:50:44 AM »
I was trying to make a new !explode command,  which is understandable by the name and a !smoke command , but i failed :P Is there any chance anyone could help ?

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: !smoke , !explode command help
« Reply #1 on: March 20, 2010, 01:12:22 AM »
We'll need a little more detail and some code. I'm not the greatest with effects, but I can look over the rest, however, there are other members of the forums who I am sure can help and probably won't mind to either.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline batzz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: !smoke , !explode command help
« Reply #2 on: March 20, 2010, 01:28:16 AM »
Well , im a quite ( very ) new to LUA  , what files am i supposed to edit , i tried ulx/lua/modules etc. then the fun.lua thing.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !smoke , !explode command help
« Reply #3 on: March 20, 2010, 09:26:17 AM »
Never edit ulx addons folder files.
The next time you upgrade or re-install, your changes would get overwritten. (And, more likely, you could break ULX)
See my post in Developer's corner -
http://forums.ulyssesmod.net/index.php/topic,4531.msg18209.html#msg18209
It has a good base instruction for creating a addon for ULX.
As for a good basis, look how other releases here are done code wise. Explode or rocket come to mind without me looking at our releases.
Once you see the format of the code used for ULX (which to me is the easiest), then you have to figure out how to make Gmod do it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline batzz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: !smoke , !explode command help
« Reply #4 on: March 20, 2010, 10:08:12 AM »
Thanks for your reply JamminR.

Just a question :
Is there anyone who could help/teach me LUA free or for a very cheap price?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !smoke , !explode command help
« Reply #5 on: March 20, 2010, 10:19:04 AM »
Thanks for your reply JamminR.

Just a question :
Is there anyone who could help/teach me LUA free or for a very cheap price?

Why not teach yourself?

Resources in order of importance:
http://lua.org/pil
http://www.lua.org/manual/5.1/
http://ulyssesmod.net/docs
http://wiki.garrysmod.com/?title=Main_Page
Experiencing God's grace one day at a time.

Offline batzz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: !smoke , !explode command help
« Reply #6 on: March 20, 2010, 10:35:05 AM »