RimWorld

RimWorld

Vehicle Map Framework
[Closed]Date250402|Some issue with CE
Abbreviation: SW = Steam Workshop ver, Dev = GitHub Dev ver, CE = Combat Extended, e.g. = for example

related mods' link:
SW CE, Dev CE[github.com], and submod Grenade tweaks.

I have verified integrity.
I have no duplication while testing.
I have tested these issues below in vanilla too, in CE behave differently, so these are CE only.

quick modList import for RimSort: https://rentry.co/v32ey78a
GIFs link: https://imgur.com/a/HA2KuJJ

As GIF shows:
1. --Both SW and Dev
When targeting mapVehicle and if the grenade "touched" mapVehicle, the grenade teleported to a certain point, visually center of mapVehicle.
2. --Both
Can not target tiles inside of mapVehicle.
3. --Both
When throwing at edge tile of mapVehicle (the tile belong to normalMap), the grenade fly over mapVehicle dropped on other side.
I suppose the grenade drop around the aimed tile, if thrown hard the grenade contact with the hitbox of mapVehicle and fall to normalMap ground.
4. --Dev CE only
When range verb (e.g. grenades or firearms) attacking target inside of mapVehicle, where shooter aiming at is obviously incorrect.
5. --Both
[pawn just standing, pawn in seat, seat] in mapVehicle are not taking damage from [direct explosion] type, e.g. [bomb blasted] and [CE's unique EMP eletrical burn], e.g. which from [shells(mortar or 90mm flak), hand grenade, grenade launcher grenade].
But specially, [debug action\Explosion\....] , [pawn just standing] take damage from both EMP or Bomb,, [pawn in seat] and seat not take damage from the EMP, and these two take the Bomb.

While I repeatly doing test, sometimes some normalMap tiles became untargetable for grenades. Not sure why and I havent find the way to stably reproduce it.

6.
For CE's submod [Grenade tweaks],
Its [throwing grenades over walls] not working when targeting ground, just standing still. No error pops.



All these issue have not related error pops out, while testing and making GIF on my end.

hugslib logs
logs are generated after [Dev quicktest]
SW: https://pastebin.com/ha6RuJJa
Dev: https://pastebin.com/cigeKLFC
Last edited by 晓山alreShan; 11 Apr @ 11:26am
< >
Showing 1-2 of 2 comments
LS  [developer] 11 Apr @ 6:15am 
1. Essentially, it's a problem with CE itself. I'll explain later.

2. The methods for determining 'line of sight' are quite different between vanilla and CE environments. CE's method is much stricter, so line of sight does not pass through the ground under vehicles. Unfortunately, avoiding this is not easy.

3. CE seems to cause grenades to be thrown significantly further when aimed at unstandable terrain. You can easily observe this by throwing grenades at rock chunks. For targeting things on vehicle maps, I've resolved this by overriding the original method.

4. Fixed by update.

5. Pawns sitting in seats are treated as being inside the vehicle and are not spawned. Therefore, it is normal that they should not be hit by any explosions. The reason why it appears that normal explosions are hitting them is probably because the seat is destroyed by the explosion and the pawn is ejected, and then the explosion hits them again.

6. Fixed by update.

Thank you for the report. Feel free to provide any additional information.
@LS Thank you!
About 1. I'm OK whether explained, take your time :D
About 2. I fully understand it's not in priority and may not solved. You've mention it's hard to due with. And only senario which I can imagine is to throw grenade to percise location to avoid friendly damage. Considering it's rare case, which bassically just happen where enemy aboard in large mapVehicle.
It's CE after all lol. It's miracle for me you decided support it, I can't ask more. So again take your time.
< >
Showing 1-2 of 2 comments
Per page: 1530 50