OpenXcom Forum
Modding => Work In Progress => Topic started by: SteamXCOM on June 07, 2017, 12:58:39 am
-
Editing LIGHTNING
Squaddies do not spawn on ground level
I just discovered these forums and download for OPENXCOM.
What a marvelous achievement to tweak XCOM the way we individually like!
I'd like to edit the LIGHTNING, a beautiful craft
With 1 HWP tank is all it needs, fine otherwise, I think.
This I've been fiddling with it since original Xcom under XCOMUTIL, but odd results as some soldiers spawned outside.
I would like to create space for a "pod" on the ground level
(similar to this mod except only 1 such area )
https://openxcom.org/forum/index.php?topic=3204.0
--where the 4 square platform is on the ground and
--either 1 tank or 4 squaddies are positioned.
--3 sides are walled off and it is more like a "pod" attached to the lightning. If a tank is in there it will be able to drive out.
In mapview I create the drop pod underneath the LIGHTNING using 4 squares from its floor tiles.
delete corresponding four floor tiles out of Lightning interior
(looks slick that way lower wall visible, also creates alternate exit)
Wall off 3 sides of lower platform using walls from LIGHTNING
Go int CRAFTS.rmp and insure positions are correctly added using "0" for ground level
ie
- [7, 3,1, 4]
- [7, 2, 1, 4]
- [8, 3,1, 4]
- [8, 2, 1, 4]
to
- [7, 3,0, 4]
- [7, 2, 0, 4]
- [8, 3,0, 4]
- [8, 2, 0, 4]
Other soldiers still on level 2.
LIGHTNING Shows up on tactical map
However all soldiers with 0 disappear, they do not spawn at all
AIf I change some soldiers to "1" placed over the open pod area hoping they will drop into place, they do not spawn at all
If I change some soldiers to "2" they spawn in corresponding tile of roof of LIGHTNING (level 3) with no problem.
However they do not spawn ANYWHERE on ground level,
What might be wrong?
-
Did you increase on the ruleset the number of soldiers/HWPs that the Lightning can carry?
-
Did you increase on the ruleset the number of soldiers/HWPs that the Lightning can carry?
I did not think it was a capacity issue since soldiers disappeared when set for ground level but no other level (unless placed over the area I removed the floor).
I did not add the tank yet since I was wanting to to see if it would work in concept (getting the squaddies to spawn where needed).
If it is just a .rul file adjustment, I'll add more capacity (12 to 14 or more ) and see if that helps,
On aircraft maps where squadies deployed on ground level, it is just a .rul set adjustment, no route maps (etc) have to be fixed ?
Thanks.
-
Are you useing the correct floor tile from the tileset - if you use the wrong one it might cause them not to spawn.
Also - posting a copy of your mod might help people find the problem for you.
-
Are you useing the correct floor tile from the tileset - if you use the wrong one it might cause them not to spawn.
Also - posting a copy of your mod might help people find the problem for you.
Interesting, i did not even know one by accident could even be using a wrong tileset. I was trying to add the alien elevator like in TAC LIGHTINING but could not figure out how to do it, as the tileset disappeared when switching from one craft to the other in mapview and copy paste did not have the previous selected tile.
OK looks like things are staring to happen now, getting the tank (or a couple of soldiers) where they belong on the lower level. Not sure why they were not spawning there before.
YAML errors cropping up using NOTEPAD ++ but fixed those by
Settings > Preferences > Language Menu/Tab Settings >
Check the box that says "Replace by space", click close,
Allows tab/ enter space properly for YAML without getting - or + in the margins that seems to cause some problems.
Another issue is MAPVIEW, on a Windows 7 computer, it works fine, but on a Windows 8.1 it seemed to develop the issue of once the main window is open, other windows cannot be worked with. Only one other window at a time can be open. This seems to be on all versions of Mapview. Edits are minimal so not problem, I could not imagine using it otherwise on bigger projects
-
OK here is the mod, the problems with spawning have been solved and it is entirely successful!
The first download includes screenshots
The other is the same except without the screenshot folder
-
Here are some screenshots
-
If all seem fine at some point I shall post in released mod thread.
---------------------------
Edit
Added to Mod section, no further issues discovered at this time, mod considered complete,
Thanks for the suggestions and hints, it may have been trying to add a tile from another set that bugged the spawning, fixed by starting over.
Odd MAPVIEW symptoms under WIN 8.1 posted in that thread about mapview
(NOTE MAPVIEW appears to work fine on another WIN 7 computer i have access to)