A New Problem with LUA (Again) (updated)
Moderator: Moderators
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: A New Problem with LUA (Again) (updated)
Eh?
Sorry guys, some one is going to have to spell this out to me...
How would I apply this to my Map? I have hadd a hard day of exams, so learning new things is trickey at the moment...
Sorry guys, some one is going to have to spell this out to me...
How would I apply this to my Map? I have hadd a hard day of exams, so learning new things is trickey at the moment...
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: A New Problem with LUA (Again) (updated)
I sat down and finally went over the script, I think I have it working. It munges, but I couldn't test it ingame.
Hidden/Spoiler:
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
My Lua Project
LUA Project:
Essencialy, a Assalt mode/Unlimitedtime Hunt Mode, where you only get points for killing certain Units...
and none (idealy) for killing other units...
Unfortuanatly I have two problems:
1) The Local SIdes (the ones needed to be killed) wont spawn...
2) I do not think that the code I am using works (Although withiout the units spawning it is hard to test...
I would be greatfull for any help offered...
LUA:
Topics merged, -Staff
Essencialy, a Assalt mode/Unlimitedtime Hunt Mode, where you only get points for killing certain Units...
and none (idealy) for killing other units...
Unfortuanatly I have two problems:
1) The Local SIdes (the ones needed to be killed) wont spawn...
2) I do not think that the code I am using works (Although withiout the units spawning it is hard to test...
I would be greatfull for any help offered...
LUA:
Hidden/Spoiler:
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: My Lua Project
How is this topic different from this one? http://www.gametoast.com/forums/viewtop ... 27&t=26056
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: My Lua Project
Simple. That topic is about individual Bugs and CTDs that occur as a result of the LUA, while this one is a topic dedicated to actualy finding out whatcode works... Simply put, this one is working outthe LUA, while that one is fixing it when It breaks,... Which will...
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: My Lua Project
if you dont want somebody else to write the lua for you here, this topic isnt different from the initial one.
anyway, as i said before locals are set up differently. your extrateams are set up like ambushteams. that could be the reason why they dont spawn. do you have any errors in the bfront2log? do the mainteams span in other modes?
anyway, as i said before locals are set up differently. your extrateams are set up like ambushteams. that could be the reason why they dont spawn. do you have any errors in the bfront2log? do the mainteams span in other modes?
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: A New Problem with LUA (Again) (updated)
Ok, that is my Lua Up there. Does anyone know why The locals wont spawn?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: My Lua Project
DarthD.U.C.K. wrote:anyway, as i said before locals are set up differently. your extrateams are set up like ambushteams. that could be the reason why they dont spawn. do you have any errors in the bfront2log? do the mainteams spawn in other modes?
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: A New Problem with LUA (Again) (updated)
Eh? How Have I set them up wrong then?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: A New Problem with LUA (Again) (updated)
you didnt set them up like that
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: A New Problem with LUA (Again) (updated)
Like what? How should I have set them up then?
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: A New Problem with LUA (Again) (updated)
DarthD.U.C.K. wrote:you didnt set them up like that
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: A New Problem with LUA (Again) (updated)
Oh, I did not see that was a hyperlink.
Ok, Getting sick of this now... I still am having probs.... Here is the Erorr.
Here is the LUA:
Ok, Getting sick of this now... I still am having probs.... Here is the Erorr.
Hidden/Spoiler:
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: A New Problem with LUA (Again) (updated)
you have put the brackets wrong again
but they have to be like this
its nice that you try things out yourself but when you essencially hust have to copy a part from the tutorial or assets, you shouldnt modify it if its works.
Hidden/Spoiler:
Hidden/Spoiler:
