Mode Help Again [Solved]
Moderator: Moderators
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Mode Help Again [Solved]
Ok i need a reminder on all the steps that need to be taken in order to add a mode such as c_eli. I've done this, and I think i have skipped something.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
This is alot... but this was a chat with Schizo i had over Xfire about doing what you want to do... It's long, but Im sure it will help... (it's a conversation)
Ok... just forget the part with the adding the conquest in the eli mode in the LUA... and BOM is my letter name 
Edit: and forget getting rid of the GCW mode if you want it
Hidden/Spoiler:
Edit: and forget getting rid of the GCW mode if you want it
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Hmmm i have done all that...
take a look at my scripts
RVTc_eli.lua
mission.req
RVTc_eli.req (from Common/mission)
addme.script
take a look at my scripts
RVTc_eli.lua
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Last edited by SBF_Dann_Boeing on Fri Jan 19, 2007 10:36 pm, edited 2 times in total.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Looks fine to me... did you try even try assault?
Make sure you have a LUA for it named ***c_eli with all the appropriate parts... included...
I think your Addme script is ok
everything in your mission script is ok..
It looks like you have everything... IF Asault doesn't work i dont know what's wrong.
Make sure you have a LUA for it named ***c_eli with all the appropriate parts... included...
I think your Addme script is ok
everything in your mission script is ok..
It looks like you have everything... IF Asault doesn't work i dont know what's wrong.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
LUA error?
[/quote][/hide]SBF_Dann_Boeing wrote:Hmmm i have done all that...
take a look at my scripts
RVTc_eli.luaHidden/Spoiler:
I think the line highlighted in red should be:
ReadDataFile("dc:RVT\\RVT.lvl", "RVT_eli")
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
yes but that is there on purpose so it can just read from the conquest layer. this works in gcw so i don't see why this wouldn't work in cw.
EDIT
now i'm getting an error reported in the BFront2.log
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: bad argument #1 to `AddUnitClass' (number expected, got nil)
stack traceback:
[C]: in function `AddUnitClass'
(none): in function `ScriptInit'
There seems to be an error surrounding the AddUnitClass part of the setup teams. I'll try removing it and see what happens
EDIT2
ok i have finally found the problem:
AddUnitClass(ALL,"rep_hero_quinlan", 1,2)
i forgot to change "ALL" to "REP" in this and the other AddUnitClass
EDIT
now i'm getting an error reported in the BFront2.log
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: bad argument #1 to `AddUnitClass' (number expected, got nil)
stack traceback:
[C]: in function `AddUnitClass'
(none): in function `ScriptInit'
There seems to be an error surrounding the AddUnitClass part of the setup teams. I'll try removing it and see what happens
EDIT2
ok i have finally found the problem:
AddUnitClass(ALL,"rep_hero_quinlan", 1,2)
i forgot to change "ALL" to "REP" in this and the other AddUnitClass
