Xonotic Forums
[SUGGESTION] A vehicle Tank Idea - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20)
+--- Thread: [SUGGESTION] A vehicle Tank Idea (/showthread.php?tid=4211)



A vehicle Tank Idea - aa - 06-11-2013

I know the image looks horrible, the proportions are wrong, but it will work to give the basic idea.
[Image: 0_b6631_f925a4a1_orig]
It is supposed to work like BumbleBee - a stronger land vehicle that is operated by more then one player. It has got two pairs of tracks, that can move in different directions, giving it good maneuverability and passability. It has got place for two people: The driver, who drives it, operates the top (red) turret, which deals light damage, and controls decoys. Second player is in charge of the big main cannons (green dots on black cuboids) for primary, and the minor weapon (cyan dots on black) for secondary.


RE: A vehicle Tank Idea - poVoq - 06-11-2013

The way the engine currently is set up makes wheeled vehicles look really bad (very limited physics). Maybe it could be made with a hovercraft body instead?


RE: A vehicle Tank Idea - aa - 06-11-2013

Maybee it could.

Just imagine that black meshes are hover beacons.


RE: A vehicle Tank Idea - Lee_Stricklin - 06-11-2013

Or if anyone has the ability to pull it off, a vehicle with legs. In my opinion legs would be a better option for a heavy vehicle.


RE: A vehicle Tank Idea - aa - 06-12-2013

Here is a descent drawing, it gives a better idea.
[Image: 0_b66cf_d633702b_XXL.jpg]


RE: A vehicle Tank Idea - SouL - 06-12-2013

Great drawing, I like the idea.


RE: A vehicle Tank Idea - g4spr0m - 06-12-2013

It looks like Dalek one the space rover. Me like.


RE: A vehicle Tank Idea - tZork - 06-13-2013

(06-11-2013, 03:28 PM)poVoq Wrote: The way the engine currently is set up makes wheeled vehicles look really bad (very limited physics). Maybe it could be made with a hovercraft body instead?

Thats actually not the main problem. Current built in physics makes anything else then a zero gravity craft look silly; you are going to have to write some custom code to get anything vehicular looking/acting anyways. Its quite possible to simulate wheels/tracks too; you "just" have to put the work into doing so.

The larger problem is all bboxes in Darkpalces are world aligned, meaning the vehicle has to be more or less cube formed (its "outline" anyway) or its visuals will not match its hitbox. This can be worked around by using mesh collisions for projectiles and custom QC for physics, but you have to do that anyway). Mesh collisions are however fairly performance taxing, especially if its an animated mesh.


RE: A vehicle Tank Idea - aa - 06-13-2013

What if you use more then one hitbox? One tall hitbox will be for the center part, and two low ones for the trck modules? then it will allow to destroy parts of vehicle separatly, eg destroying one track module will slow it down, both - will render it stationary, and destroying the center part first wil make th modules crawl in differnet sides crazily.
And still, puting pairs of legs or hover beacons in place of trcks can always be a spare option.
spider and walker, while being non zero grav zactualy dont look silly.


RE: A vehicle Tank Idea - tZork - 06-13-2013

spider and walker don't look (too) silly since i coded custom physics for them (this goes for all vehicles). you can "sort of" use multiple hitboxes, however this is somewhat complicated and also performance taxing (possibly even too much as each separate hitbox must have a anti-lag record). Creating destroyable parts can be done regardless, that just takes some distance checking when receiving damage.


RE: A vehicle Tank Idea - aa - 06-13-2013

How can I edit the vehicles/their physics?


RE: A vehicle Tank Idea - tZork - 06-13-2013

If you have to ask; you can't (right now). If you're serious in doing so i can help you along. It does involve quite a bit of coding in the awkward Quake C dialect and dealing with Darkplaces peculiarities - but if you're willing to deal with that (and make no mistake, this is a fair bit of commitment) i'm willing to help you along as best i can.


RE: A vehicle Tank Idea - aa - 06-14-2013

There is no point starting now, since i am going away for the summer, maybee after that, in august...


RE: A vehicle Tank Idea - satuim - 08-01-2013

Support, but it might be hard to pull off