Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » LuaPlugin
LuaPlugin [message #270046] Sun, 01 July 2007 21:43 Go to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
http://forums.dcomproductions.net/viewtopic.php?f=14&t=7
Re: LuaPlugin [message #270052 is a reply to message #270046] Sun, 01 July 2007 22:05 Go to previous messageGo to next message
Whitedragon is currently offline  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 Go to previous messageGo to next message
Whitedragon is currently offline  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 #270058 is a reply to message #270046] Sun, 01 July 2007 22:42 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
What scripts?

EDIT: yes just realized about the version, i'll update that.

[Updated on: Sun, 01 July 2007 22:43]

Report message to a moderator

Re: LuaPlugin [message #270059 is a reply to message #270046] Sun, 01 July 2007 22:52 Go to previous messageGo to next message
Whitedragon is currently offline  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 #270063 is a reply to message #270046] Sun, 01 July 2007 23:48 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Yeah, this was going to be in a later release. I wasn't doing anything with it so i thought i may as well release it.
Re: LuaPlugin [message #270206 is a reply to message #270063] Mon, 02 July 2007 13:07 Go to previous messageGo to next message
HORQWER is currently offline  HORQWER
Messages: 667
Registered: September 2006
Location: Under my bed (lolz)
Karma: 0
Colonel
what s luaplugin
what does it work
what ist for
how d i make it work
pleasehelp


http://www.roleplay2.com/downloads/siggy.jpg
Re: LuaPlugin [message #270210 is a reply to message #270046] Mon, 02 July 2007 13:19 Go to previous messageGo to next message
Dave Anderson is currently offline  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 #270214 is a reply to message #270046] Mon, 02 July 2007 13:50 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
What Dan's done is awesome. I've been busy this morning porting my regulator over to Dan's Lua Plugin.



-MathK1LL


P.S.

To get more information, visit DCOM Productions .NET forums.
Re: LuaPlugin [message #270674 is a reply to message #270046] Wed, 04 July 2007 05:06 Go to previous messageGo to next message
wittebolx is currently offline  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!!


Re: LuaPlugin [message #270692 is a reply to message #270674] Wed, 04 July 2007 07:07 Go to previous messageGo to next message
HORQWER is currently offline  HORQWER
Messages: 667
Registered: September 2006
Location: Under my bed (lolz)
Karma: 0
Colonel
if u have cnc TFD u should see this tutorial http://renhelp.net/index.php?load=7
it could help u


http://www.roleplay2.com/downloads/siggy.jpg
Re: LuaPlugin [message #270700 is a reply to message #270674] Wed, 04 July 2007 10:49 Go to previous messageGo to next message
Ryu is currently offline  Ryu
Messages: 2833
Registered: September 2006
Location: Liverpool, England.
Karma: 0
General (2 Stars)

wittebolx wrote on Wed, 04 July 2007 07:06

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!!


AFAIK the LuaPlugin shouldn't make LevelEdit crash - Thats something you've done in LevelEdit.


Presence is a curious thing, if you think you need to prove it... you probably never had it in the first place.
Re: LuaPlugin [message #270701 is a reply to message #270046] Wed, 04 July 2007 10:55 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
He not talking about the plugin crashing LE.
Re: LuaPlugin [message #270708 is a reply to message #270046] Wed, 04 July 2007 11:26 Go to previous messageGo to next message
Ryu is currently offline  Ryu
Messages: 2833
Registered: September 2006
Location: Liverpool, England.
Karma: 0
General (2 Stars)

Alex wises the Edit Button stayed there longer.

Alex feels he got owned.


Presence is a curious thing, if you think you need to prove it... you probably never had it in the first place.
Re: LuaPlugin [message #270711 is a reply to message #270046] Wed, 04 July 2007 11:45 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Don't worry about it, simple mistake. Wink
Re: LuaPlugin [message #270770 is a reply to message #270046] Wed, 04 July 2007 15:25 Go to previous messageGo to next message
wittebolx is currently offline  wittebolx
Messages: 332
Registered: May 2007
Location: the netherlands
Karma: 0
Recruit
the biggest problems are solved, im using the XCC mix editor and i loaded the always.dat
so i still can see some of the preset names.

but thx for the help guys,

btw check out the server Wink
wittebolx c&c mode
a0000000u


Re: LuaPlugin [message #270820 is a reply to message #270674] Wed, 04 July 2007 20:40 Go to previous messageGo to next message
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 #271039 is a reply to message #270820] Thu, 05 July 2007 19:01 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
I have no idea how to use this. What files do I edit to do what?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: LuaPlugin [message #271040 is a reply to message #270046] Thu, 05 July 2007 19:06 Go to previous messageGo to next message
Dave Anderson is currently offline  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 #271043 is a reply to message #271040] Thu, 05 July 2007 19:13 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
Posted.

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: LuaPlugin [message #271047 is a reply to message #270046] Thu, 05 July 2007 19:37 Go to previous messageGo to next message
Whitedragon is currently offline  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 - )
Re: LuaPlugin [message #271061 is a reply to message #270770] Thu, 05 July 2007 20:20 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
wittebolx wrote on Wed, 04 July 2007 18:25

the biggest problems are solved, im using the XCC mix editor and i loaded the always.dat
so i still can see some of the preset names.

but thx for the help guys,

btw check out the server Wink
wittebolx c&c mode
a0000000u

SO YOUR THE ONE WHO STOLE OUR BOUGHT SERVER HOSTNAME! we tried for hours, our old hostname was a with 7 zeros and u at the end, and we have had it for a loooonnnnnnggg time till now.


http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: LuaPlugin [message #271062 is a reply to message #270046] Thu, 05 July 2007 20:23 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
good idea, I'll put that in the next release.
planned for the next release:
1) finish the chat hook, so you can return 0 to stop the message. (note, i may not be able to do this without overwriting SSGM's chat hook)
2) purchase hooks
3) Multiple Lua file loading
4) FDS Commands
5) You can make your own scripts (EG: to use with Attach_Script().
6) Fix the dam bug that stops you from seeing the Lua compilation error.
7) Fix the SSGM warning.
Re: LuaPlugin [message #271093 is a reply to message #270046] Thu, 05 July 2007 22:05 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
SO rash, if i want to make a crate what scripts would I use then? I understand making a vehicle or object spawn, but what about character changing and such?

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: LuaPlugin [message #271124 is a reply to message #270046] Fri, 06 July 2007 01:56 Go to previous messageGo to previous message
Goztow is currently online  Goztow
Messages: 9739
Registered: March 2005
Location: Belgium
Karma: 14
General (5 Stars)
Goztoe
If you can make a post explaining in understandable English what this is and what it does, then feel free to post it for rencom (http://www.renegadeforums.com/index.php?t=post&frm_id=45&rid=8). Ignore the error when u sent the news post.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Previous Topic: [scripts]WWH SSM 1.0
Next Topic: [models]free new characters
Goto Forum:
  


Current Time: Fri Dec 27 01:38:36 MST 2024

Total time taken to generate the page: 0.01409 seconds