Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

LUA code libraries.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> LUA code libraries. Page: [1]
Login
Message << Older Topic   Newer Topic >>
LUA code libraries. - 9/12/2017 7:45:55 PM   
tjhkkr


Posts: 2367
Joined: 6/3/2010
Status: offline
Have anyone thought about...
or
is anyone interested in putting a LUA code section in the forums... we put our lua code out there.
I have found snippets of code here and there I never thought about but are GREAT ideas?

Anyone else interested?

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.
Post #: 1
RE: LUA code libraries. - 9/12/2017 8:26:16 PM   
stilesw


Posts: 1006
Joined: 6/26/2014
From: Hansville, WA, USA
Status: offline
tjhkkr,

Kevinkin and I started something like this some time back. We created a DropBox reference library for Lua code samples and other reference material. We've not done a whole lot with the Lua part but I'll be happy to give you access to the library if you PM me with your email address.

Thanks for the interest/ideas,

-Wayne Stiles

(in reply to tjhkkr)
Post #: 2
RE: LUA code libraries. - 9/13/2017 2:26:41 AM   
tjhkkr


Posts: 2367
Joined: 6/3/2010
Status: offline
Thank yoU!

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to stilesw)
Post #: 3
RE: LUA code libraries. - 9/18/2017 6:36:04 PM   
fortyporkpies


Posts: 18
Joined: 4/8/2009
From: Washington DC
Status: offline
Always have thought that that would be a great addition to the forums...

Attachment (1)

(in reply to tjhkkr)
Post #: 4
RE: LUA code libraries. - 9/19/2017 4:08:50 PM   
thewood1

 

Posts: 4066
Joined: 11/27/2005
Status: online
That is a great doc. I am going to add it to the document pdf zip I built, unless there are any objections.

(in reply to fortyporkpies)
Post #: 5
RE: LUA code libraries. - 9/19/2017 5:22:54 PM   
Randomizer

 

Posts: 1232
Joined: 6/28/2008
Status: online
@Fortyporkpies, An excellent resource, many thanks for compiling and uploading it.

-C

(in reply to thewood1)
Post #: 6
RE: LUA code libraries. - 9/19/2017 6:41:33 PM   
fortyporkpies


Posts: 18
Joined: 4/8/2009
From: Washington DC
Status: offline
Awesome!!
Yes, please upload! It's for everyone. And I'd love to see that zip when you get a chance!

Cheers
Nick G

(in reply to Randomizer)
Post #: 7
RE: LUA code libraries. - 9/19/2017 11:34:25 PM   
thewood1

 

Posts: 4066
Joined: 11/27/2005
Status: online
Added and uploaded...

Attachment (1)

(in reply to fortyporkpies)
Post #: 8
RE: LUA code libraries. - 9/20/2017 12:43:06 AM   
fortyporkpies


Posts: 18
Joined: 4/8/2009
From: Washington DC
Status: offline
Those pdfs are a goldmine. Thanks, guys.

< Message edited by fortyporkpies -- 9/20/2017 11:50:26 PM >

(in reply to thewood1)
Post #: 9
RE: LUA code libraries. - 9/20/2017 3:17:20 AM   
tjhkkr


Posts: 2367
Joined: 6/3/2010
Status: offline
quote:

ORIGINAL: thewood1
Added and uploaded...

Thank you for these .pdfs


_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to thewood1)
Post #: 10
RE: LUA code libraries. - 9/29/2017 11:56:11 PM   
angster

 

Posts: 75
Joined: 10/12/2015
Status: offline
Generic Helper Functions

Attachment (1)

< Message edited by angster -- 9/30/2017 12:00:24 AM >

(in reply to tjhkkr)
Post #: 11
RE: LUA code libraries. - 9/30/2017 1:35:00 AM   
fortyporkpies


Posts: 18
Joined: 4/8/2009
From: Washington DC
Status: offline
@angster - Thank you for posting these. The group manipulation functions are especially helpful!

_____________________________


(in reply to angster)
Post #: 12
RE: LUA code libraries. - 9/30/2017 1:33:49 PM   
stilesw


Posts: 1006
Joined: 6/26/2014
From: Hansville, WA, USA
Status: offline
angster,

Thanks for the code examples. I've included them in the unofficial CMANO Lua sample library. This is a companion repository to the unofficial Dropbox general CMANO reference library.

Anyone who would like access to the Lua reference or general reference libraries please PM me with your email address and I will add you to the access lists.

Also, anyone who has Lua code samples or other reference material of interest to the CMANO community, let me know and I can include them in the Dropbox files.

Thanks,

-Wayne Stiles

(in reply to angster)
Post #: 13
RE: LUA code libraries. - 10/5/2017 3:42:29 PM   
Halsey1945

 

Posts: 21
Joined: 5/18/2015
Status: offline
Not sure if this is the place to put this, but I made a program to create ScenEdit_AddUnits in Python. I was wondering if there are any special requirements or suggestions anyone can think of. Also, if I should try and make it in other languages. Here is what I have so far:

A command prompt program that asks for unit type, decides what info is needed, asks for it, sends it to the right function (air, facility, ship, submarine), and prints the results.

A program that takes an input file, creates a list by line of the input, takes the first input as unit type, decides needed info, sends to the right function, adds it to a result list, continues until there is no more list elements, and prints the results to a output file. This one is the most troublesome one. Also, right now you have to edit in the file names.

my programming skills are rudimentary at best, but I am a quick and dedicated learned. And, I am hoping to help others.

(in reply to stilesw)
Post #: 14
RE: LUA code libraries. - 10/5/2017 3:55:08 PM   
stilesw


Posts: 1006
Joined: 6/26/2014
From: Hansville, WA, USA
Status: offline
Halsey1945,

Well, I've never done anything in Python (old FORTRAN, COBOL, Pascal, C/C+, and Basic guy). I have done Lua within CMANO. I'd be happy to check out what you have created but the CMANO Lua expert is michaelm.

I also informally maintain the unofficial CMANO DropBox Reference and Lua Code sample library - happy to give you access if you PM me with your email address.

-Wayne Stiles

(in reply to Halsey1945)
Post #: 15
RE: LUA code libraries. - 10/5/2017 10:11:23 PM   
Halsey1945

 

Posts: 21
Joined: 5/18/2015
Status: offline
Here is what I have so far.

Attachment (1)

(in reply to stilesw)
Post #: 16
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> LUA code libraries. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.133