Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a test unit for multi turret #20

Open
methusalah opened this issue Aug 21, 2014 · 10 comments
Open

Make a test unit for multi turret #20

methusalah opened this issue Aug 21, 2014 · 10 comments
Labels

Comments

@methusalah
Copy link
Owner

deux tourelles, si possible éloignées, avec une arme sur chaque. Par exemple un truc comme le mothership des protoss, ou un cube avec deux cube et des cubes. bref, un machin pour tester le multi turrets quoi

@roroah
Copy link
Collaborator

roroah commented May 20, 2015

Je comprend pas, le mothership des protoss ressemble en rien en la description (aka: deux tourelles, si possible éloignées, avec une arme sur chaque. )

Faut un mothership ou deux tourelle ?

@methusalah
Copy link
Owner Author

Deux tourelle, juste pour tester
Le 20 mai 2015 6:28 PM, "Roah" [email protected] a écrit :

Je comprend pas, le mothership des protoss ressemble en rien en la
description (aka: deux tourelles, si possible éloignées, avec une arme sur
chaque. )

Faut un mothership ou deux tourelle ?


Reply to this email directly or view it on GitHub
#20 (comment).

@roroah
Copy link
Collaborator

roroah commented May 24, 2015

J'ai commencer la premiere tourelle, mais j'arrive pas a la mettre dans le moteur pour voir ce que sa donne en terme de scale et autre, la parti du wiki concernant l'import de tourelle est manquante ou sinon https://github.com/methusalah/OpenRTS/wiki/Guide-for-dataset-contribution#turret est incomplet, ou sinon je sais pas lire et je m'escuse :p

Si possible me pointer dans la bonne direction pour inplanter la tourelle.

Note à part vis à vis du wiki :
Faudrais expliquer les differentes valeur possible et a quoi correspond quoi, je peux ouvrir un issue concernant le wiki sinon, un milestone serais peut-etre plus adapter quand même.
exemple à https://github.com/methusalah/OpenRTS/wiki/Guide-for-dataset-contribution#unit :

  • Sa correspond a quoi "MoverLink" ?
  • "GroundProne" c'est une valeur arbitraire ou une valeur parmis un set ?

@methusalah
Copy link
Owner Author

Indeed, the turret chapter of the wiki is incomplete. The turret rotation is made around the named bone of the unit model's skeleton.

When you create a unit, you attach a ModelActor. The model must have a bone to rotate, corresponding to the turret rotation axis. It's that bone that the turret names with the attribute "BoneName".

Then, you can specify weapons with or without attached turret. If a weapon has a turret, it will ask this turret to rotate to reach the target. Else it will ask the unit.

note that the turret rotation is only around Z axis.

I created a milestone for the wiki issues

@roroah
Copy link
Collaborator

roroah commented May 24, 2015

You lost me, i though turret was something like static turret !? (like : [1])
If not, I'll suppose that turret are what the current tank use as weapon which in case is a weapon extending from turret.
About the weapon having attached turret or not, it is pretty confusing, a turret have weapon, not the opposite.
I said that cause what i've did is a static turret as show in the image.

[1] http://3drt.com/store/images/detailed/2/wargear-sci-fi-lowpoly-3d-turrets_19.jpg

@methusalah
Copy link
Owner Author

Sorry for the misunderstanding. The turret is the mobile part of units that
a weapon can rotate instead of the whole unit itself.

Mechanically you're right, a turret holds the weapon. But in the game
logic, we construct an abstract weapon that may control a turret, or not.
Le 24 mai 2015 7:42 PM, "Roah" [email protected] a écrit :

You lost me, i though turret was something like static turret !? (like :
[1])
If not, I'll suppose that turret are what the current tank use as weapon
which in case is a weapon extending from turret.
About the weapon having attached turret or not, it is pretty confusing, a
turret have weapon, not the opposite.

[1]
http://3drt.com/store/images/detailed/2/wargear-sci-fi-lowpoly-3d-turrets_19.jpg


Reply to this email directly or view it on GitHub
#20 (comment).

@roroah
Copy link
Collaborator

roroah commented May 24, 2015

so if i recap, what is needed is what the current tank already have.
So an unit holding multiple turret, something like an upgraded tank.

@methusalah
Copy link
Owner Author

Yes!
Le 24 mai 2015 9:11 PM, "Roah" [email protected] a écrit :

so if i recap, what is needed is what the tank already.
So an unit holding multiple turret, somethink like an upgraded tank.


Reply to this email directly or view it on GitHub
#20 (comment).

@roroah
Copy link
Collaborator

roroah commented May 24, 2015

Ok, I'll see what i can get for, the unit can be air ? or must be ground ?

@methusalah
Copy link
Owner Author

It doesn't matter for the test
Le 24 mai 2015 9:28 PM, "Roah" [email protected] a écrit :

Ok, I'll see what i can get for, the unit can be air ? or must be ground ?


Reply to this email directly or view it on GitHub
#20 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants