fodev.net
FOnline Development => Questions and Answers => Topic started by: hexer on April 21, 2014, 01:15:42 am
-
Did anyone succeed in making the two separate sprites work together somehow with scripts?
In case you don't remember, there is one SPR for the tank and another one for tank's turret.
-
Not that I know of. The vehicles in the game are nothing but "scenery" graphics anyway. Can't really be compared with how vehicles worked in Tactics.
If the vehicle doesn't need to drive, then I'd do it this way:
1. Setup the tank body as normal vehicle (fixed graphic, cannot drive).
2. Setup the tank turret as critter.
3. Whenever the body is spawned, spawn the turret at hex position x.
That should give a more or less good effect. Not sure if it's very practical, though.
-
Yes, that's a good suggestion.
There's one developer at NMA which created an open-source FOT engine.
http://www.nma-fallout.com/showthread.php?199644-FreeFT-open-source-Fallout-Tactics-engine (http://www.nma-fallout.com/showthread.php?199644-FreeFT-open-source-Fallout-Tactics-engine)
I will have to check with him if he implemented vehicles. Maybe he could help cvet & rotators ;) to implement driving into the game.
-
Nice, I would like to see driveable cars in fonline. :D
-
Not sure if the hex grid is really suited for that, though.
-
He answered and he says it's not a big priority on his list and how his engine is too different from fonline's :/
I see why you're concerned with hexes not being suitable but maybe the vehicles movement can be restricted with scripts to make it look more natural. I will definitively need to implement that if I plan on having moveable vehicles in Van Buren
-
But why having movable vehicles anyway? As much as I remember from the old design docs, there was never meaned to be any drivable cars in the maps. The map layouts also make clear that it would have been highly impractical to drive cars in them.
I'll doubt that cars in Van Buren would have worked any different than in Fallout 2. You simply use them to exit the location and travel faster on the worldmap.
-
Drivable cars are for some special main plot events and random encounters ;)