Hello All
I'm not sure whether or not this is an addon query or a script query.
I am working on a mission in which a column of tanks is trying to cross a desert map while being pursued by a bunch of fanatical Afghan rebels. I have group respawn on and the idea is that so long as you can get ONE tank back to base you (the player) will win. Bad luck for the other 11 guys who got killed or left behind but eh, whadayya gonna do ? :gunman: ;D
I have a number of scripts that give the mission a "running battle" feel - time dilation, endlessly spawning Afghans and fuel and damage scripts that progressively tear the tanks apart.
What I want is a script / addon that would allow a player to refuel one tank from another. I'm thinking of creating some sort of new "unit" called a Jerrycan that would behave in some ways like a mine or satchel charge. In other words it would take up 2-3 ammo spots on the players weapons total and could be placed or picked up at any time.
The player should be able to take a jerrycan and place it next to a tank and run a script to "fill" or "empty" it. If a friendly or empty tank is close enough then the appropriate action would occur.
I want the Jerrycan to take up space so that a player couldn't carry a milion of them and so that he can leave them behind if necessary.
I am pretty sure that I can write something like this using just scripts (script on tank checks for another tank within 2-3 metres to siphon to) but it would be good if I could have actual jerrycan "units" that I could move, place, pick up, destroy and so on.
Any ideas ?
Roni
PS - Is this the right forum ?