after the globalaccum of the tank mg was fixed time for my question
it apear my tank mg has few problems and i am sure they all connect to each other
am using tank “MG42”
i got
{
“classname” “script_mover”
“description” “tank”
“gun” “MG42”
“tagent” “tank_turret”
“health” “1200”
“targetname” “tank”
“scriptname” “tank”
“spawnflags” “190”
“model2” “models/mapobjects/tanks_sd/churchhill_oasis.md3”
// brush 0
{
( 3109 -738 10 ) ( 3109 -671 10 ) ( 3253 -671 10 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3108 -727 16 ) ( 3252 -727 16 ) ( 3252 -727 -54 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 3252 -664 15 ) ( 3108 -664 15 ) ( 3108 -664 -55 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 2978 -663 14 ) ( 2978 -730 14 ) ( 2978 -730 -56 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3028 -675 -35 ) ( 3028 -687 -35 ) ( 3028 -675 15 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3028 -664 -35 ) ( 2984 -664 -15 ) ( 3028 -727 -35 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
}
// brush 1
{
( 3253 -667 -35 ) ( 3109 -667 -35 ) ( 3109 -734 -35 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3112 -738 10 ) ( 3112 -671 10 ) ( 3256 -671 10 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3108 -727 16 ) ( 3252 -727 16 ) ( 3252 -727 -54 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 3252 -664 15 ) ( 3108 -664 15 ) ( 3108 -664 -55 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 3028 -687 -35 ) ( 3028 -675 -35 ) ( 3028 -675 15 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3218 -679 -35 ) ( 3218 -688 -35 ) ( 3218 -679 15 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
}
// brush 2
{
( 3010 -727 -38 ) ( 3006 -727 -34 ) ( 3010 -759 -38 ) common/clipweap_metal -48 -46 0 0.5 0.5 0 0 0
( 3262 -727 -28 ) ( 3258 -727 -32 ) ( 3262 -759 -28 ) common/clipweap_metal -48 -46 0 0.5 0.5 0 0 0
( 2989 -720 12 ) ( 2989 -796 12 ) ( 2989 -796 -32 ) common/clipweap_metal 46 16 0 0.5 0.5 0 0 0
( 3277 -727 15 ) ( 2981 -727 15 ) ( 2981 -727 -29 ) common/clipweap_metal -46 16 0 0.5 0.5 0 0 0
( 3272 -799 12 ) ( 3272 -723 12 ) ( 3272 -723 -32 ) common/clipweap_metal 46 16 0 0.5 0.5 0 0 0
( 2982 -759 12 ) ( 3278 -759 12 ) ( 3278 -759 -32 ) common/clipweap_metal -46 16 0 0.5 0.5 0 0 0
( 2979 -807 13 ) ( 2979 -731 13 ) ( 3275 -731 13 ) common/clipweap_metal -46 -46 0 0.5 0.5 0 0 0
( 3277 -721 -55 ) ( 2981 -721 -55 ) ( 2981 -797 -55 ) common/clipweap_metal -46 -46 0 0.5 0.5 0 0 0
( 2993 -727 1 ) ( 2996 -727 5 ) ( 2993 -759 1 ) common/clipweap_metal 50 -46 0 0.5 0.5 0 0 0
( 3267 -727 4 ) ( 3269 -727 1 ) ( 3267 -759 4 ) common/clipweap_metal 50 -46 0 0.5 0.5 0 0 0
}
// brush 3
{
( 3272 -688 -43 ) ( 2989 -688 -43 ) ( 2989 -704 -43 ) common/origin -48 -48 0 0.5 0.5 0 0 0
( 2989 -704 -27 ) ( 2989 -688 -27 ) ( 3272 -688 -27 ) common/origin -48 -48 0 0.5 0.5 0 0 0
( 2989 -704 -28 ) ( 3272 -704 -28 ) ( 3272 -704 -44 ) common/origin -48 16 0 0.5 0.5 0 0 0
( 3136 -701 -27 ) ( 3136 -685 -27 ) ( 3136 -685 -43 ) common/origin 48 16 0 0.5 0.5 0 0 0
( 3272 -688 -27 ) ( 2989 -688 -27 ) ( 2989 -688 -43 ) common/origin -48 16 0 0.5 0.5 0 0 0
( 3120 -695 -27 ) ( 3120 -711 -27 ) ( 3120 -711 -43 ) common/origin 48 16 0 0.5 0.5 0 0 0
}
// brush 4
{
( 3218 -727 -35 ) ( 3252 -727 -35 ) ( 3252 -664 -35 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3108 -727 16 ) ( 3252 -727 16 ) ( 3252 -727 -54 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 3252 -664 15 ) ( 3108 -664 15 ) ( 3108 -664 -55 ) common/clipweap_metal -48 16 0 0.5 0.5 0 0 0
( 3218 -727 -13 ) ( 3218 -727 -35 ) ( 3218 -664 -35 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3252 -727 -20 ) ( 3218 -727 -14 ) ( 3218 -664 -14 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3249 -664 -19 ) ( 3245 -664 -30 ) ( 3249 -727 -19 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
}
// brush 5
{
( 3277 -626 -55 ) ( 2981 -626 -55 ) ( 2981 -702 -55 ) common/clipweap_metal -46 -48 0 0.5 0.5 0 0 0
( 2981 -712 13 ) ( 2981 -636 13 ) ( 3277 -636 13 ) common/clipweap_metal -46 -48 0 0.5 0.5 0 0 0
( 2982 -664 13 ) ( 3278 -664 13 ) ( 3278 -664 -31 ) common/clipweap_metal -46 16 0 0.5 0.5 0 0 0
( 3272 -704 12 ) ( 3272 -628 12 ) ( 3272 -628 -32 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3277 -632 15 ) ( 2981 -632 15 ) ( 2981 -632 -29 ) common/clipweap_metal -46 16 0 0.5 0.5 0 0 0
( 2989 -625 12 ) ( 2989 -701 12 ) ( 2989 -701 -32 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3262 -632 -28 ) ( 3258 -632 -32 ) ( 3262 -664 -28 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 3010 -632 -38 ) ( 3006 -632 -34 ) ( 3010 -664 -38 ) common/clipweap_metal -48 -48 0 0.5 0.5 0 0 0
( 2993 -632 1 ) ( 2996 -632 5 ) ( 2993 -664 1 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
( 3267 -632 4 ) ( 3269 -632 1 ) ( 3267 -664 4 ) common/clipweap_metal 48 16 0 0.5 0.5 0 0 0
}
}
also got
// Called when a player is using the mounted MG
mg42 mount
{
}
// Called when a player is no longer using the mounted MG
mg42 unmount
{
}
now when i mount the mg, the tank act like no1 is escorting it and his stopping.
also the mg doesnt shoot to the right place when you fire it.
and another tank question,
how do i make an explosion effect when the tank turret shoot?
target>effect/explosion aint working inside the tank script routine. then what is working?
i tryed search nothing matched for my tank mg42 but the explosion i keep looking.