Ulysses

General => Developers Corner => Topic started by: batzz on March 20, 2010, 12:50:44 AM

Title: !smoke , !explode command help
Post by: batzz 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 ?
Title: Re: !smoke , !explode command help
Post by: jay209015 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.
Title: Re: !smoke , !explode command help
Post by: batzz 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.
Title: Re: !smoke , !explode command help
Post by: JamminR 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.
Title: Re: !smoke , !explode command help
Post by: batzz 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?
Title: Re: !smoke , !explode command help
Post by: Megiddo 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
Title: Re: !smoke , !explode command help
Post by: batzz on March 20, 2010, 10:35:05 AM
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


Thanks Megiddo , ill check them out.