Q!: I try to use GIMP to open the tga's, but whenever I open them the skin is convered in a grey checkerboard, is there a way to get rid of this? And to create a skin do I just have to edit the tga, or do i need to edit the msh?
Q2: For my map: Both sides have their own command posts (red and blue cps show up on the map), but the Empire never spawns. I tired to play as them, it wouldn't even let me spawn. The empire's ATAT doesn't spawn either. I think it is a lua problem but I am not sure. Does anyone know a good solution?
Q3: I put in the capture/control/spawn path/regions on my map, but I am still unable to capture cp's. Why?
RE: Mapping Help.
Posted: Mon Sep 04, 2006 11:29 am
by Moving_Target
Q3 - Select the region and lower it into the ground abit. I'm guessing at the default height it's too high 4 a soldier to enter.
RE: Mapping Help.
Posted: Mon Sep 04, 2006 11:33 am
by Aussie_Irishman
perhaps you havent configured the Lua correctly to allow for the Cp's, or perhaps you havent put the right stats in for the actual cp's/capture/control/spawn regions....or thirdly, perhaps you did them on a different layer to the one you are attempting to play....a different layer is a different game mode.
AJay
RE: Mapping Help.
Posted: Mon Sep 04, 2006 2:51 pm
by Kaos4
I think everything is correct. I tried to create a skin too. When i munge it says Targa type 10 currently not supported.
EDIT
nvm I fixed the targa problem. I did some reworking and now all units spawn. The cp's are still uncapturable though. What do I need to add to the Lua? Does the vehicle spawn need to be placed IN the cp control region?
You don't need control regions
Posted: Mon Sep 04, 2006 2:55 pm
by AceMastermind
You don't really need "control regions" unless you want them, but you do need "capture regions" at your CP so that you can capture it.
Posted: Tue Sep 05, 2006 3:51 pm
by Kaos4
If I add a vehicle spawn/ a vehicle (ATAT) How do I define it in the LUA? Do I need to add something to the Lua? Thanks
Adding an AT-AT to the LUA
Posted: Tue Sep 05, 2006 5:48 pm
by AceMastermind
In your ABCg_con.lua, scroll down to:
ReadDataFile("SIDE\\imp.lvl",
"imp_walk_atat") <=======Add this line
Add the number of walkers you want:
ClearWalkers() <=========uncomment this line, it should look like this
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs) <===AT-ST, AT-RT
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs) <===AT-AT, Spider Walker
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs) <=======ATTE
Add this line under the memory pools:
SetMemoryPoolSize ("CommandWalker", 1) <==========If you have "1" command walker
Posted: Wed Sep 06, 2006 5:05 pm
by Kaos4
That worked. The ATAT doesn't have sounds though. If I delete the Clone era LUA does it make the map gcw only? Thanks for all the help.
Posted: Wed Sep 06, 2006 6:00 pm
by Hebes24
You need to do that, and delete the Clone wars parts of the addme.lua, which is located in data_***\addme (*** = 3 letter Mod ID )
Posted: Sat Sep 09, 2006 5:49 pm
by Kaos4
Hmm.. My CP's are still not working, only the imperial ones aren't working. I think it is a Lua Problem. I have the control and capture regions set up. Here is the spawn section of my Lua.
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:Start()
EnableSPHeroRules()
end
Once again i'd like to thank you all for your help and patience
EDIT
This is kinda wierd, but...my map was working yesterday, and now when I run it it crashes. I was testing out other maps in my addon folder and Penguin's Tatooine Valley also crashes (it worked before). All my other maps work fine.