Try to add bodyCleanupTime:r=30 to these ai tanks.
it works! tysm!
You can add some zombie clothes to these soldiers.
(There some minor errors with } and I can’t edit message anymore).
Something like it for zombie_ai_vehicle_tank_crew_member entity:
"human_equipment__initialEquip:object"{
zombie_helmet:t="skined_helmet"
zombie_head:t="face"
zombie_tunic:t="tunic"
zombie_gloves:t="gloves"
zombie_belt:t="belt_1"
zombie_body:t="belt_2"
zombie_pants:t="pants"
}
You also can try to use some zombie entities to these crews. Maybe after that they will run/move when outside tanks.
Ok next thing in list:
How to make custom zombies (i am not interested in skin (yet) but weapons they hold)
I want to make a katana zombie. I know i have seen someone asking in some other forum page but i can no longer find it
Also, i would like know about a universal solution to zombies with different weapon. Like i can just replace the name of weapon and rename the zombie and then i can add them to the spawner. Sth like that
Almost all info about zombie mod you can find here: [Info] Zombies Mode Modding.
Almost same with new zombie. Just need to add weapon inside human_weap__weapTemplates. Ammo inside human_weap__weapInfo and human_weap__template_deps_list (it should have only ammo/items). Here is full code:
zombie_test_armored{
_use:t="base_zombie_armored_soldier"
killLogName:t="zombie/uber_armored"
"human_weap__weapTemplates:object"{
primary:t="thompson_m1928a1_50_drum_gold_zombie_gun"
secondary:t=""
tertiary:t=""
melee:t=""
grenade:t="grenade_thrower"
}
"human_weap__weapInfo:array"{
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="m1921_thompson_drum"
numReserveAmmo:i=100
}
"human_weap__weapInfo:object"{}
"human_weap__weapInfo:object"{}
"human_weap__weapInfo:object"{}
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="mk2_grenade_item"
numReserveAmmo:i=3
"additionalReserveAmmoTemplates:array"{
item:t="medkit_item"
}
"additionalNumReserveAmmos:array"{
item:i=1
}
}
}
_group{
_tags:t="server"
"human_weap__template_deps_list:list<t>"{
item:t="thompson_m1928a1_50_drum_gold_zombie_gun"
item:t="m1921_thompson_drum"
item:t="mk2_grenade_item"
item:t="medkit_item"
}
}
"walker_agent__distanceToShootError:shared:array"{
"error:object"{
distance:r=0.0
min:p2=0.0, 0.0
max:p2=0.5, 1.0
maxEnd:p2=0.0, 0.0
}
"error:object"{
distance:r=25.0
min:p2=0.5, 0.8
max:p2=0.5, 1.2
maxEnd:p2=0.3, 0.5
}
"error:object"{
distance:r=50.0
min:p2=0.7, 1.3
max:p2=2.0, 2.0
maxEnd:p2=1.3, 1.4
}
"error:object"{
distance:r=100.0
min:p2=0.6, 1.4
max:p2=2.0, 2.0
maxEnd:p2=2.0, 2.0
}
}
}
(Property walker_agent__distanceToShootError probably changes accurace).
Medkit and grenade are just for example. Maybe you will want to add grenadiers or zombies that can self-revive.
where can i get the templates if i were to make those tanks?
You can create entity and use info from properties panel. Or you can try to use search in forum / ask Bazsi37 or ErikaKalkbrenner.
Here is seats code for Ho-I and Chi-Nu:
"vehicle_seats__seats:shared:array"{
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="bone_camera_gunner"
cockpitTemplate:t="jp_type_2_ho_i_gunner_cockpit"
"turretNames:array"{
turret:t="turret_01"
}
}
"seats:object"{
name:t="driver"
locName:t="vehicle_seats/driver"
seatOwnsEntityControl:b=yes
attachNode:t="driver"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.25, 0.0]]
seatComponent:t="isDriver"
nextSeat:t="main_gunner"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="driver"
cameraNodeName:t="bone_camera_driver"
cameraOffset:p3=0.15, -0.0, -0.0
cockpitTemplate:t="jp_type_2_ho_i_driver_cockpit"
}
"seats:object"{
name:t="commander"
locName:t="vehicle_seats/commander"
attachNode:t="commander"
shouldHideOwner:b=yes
maxPosWithOpenHatch:r=1.2
hatchRotationAxis:p3=1.9, 0.0, 0.0
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.05, -0.8, 0.18]]
seatComponent:t="isDriver"
receiveDamageFromDMPart:t="commander"
cameraNodeName:t="bone_turret"
cockpitTemplate:t="jp_type_2_ho_i_commander_cockpit"
"hatchNodes:array"{
node:t="hatch_05"
node:t="hatch_04"
}
"hatchTurretNames:array"{
turret:t="turret_03"
}
}
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/additional_gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="root"
cockpitTemplate:t="jp_type_2_ho_i_machinegunner_cockpit"
"turretNames:array"{
turret:t="turret_02"
}
}
"seats:object"{
attachNode:t="loader"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isPassenger"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="loader"
cameraNodeName:t="bone_camera_driver"
"loaderTurretNames:array"{
turret:t="turret_01"
}
}
}
And for another one tank.
"vehicle_seats__seats:shared:array"{
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="bone_camera_gunner"
cockpitTemplate:t="jp_type_3_chi_nu_gunner_cockpit"
"turretNames:array"{
turret:t="turret_01"
}
}
"seats:object"{
name:t="driver"
locName:t="vehicle_seats/driver"
seatOwnsEntityControl:b=yes
attachNode:t="driver"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.25, 0.0]]
seatComponent:t="isDriver"
nextSeat:t="main_gunner"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="driver"
cameraNodeName:t="bone_camera_driver"
cameraOffset:p3=0.15, -0.0, -0.0
cockpitTemplate:t="jp_type_3_chi_nu_driver_cockpit"
}
"seats:object"{
name:t="commander"
locName:t="vehicle_seats/commander"
attachNode:t="commander"
shouldHideOwner:b=yes
maxPosWithOpenHatch:r=1.2
hatchRotationAxis:p3=1.7, 0.0, 0.0
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.1, -0.4, 0.05]]
seatComponent:t="isDriver"
receiveDamageFromDMPart:t="commander"
cameraNodeName:t="bone_turret"
cockpitTemplate:t="jp_type_3_chi_nu_commander_cockpit"
"hatchNodes:array"{
node:t="hatch_05"
node:t="hatch_04"
}
"hatchTurretNames:array"{
turret:t="turret_03"
}
}
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/additional_gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="root"
cockpitTemplate:t="jp_type_3_chi_nu_machinegunner_cockpit"
"turretNames:array"{
turret:t="turret_02"
}
}
"seats:object"{
attachNode:t="loader"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.5, 0.0]]
seatComponent:t="isPassenger"
shouldHideOwner:b=yes
receiveDamageFromDMPart:t="loader"
cameraNodeName:t="bone_camera_driver"
"loaderTurretNames:array"{
turret:t="turret_01"
}
}
}
thank you so much
Is there a way to make the commander of a tank with roof mg always lean out of hatch(or make the game things it is leaning out) in order to control the roof mg. (It will be devastating if a M24 commander can control the 50cal without opening the hatch (which should be possible in real life since there is a string thingy attached to the trigger in war thunder’s model))
Also, QOL, nice to have the crew members’ name (like gunner is named gunner and driver is named driver so that when people kill them, they know who they have killed. I just cant get killLogName:t=“zombie/uber_armored” to work on the tankers, this just make some crew’s name become the name of the vehicle)
As I know… No. But I maybe don’t know something.
No. This probably not possible to do. Because ai_aircraft_crew__soldier_template can add only one soldier template inside.
I am thinking when i see this. Is it possible to make a tank spawn that spawn only the selected type of tank. Like this hydro-tank, if it can be spawned on water (lets worry about the navmesh later) it would be epic
Also another question, what is the item name for tnt charge and anti-personal mines. I kinda want people to be able to buy thsoe
For zombies mode? Or for players? I’m not sure about zombies, but for players you can edit canUseRespawnbase property. And then in respawn point set another respawnbase.
Uh… Well… You can find them in the All section. Problem is in the properties. You will need to edit them for make it pickable. Later I’ll try write some info how to do it.
Oh ok, but isn’t the tnt detonator a different item?? The AP mines should be easier i think
The AI no longer works
NOOOOOOOOOOO
The new update mess it up
The navmesh button still show those meshes but they just afk like that
Try change ai_vehicle_tank_no_objective to ai_vehicle_tank_fixed_objective.
There we go! Thank you so much. Did they fix the no_objective tag (so it works as intended)? I thought it was supposed to be making the ai tank not have an objective when i read the name
Erm, can you send me the templates for na-to and m13 mgmc (or show me how to get those). I would like to investigate why they dont move or shoot and try if i can make them work.
Ok something is not right
I am constantly getting fps reduction and eventually crashing in the mod editor.
However i cannot test the problem tonight since i have to wake extraordinarily early tmr
"vehicle_seats__seats:shared:array"{
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.557946, -0.374544, -0.740368] [0.225384, 0.926934, -0.299075] [0.79851, 5.20189e-07, 0.601761] [0.08, 0.18, 0.22]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="bone_camera_gunner"
cockpitTemplate:t="jp_type_5_na_to_gunner_cockpit"
seatAnimUpper:t="drive_driver"
seatAnimLower:t="drive_driver"
isHoldGunModeAllowed:b=no
"turretNames:array"{
turret:t="turret_01"
}
"effectors:object"{
r.foot:t="pedal_rfoot_4"
l.foot:t="pedal_lfoot_4"
}
}
"seats:object"{
name:t="driver"
locName:t="vehicle_seats/driver"
seatOwnsEntityControl:b=yes
attachNode:t="driver"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.25, -0.25, 0.0]]
seatComponent:t="isDriver"
nextSeat:t="main_gunner"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="driver"
cameraNodeName:t="bone_camera_driver"
cameraOffset:p3=0.15, -0.0, -0.0
cockpitTemplate:t="jp_type_5_na_to_driver_cockpit"
isHoldGunModeAllowed:b=no
seatAnimUpper:t="drive_passenger"
seatAnimLower:t="drive_passenger"
"effectors:object"{
r.hand:t="righthand_1"
l.hand:t="lefthand_1"
r.foot:t="pedal_rfoot_1"
l.foot:t="pedal_lfoot_1"
}
}
"seats:object"{
name:t="commander"
locName:t="vehicle_seats/commander"
attachNode:t="commander"
shouldHideOwner:b=no
maxPosWithOpenHatch:r=1.2
hatchRotationAxis:p3=1.8, 0.0, 0.0
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.882699, -0.35832, 0.303892] [0.360668, 0.93124, 0.0504172] [-0.30109, 0.0651069, 0.951329] [-0.13, 0.05, 0.09]]
seatComponent:t="isDriver"
receiveDamageFromDMPart:t="commander"
cameraNodeName:t="bone_turret"
cockpitTemplate:t="jp_type_5_na_to_commander_cockpit"
isHoldGunModeAllowed:b=no
seatAnimUpper:t="drive_driver"
seatAnimLower:t="drive_driver"
"effectors:object"{
r.foot:t="pedal_rfoot_3"
l.foot:t="pedal_lfoot_3"
}
}
"seats:object"{
attachNode:t="loader"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.52594, -0.121862, 0.841679] [0.0645705, 0.992391, 0.103335] [-0.848003, -4.03665e-07, 0.529892] [0.0, 0.15, 0.0]]
seatComponent:t="isPassenger"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="loader"
cameraNodeName:t="bone_camera_driver"
isHoldGunModeAllowed:b=no
seatAnimUpper:t="drive_driver"
seatAnimLower:t="drive_driver"
"loaderTurretNames:array"{
turret:t="turret_01"
}
"effectors:object"{
r.hand:t="righthand_6"
l.hand:t="lefthand_6"
r.foot:t="pedal_rfoot_6"
l.foot:t="pedal_lfoot_6"
}
}
"seats:object"{
attachNode:t="loader_01"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.324754, -0.422566, -0.846005] [0.151432, 0.906173, -0.394489] [0.933438, 3.76847e-09, 0.358317] [0.21, 0.1, 0.09]]
seatComponent:t="isPassenger"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="loader_01"
cameraNodeName:t="bone_camera_driver"
isHoldGunModeAllowed:b=no
seatAnimUpper:t="drive_driver"
seatAnimLower:t="drive_driver"
"loaderTurretNames:array"{
turret:t="turret_01"
}
"effectors:object"{
r.hand:t="righthand_5"
l.hand:t="lefthand_5"
r.foot:t="pedal_rfoot_5"
l.foot:t="pedal_lfoot_5"
}
}
"seats:object"{
attachNode:t="machine_gunner"
locName:t="vehicle_seats/radioman"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.98769, 0.156434, 0.0] [-0.156434, 0.98769, 0.0] [0.0, 0.0, 1.0] [-0.05, -0.35, 0.07]]
seatComponent:t="isPassenger"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="machine_gunner"
cameraNodeName:t="bone_camera_driver"
isHoldGunModeAllowed:b=no
seatAnimUpper:t="drive_passenger"
seatAnimLower:t="drive_passenger"
"effectors:object"{
r.hand:t="righthand_2"
l.hand:t="lefthand_2"
r.foot:t="pedal_rfoot_2"
l.foot:t="pedal_lfoot_2"
}
}
}
"vehicle_seats__seats:shared:array"{
"seats:object"{
name:t="main_gunner"
locName:t="vehicle_seats/gunner"
attachNode:t="gunner"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[0.90628, 0.4227, 8.74272e-16] [-0.4227, 0.906281, 5.83326e-09] [2.4657e-09, -5.28653e-09, 1.00001] [-0.21, -0.3, 0.0]]
seatComponent:t="isGunner"
nextSeat:t="driver"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="gunner"
cameraNodeName:t="bone_camera_gunner"
cockpitTemplate:t="us_halftrack_m13_gunner_cockpit"
directTurretControl:b=yes
cameraOffset:p3=-0.35, 0.2, 0.0
maxPosWithOpenHatch:r=0.0
hatchRotationAxis:p3=0.0, 0.0, 0.0
canLoadInHatch:b=yes
isHoldGunModeAllowed:b=no
useHatchEffectors:b=yes
"turretNames:array"{
turretNames:t="turret_01"
turretNames:t="turret_02"
}
"hatchTurretNames:array"{
turret:t="turret_01"
turret:t="turret_02"
}
"hatchNodes:array"{
node:t="hatch_01"
}
"loaderTurretNames:array"{
turret:t="turret_01"
turret:t="turret_02"
}
"effectors:object"{
"l.hand:object"{
rel_tm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.0, -0.0, 0.0]]
node:t="lefthand_2"
}
"r.hand:object"{
rel_tm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.0, -0.0, 0.0]]
node:t="righthand_2"
}
"l.foot:object"{
rel_tm:m=[[1.0, -0.000134336, 0.00109565] [0.000133743, 1.0, 0.000674367] [-0.00109572, -0.000674196, 0.999999] [-0.02948, -0.0187607, 0.00164175]]
node:t="pedal_lfoot_2"
}
"r.foot:object"{
rel_tm:m=[[0.999999, 3.96237e-06, 0.00119497] [-4.91767e-06, 1.0, 0.000759456] [-0.00119502, -0.000759482, 0.999999] [-0.0288086, -0.0186996, -0.000524521]]
node:t="pedal_rfoot_2"
}
}
}
"seats:object"{
name:t="driver"
locName:t="vehicle_seats/driver"
seatOwnsEntityControl:b=yes
attachNode:t="driver"
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.07, 0.21, -0.15]]
seatComponent:t="isDriver"
nextSeat:t="main_gunner"
shouldHideOwner:b=no
receiveDamageFromDMPart:t="driver"
cameraNodeName:t="bone_camera_driver"
cockpitTemplate:t="us_halftrack_m13_driver_cockpit"
seatAnimUpper:t="drive_passenger"
seatAnimLower:t="drive_passenger"
"effectors:object"{
"l.hand:object"{
rel_tm:m=[[0.808712, -0.032106, -0.587329] [0.571561, 0.278741, 0.771765] [0.138934, -0.95983, 0.243772] [0.0898285, 0.0626068, -0.117208]]
node:t="lefthand_1"
}
"r.hand:object"{
rel_tm:m=[[0.457613, -0.734383, -0.501273] [0.536842, 0.67761, -0.502639] [0.708796, -0.0390896, 0.704329] [0.0498199, 0.0408497, 0.0346947]]
node:t="righthand_1"
}
"l.foot:object"{
rel_tm:m=[[0.978776, 0.185353, 0.0874309] [-0.177178, 0.979724, -0.0935323] [-0.102995, 0.0760563, 0.99177] [-0.0876465, 0.0129089, 0.0589943]]
node:t="pedal_lfoot_1"
}
"r.foot:object"{
rel_tm:m=[[0.916721, 0.39311, -0.0713319] [-0.389451, 0.919087, 0.0600619] [0.0891712, -0.0272797, 0.995643] [-0.0805817, 0.0190582, -0.018856]]
node:t="pedal_rfoot_1"
}
}
}
"seats:object"{
name:t="machine_gunner"
locName:t="vehicle_seats/commander"
attachNode:t="commander"
shouldHideOwner:b=no
ignoreAttachNodeRotation:b=yes
attachTm:m=[[1.0, 0.0, 0.0] [0.0, 1.0, 0.0] [0.0, 0.0, 1.0] [-0.12, 0.36, 0.11]]
seatComponent:t="isPassenger"
isHoldGunModeAllowed:b=no
receiveDamageFromDMPart:t="commander"
seatAnimUpper:t="drive_passenger"
seatAnimLower:t="drive_passenger"
canPlaceManually:b=yes
"effectors:object"{
"l.hand:object"{
rel_tm:m=[[-0.0140025, -0.992501, 0.121439] [0.999274, -0.0095886, 0.0368515] [-0.0354104, 0.121867, 0.991914] [-0.208267, -0.674889, -0.117278]]
node:t="lefthand_3"
}
"r.hand:object"{
rel_tm:m=[[0.512722, 0.185274, -0.838326] [0.215913, 0.917232, 0.334765] [0.830962, -0.352646, 0.430281] [-0.151245, -0.0606141, 0.0719528]]
node:t="righthand_3"
}
"l.foot:object"{
rel_tm:m=[[0.988051, 0.152243, 0.024008] [-0.150694, 0.98695, -0.0567607] [-0.0323361, 0.0524647, 0.9981] [-0.104599, -0.033783, 0.0100501]]
node:t="pedal_lfoot_3"
}
"r.foot:object"{
rel_tm:m=[[0.959544, 0.273328, 0.067583] [-0.273181, 0.961893, -0.0115871] [-0.0681747, -0.00734403, 0.997647] [-0.0914841, -0.0504913, 0.00846291]]
node:t="pedal_rfoot_3"
}
}
}
Turrets names you can find in turretInfo.
How much active vehicles are on your map? And zombies?