Lua Editor - v0.5 released

Releasing the source files for your mod or map? Post em' here. (Applies to both SWBF1 & SWBF2)

Moderator: Moderators

User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Lua Editor - v0.5 released

Post by lucasfart »

It can't do anything you can't do yourself. This is a tool mainly to make lua writing faster, easier, and lot less error-prone.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

Slime615 wrote:I know this is alittle bump, but it is relevent. What can this editor do that you can't do in notepad?
Like lucasfart said.

This version was mainly a test. 1.0 RC1 will have so many new features it would make people who use notpad look like a noob.


Just a question, which one looks better?
0.5:
Hidden/Spoiler:
Image
1.0 RC1:
Hidden/Spoiler:
Image

(ignore the "Noob View" button untill next update)
Slime615
Lieutenant General
Lieutenant General
Posts: 704
Joined: Thu Jan 07, 2010 9:38 am

Re: Lua Editor - v0.5 released

Post by Slime615 »

I like bits of both... Which is simpler I guess...
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Lua Editor - v0.5 released

Post by theultimat »

I prefer the second one, it looks more professional IMO.
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Lua Editor - v0.5 released

Post by Darth_Spiderpig »

theultimat wrote:I prefer the second one, it looks more professional IMO.
This. :thumbs:
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

Thanks for the comments :)
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Lua Editor - v0.5 released

Post by kinetosimpetus »

Darth_Spiderpig wrote:
theultimat wrote:I prefer the second one, it looks more professional IMO.
This. :thumbs:
*Agree*
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

kinetosimpetus wrote:
Darth_Spiderpig wrote:
theultimat wrote:I prefer the second one, it looks more professional IMO.
This. :thumbs:
*Agree*
:D


oh, and this may make some of you happy, 1.0 i started from scratch. So, its compatable with 3.5 version of the .NET framework.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: Lua Editor - v0.5 released

Post by swado95 »

I've been fooling around and I made this.
Hidden/Spoiler:
If OnEnterRegion(9b)
Then
+reinforcements = 20

Conquest:AddCommandPost(cp_1)


End
Dose this look like it could work or am i out of my mind (this is first time ever)
Im trying to get it so when you step in region (9b) you take (cp_1), and have 20 reinforcements added.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

i would say no.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: Lua Editor - v0.5 released

Post by swado95 »

Would would i do to fix or make it work? And any tutorials on this subject.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

Code: Select all


9b = OnEnterRegion(
      function()
            count = GetReinforcementCount(ATT)
            SetReinforcementCount(ATT, count + 20)
            thecp = CommandPost:New{name = "thename", hideCPs = false}
            thecp:AddCommandPost(Objective1CP)
      end,
      "9b"
)
*may* work

i think it about time to get back on topic..
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Lua Editor - v0.5 released

Post by lucasfart »

501st_commander wrote:
kinetosimpetus wrote:
Darth_Spiderpig wrote:
theultimat wrote:I prefer the second one, it looks more professional IMO.
This. :thumbs:
*Agree*
:D


oh, and this may make some of you happy, 1.0 i started from scratch. So, its compatable with 3.5 version of the .NET framework.
Yay! I'll finally be able to use it :) . Thanks heaps for making the changes 501st. Can't you use bits and pieces of the script for the 3.5 version? That seems a bit crazy just for an update to totally change everything.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor - v0.5 released

Post by 501st_commander »

lucasfart wrote:
501st_commander wrote:
kinetosimpetus wrote:
Darth_Spiderpig wrote:
theultimat wrote:I prefer the second one, it looks more professional IMO.
This. :thumbs:
*Agree*
:D


oh, and this may make some of you happy, 1.0 i started from scratch. So, its compatable with 3.5 version of the .NET framework.
Yay! I'll finally be able to use it :) . Thanks heaps for making the changes 501st. Can't you use bits and pieces of the script for the 3.5 version? That seems a bit crazy just for an update to totally change everything.
Frameworks are different. Each version is a hole new script. If you reference 4.0 in a program, thats all you can use. Same with 3.5.

Whats weird is full versions (x.0) are a hole new thing. Updates only come in... updates (ex. 4.x). So, like i said, if you use version 4.x then all you can use is 4.x. Unless you start over.

I hope that made sense..
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Lua Editor - v0.5 released

Post by lucasfart »

I get you, although its spelt "whole" not "hole". :wink:
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: Lua Editor - v0.5 released

Post by swado95 »

Are you able to save because i cant for some reason.
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Lua Editor - v0.5 released

Post by mswf »

swado95 wrote:Are you able to save because i cant for some reason.
Do you have the correct version of .net framework?
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: Lua Editor - v0.5 released

Post by swado95 »

Ya i downloaded for link am i suppose to save in a special way?
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Lua Editor - v0.5 released

Post by mswf »

No, I meant install it correctly, so did you?
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: Lua Editor - v0.5 released

Post by swado95 »

ya im pretty sure i did
Post Reply