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

Please make a short video tutorial for open project. #2

Open
GameDeveloperAf opened this issue Apr 28, 2024 · 10 comments
Open

Please make a short video tutorial for open project. #2

GameDeveloperAf opened this issue Apr 28, 2024 · 10 comments

Comments

@GameDeveloperAf
Copy link

Hello, can you you make also short video tutorial how to open project? It would be great to see a video tutorial about how to open this project. Because I am confused where to start and how to launch. I do not know where send "Data" and "UTanksServer" folders. If you can please make a short video tutorial about this.

@GameDeveloperAf
Copy link
Author

And I have another question. This is your preview gif video https://github.com/sigson/UTanks/blob/master/preview.gif?raw=true and I see that in the end of the gif there is hornet and railgun and you move and shoot. So question is that "does tank move on unity's wheelcollider or it is physics of original of tanki x???" I hope you understand my question. I mean is it wheelcollider based phsyics on the tank or original physics which wrote by alternativa 3d for tanki x in the your preview gif video??? Which one?

@sigson
Copy link
Owner

sigson commented Apr 29, 2024

And I have another question. This is your preview gif video https://github.com/sigson/UTanks/blob/master/preview.gif?raw=true and I see that in the end of the gif there is hornet and railgun and you move and shoot. So question is that "does tank move on unity's wheelcollider or it is physics of original of tanki x???" I hope you understand my question. I mean is it wheelcollider based phsyics on the tank or original physics which wrote by alternativa 3d for tanki x in the your preview gif video??? Which one?

Hello. A movement similar to that in the video is simply impossible to do on unity colliers, by the way. Specifically on the issue of physics - this is a modified physics of a tank from TX with the addition of "torsion" of the tank when skidding, by resetting the skid parameter - you get TX physics. However, in addition to the physics of the suspension - in TX it was connected with the collider of the tank itself as well as with the rollers, I simply removed these connections, the code for all the physics is here https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts .(yeah, I just import it with all his local ecs dependencies without refactoring, idgas about it :) )

@GameDeveloperAf
Copy link
Author

GameDeveloperAf commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this

https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts

It will be very good if u send just completed only hull physics with new unity package.

@sigson
Copy link
Owner

sigson commented Apr 29, 2024

Hello, can you you make also short video tutorial how to open project? It would be great to see a video tutorial about how to open this project. Because I am confused where to start and how to launch. I do not know where send "Data" and "UTanksServer" folders. If you can please make a short video tutorial about this.

Data - its just config data folder - you need move it into root of builded UTanksServer project, where storing UTanksServer.exe file, it's all. If you get errors on start Client project - maybe you don't clone LFS files, that's need do with git program or you can download all project files include big LFS files directly from last release https://github.com/sigson/UTanks/releases/tag/lfs_source file UTanks_sended.7z. Perhaps I really should have created a video tutorial, but alas, I am no longer involved in Unity in general and the project in particular, and I have no time for that.

@sigson
Copy link
Owner

sigson commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this

https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts

It will be very good if u send just completed only hull physics with new unity package.

You can inspect this prefab https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Base/Prefabs/TankObject.prefab - it contains all of needed script for work suspension
And - https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/hornet/public.yml that's values for normally working

Anyway it contains this project manager scripts, but I think you can remove it, main scripts it TankChassisManager and ChassisSystem

@sigson sigson closed this as completed Apr 29, 2024
@sigson sigson reopened this Apr 29, 2024
@GameDeveloperAf
Copy link
Author

GameDeveloperAf commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this
https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts
It will be very good if u send just completed only hull physics with new unity package.

You can inspect this prefab https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Base/Prefabs/TankObject.prefab - it contains all of needed script for work suspension And - https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/hornet/public.yml that's values for normally working

Anyway it contains this project manager scripts, but I think you can remove it, main scripts it TankChassisManager and ChassisSystem

TankPrefab does not work too. And when I drag and drop TankPrefab into scene and hit play and it gives me error. You can see in the video.
https://www.youtube.com/watch?v=02u3Lghq3to
Why is that? I downloaded and extracted your whole project and created a new project in unity and dragged and dropped only "Assets, Packages, Project Settings" which inside "UTanks-Online" into the unity.

Can you tell me why TankPrefab does not work? What is the problem there?

If scripts isnide of TankPrefab does not work without setting whole project complete then please can you guide step by step what to do. I do not know but maybe it does not work without completely launched with utankserver, clients and other things. How can I build UTankServer project?? You mean build it in Visual studio. So where I need to click and build in UTankServer folder and where should I move UTankServer to? And where drag and drop Data to? Do I need drag and drop UTankServer into Unity=>Asset folder or what?

@GameDeveloperAf
Copy link
Author

Please just explain to me step by step guiding what to do and maybe I will make a video tutorial for others to make it easy to launch this project. And also I wanna understand the logic of the TankiX physics by reading and understanding the whole script inside this project.

@sigson
Copy link
Owner

sigson commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this
https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts
It will be very good if u send just completed only hull physics with new unity package.

You can inspect this prefab https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Base/Prefabs/TankObject.prefab - it contains all of needed script for work suspension And - https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/hornet/public.yml that's values for normally working
Anyway it contains this project manager scripts, but I think you can remove it, main scripts it TankChassisManager and ChassisSystem

TankPrefab does not work too. And when I drag and drop TankPrefab into scene and hit play and it gives me error. You can see in the video. https://www.youtube.com/watch?v=02u3Lghq3to Why is that? I downloaded and extracted your whole project and created a new project in unity and dragged and dropped only "Assets, Packages, Project Settings" which inside "UTanks-Online" into the unity.

Can you tell me why TankPrefab does not work? What is the problem there?

If scripts isnide of TankPrefab does not work without setting whole project complete then please can you guide step by step what to do. I do not know but maybe it does not work without completely launched with utankserver, clients and other things. How can I build UTankServer project?? You mean build it in Visual studio. So where I need to click and build in UTankServer folder and where should I move UTankServer to? And where drag and drop Data to? Do I need drag and drop UTankServer into Unity=>Asset folder or what?

UTanksServer is a separate project. Data is its component. UTanksClient is a separate project. The projects do not depend on each other file-wise and are collected separately. The UTanksServer folder contains the visualstudio solution sln file, which you need to open and simply click build all in debug/release mode. In the folder where UTanksServer is assembled in the form of an exe and many dlls, you need to place the Data folder, then the server will start normally. To run the UTanksClient project, you just need to open https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/Scenes/Test/TestScene.unity and start playing in the unity editor AFTER STARTED & INITIALIZED SERVER. You are right, that prefab will not start on its own, the project is too complex for its component parts to work in the spirit of the idea of “self-sufficient prefabs”, that prefab is literally the skeleton of the main mechanics of the tank. You need the TankChassisManager and ChassisSystem scripts separately, and you will have to clear them of references to my project if you intend to use physics only for yourself.

@GameDeveloperAf
Copy link
Author

GameDeveloperAf commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this
https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts
It will be very good if u send just completed only hull physics with new unity package.

You can inspect this prefab https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Base/Prefabs/TankObject.prefab - it contains all of needed script for work suspension And - https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/hornet/public.yml that's values for normally working
Anyway it contains this project manager scripts, but I think you can remove it, main scripts it TankChassisManager and ChassisSystem

TankPrefab does not work too. And when I drag and drop TankPrefab into scene and hit play and it gives me error. You can see in the video. https://www.youtube.com/watch?v=02u3Lghq3to Why is that? I downloaded and extracted your whole project and created a new project in unity and dragged and dropped only "Assets, Packages, Project Settings" which inside "UTanks-Online" into the unity.
Can you tell me why TankPrefab does not work? What is the problem there?
If scripts isnide of TankPrefab does not work without setting whole project complete then please can you guide step by step what to do. I do not know but maybe it does not work without completely launched with utankserver, clients and other things. How can I build UTankServer project?? You mean build it in Visual studio. So where I need to click and build in UTankServer folder and where should I move UTankServer to? And where drag and drop Data to? Do I need drag and drop UTankServer into Unity=>Asset folder or what?

UTanksServer is a separate project. Data is its component. UTanksClient is a separate project. The projects do not depend on each other file-wise and are collected separately. The UTanksServer folder contains the visualstudio solution sln file, which you need to open and simply click build all in debug/release mode. In the folder where UTanksServer is assembled in the form of an exe and many dlls, you need to place the Data folder, then the server will start normally. To run the UTanksClient project, you just need to open https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/Scenes/Test/TestScene.unity and start playing in the unity editor AFTER STARTED & INITIALIZED SERVER. You are right, that prefab will not start on its own, the project is too complex for its component parts to work in the spirit of the idea of “self-sufficient prefabs”, that prefab is literally the skeleton of the main mechanics of the tank. You need the TankChassisManager and ChassisSystem scripts separately, and you will have to clear them of references to my project if you intend to use physics only for yourself.

Yes my aim is only use physics of this tank in my project. Yes it is complex and don't know which one remove and make it separately script. There is only I need suspension and anti-slip on the slopes and that's only what I want.

@GameDeveloperAf
Copy link
Author

GameDeveloperAf commented Apr 29, 2024

I got it, I wanna same physics like this. But I tried to add this scripts and move tank but failed. I do not know what I do wrong and it does not work. Can you simply just tell me which script do I need to attach to make it workable. I need just this part. Or can you simply send another new unity package just with workable hull movement physics with attached script which inside of this
https://github.com/sigson/UTanks/tree/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Hull/Common/Physics/TankPhysics/Scripts
It will be very good if u send just completed only hull physics with new unity package.

You can inspect this prefab https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/GameAssets/Battle/Tank/Base/Prefabs/TankObject.prefab - it contains all of needed script for work suspension And - https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/hornet/public.yml that's values for normally working
Anyway it contains this project manager scripts, but I think you can remove it, main scripts it TankChassisManager and ChassisSystem

TankPrefab does not work too. And when I drag and drop TankPrefab into scene and hit play and it gives me error. You can see in the video. https://www.youtube.com/watch?v=02u3Lghq3to Why is that? I downloaded and extracted your whole project and created a new project in unity and dragged and dropped only "Assets, Packages, Project Settings" which inside "UTanks-Online" into the unity.
Can you tell me why TankPrefab does not work? What is the problem there?
If scripts isnide of TankPrefab does not work without setting whole project complete then please can you guide step by step what to do. I do not know but maybe it does not work without completely launched with utankserver, clients and other things. How can I build UTankServer project?? You mean build it in Visual studio. So where I need to click and build in UTankServer folder and where should I move UTankServer to? And where drag and drop Data to? Do I need drag and drop UTankServer into Unity=>Asset folder or what?

UTanksServer is a separate project. Data is its component. UTanksClient is a separate project. The projects do not depend on each other file-wise and are collected separately. The UTanksServer folder contains the visualstudio solution sln file, which you need to open and simply click build all in debug/release mode. In the folder where UTanksServer is assembled in the form of an exe and many dlls, you need to place the Data folder, then the server will start normally. To run the UTanksClient project, you just need to open https://github.com/sigson/UTanks/blob/master/UTanks-Online/Assets/ClientView/Scenes/Test/TestScene.unity and start playing in the unity editor AFTER STARTED & INITIALIZED SERVER. You are right, that prefab will not start on its own, the project is too complex for its component parts to work in the spirit of the idea of “self-sufficient prefabs”, that prefab is literally the skeleton of the main mechanics of the tank. You need the TankChassisManager and ChassisSystem scripts separately, and you will have to clear them of references to my project if you intend to use physics only for yourself.

So First I need to build UTankServer and I understood this. Now I click on (UtankServer) folder and I see first this solution "UTanksServer.sln" and inside (ClientRealization) folder and there is "ClientRealization" and there is another folder called "UTanksServer" and there are folders such as "bin, ContainerInfo, Converter, core, ECS and etc" and in the last there is "UTanksServer" too. So which one I need to open and build? Only "UTanksServer.sln" in the first folder of (UTanks-master\UTanksServer)?
bandicam 2024-04-29 23-01-55-043

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

No branches or pull requests

2 participants