Two (!) tanks in the same map - trouble mounting gun


(Loffy) #1

Hi!
I’ve put two (!) tanks into the same map. It’s a map with two identical bases - one for the allies and one for the axis. Each team has one tank.
Problem: When I walk up to any tank, and press F (to fire the tank-gun), I always end up at the same tank! yes, it’s crazy! It doesn’t matter if I am allied or axis!
i wonder if anyone has ever tried to have to script movers, one for each team, with a gun, in the same map.
Comments?
// Loffy

PS If I cannot solve this problem, I will have to remove the guns from the tanks.


(FireFly) #2

Did you check if both of the tank-entities incidentally share the same targetname or scriptname? particular the target_script_trigger entities ?


(Loffy) #3

Yes, I’m certain that the entities are all OK (and their script- and targetnames).

I just think it is impossible to have two script_movers, each with a gun (one axis mover and one allied mover).

I will check again - just to be sure.
// L.


(nUllSkillZ) #4

Here in the forums have been threads before discussing this issue.
I think it’s because of the tag names.


(Loffy) #5

OK, I went back and read the old threads. It seems you are right - the problem has to do with tag (somehow).

I have just tried another tric: I used a churchhill turret for one tank, and a jagpanther turret for the other tank. (Each tank got a unique turret.) Did it work? No. (Sh*t.)
I guess both turrets (churchhill and jagpanther) has a tag with the same name. (How can I check this? Is it in a tag-file somewhere?)

// Loffy


(Malverik) #6

I tried oh so many things to fix that but without success :frowning:
It would take a mod to fix that. Even if you successfully change the name of the tag to something else than “tag_player”, the game won’t know that you can mount that because the code only knows tag_player.
When me and Uchronic started planing the map, we wanted to have 2 tanks just like you, but since we never managed to get it working we decided to go with 2 customized trucks.

Also, if you were wondering if you could put a crew-served mg42 on a truck, that is also impossible because the mg42 cannot move along with the script_mover :frowning:

Good luck!


(Loffy) #7

I appreciate your reply. Timesaving for me indeed.
Too bad, but I guess we can live with it - ET being such a great game anyhow, I mean.

I’ve unchecked the box “mounted gun” for each tank. The map works now.
(I know the players will whine (I would). “Hey, there’s no gun on the tanks - major suxxor”.)

// L.


(Junkers) #8

Well, as I say all the time…

Better a great map without the mounted mg’s, then a map which doesn’t work as it’s supposed to work…

Long live Loffy :stuck_out_tongue:


(Fated) #9

You could build a “box” on it where 1 player can sit in and shoot from it…just an idea


(Malverik) #10

yeah you can always do like we did, use a truck (detoeni’s in our case) and add some brushes to the script_mover to make a small bunker or something


(Loffy) #11

Fated, thx or the support. Who knows - i might try it. Just for fun atleast.
Malverik, the thing ur describing, was it ever released as a map (so we can run around it and try that machine of yours)?


(Malverik) #12

hehe no! we’ve been working on it for about 4 months but with school and work progress have been slow.
You can see screenshots and description by clicking the image in my sig


(No1_sonuk) #13

Guys, I tried this with 4 MGs (yes, 4), 2 on each of 2 LCVPs. I had the same trouble. Our team coder says he found a way to fix it in the code. I think he said it had something to do with the original code not expecting more than 1 mounted gun in a map, so no provision was made for it.


(Oxygen - o2) #14

but you never say that :confused: