|
Re: LuaPlugin [message #270052 is a reply to message #270046] |
Sun, 01 July 2007 22:05 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Good job. You compiled it with the 2.0 Beta 2 source though, so anyone running the public versions will get a warning when they load it. Recompile it with the 2.0.1 source. Might want to include some instructions on how to install it too.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
[Updated on: Sun, 01 July 2007 22:12] Report message to a moderator
|
|
|
Re: LuaPlugin [message #270057 is a reply to message #270046] |
Sun, 01 July 2007 22:39 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Hmm, it doesn't seem to support scripts like RenLUA. Why is that?
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
|
Re: LuaPlugin [message #270059 is a reply to message #270046] |
Sun, 01 July 2007 22:52 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
RenLUA had a scripting interface where you could make renegade style scripts similar to the C++ scripts.
You'd make a file <Preset>.lua and then that would be attached to all objects of that preset. You could also use a function to attach differently named scripts to objects.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
[Updated on: Sun, 01 July 2007 23:20] Report message to a moderator
|
|
|
|
|
Re: LuaPlugin [message #270210 is a reply to message #270046] |
Mon, 02 July 2007 13:19 |
|
Dave Anderson
Messages: 1953 Registered: December 2004 Location: United States
Karma: 0
|
General (1 Star) |
|
|
You won't get support here. You need to register and ask support questions on our forums.
David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
|
|
|
|
Re: LuaPlugin [message #270674 is a reply to message #270046] |
Wed, 04 July 2007 05:06 |
|
wittebolx
Messages: 332 Registered: May 2007 Location: the netherlands
Karma: 0
|
Recruit |
|
|
what are the presets that can be used in the luaplugin.lua ?
my leveledit crashes each time when the presets are loading, so i cant see wich presets i can use.
is there a list somewhere or can someone help me with the leveledit, i\ve tryied anything, but no succes.
and BTW the LUA plugin is great!!
http://www.wittebolx.com
|
|
|
|
|
|
|
|
|
Re: LuaPlugin [message #270820 is a reply to message #270674] |
Wed, 04 July 2007 20:40 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
wittebolx wrote on Wed, 04 July 2007 06:06 | what are the presets that can be used in the luaplugin.lua ?
|
presets.cfg from BRenBot. It contains a list of all the different presets in Renegade. There may be some that aren't in there, so just look in Leveledit (pray it doesn't crash on you xD)
-MathK1LL
-
Attachment: presets.cfg
(Size: 15.04KB, Downloaded 120 times)
|
|
|
|
Re: LuaPlugin [message #271040 is a reply to message #270046] |
Thu, 05 July 2007 19:06 |
|
Dave Anderson
Messages: 1953 Registered: December 2004 Location: United States
Karma: 0
|
General (1 Star) |
|
|
Like I said, you will not get support here. Register and post on our forums.
David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
|
|
|
|
Re: LuaPlugin [message #271047 is a reply to message #270046] |
Thu, 05 July 2007 19:37 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Suggestion: Make your example !build commands use Purchase_Item instead of Get_Money/Set_Money.
if Purchase_Item(Get_GameObj(pID),<cost>) then
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
|
|
|
|