Comments (6)
@Forgon2100 Are you working on this still? I could take on the rest of your work if you wish.
EDIT: I have a solution here.
from warzone2100.
The problem is caused by commit 9830d8d.
Instead of transferring a unit, it is destroyed and a new one is created in its place.
The problem can be fixed by simply copying all necessary droid data (actions,
orders, movement data etc.) from the old droid to the new one.
I have tested this so far by simulating a multiplayer game by connecting to
localhost. When handing over a circling VTOL, it no longer falls out of the sky.
I did also discover an old bug: All transferred units are fully loaded!
This means that you can for instance simply swap a large number of VTOLs with
your ally to rearm them instantly and attack the enemy again, without any pads.
Again, I have been able to test and fix this.
However, there remain a few edge cases in which my solution does not work,
for example when a unit is sent to attack an enemy target out of its reach.
In this case, the unit will stop when being transferred and refuse to move.
So there is some more work for me to be done...
from warzone2100.
I think it should do the destroying/recreating (which both clears its orders and clears orders to kill it) if transferring to an enemy via the nexus link turret, but should just change owner if transferring to an ally voluntarily.
Maybe there could also be an option to give structures to allies, not sure.
from warzone2100.
I think it should do the destroying/recreating (which both clears its orders and clears orders to kill it) if transferring to an enemy via the nexus link turret, but should just change owner if transferring to an ally voluntarily.
Good point.
Maybe there could also be an option to give structures to allies, not sure.
Nexus Link Turrets cannot capture structures in skirmish and multiplayer games.
Structure transfer to allies is supposed to be possible, but (in my opinion)
not worth implementing.
from warzone2100.
I did also discover an old bug: All transferred units are fully loaded!
This means that you can for instance simply swap a large number of VTOLs with
your ally to rearm them instantly and attack the enemy again, without any pads.
Again, I have been able to test and fix this.
That can go into a separate PR.
from warzone2100.
Somebody will add this properties here(
Line 3033 in bafc8a4
from warzone2100.
Related Issues (20)
- Volumetric fog
- observers distract from the battle
- SSAO
- NERF TRANSPORTS HP OR SPEED
- Return the event "eventKeyPressed" HOT 2
- Warning when bringing sensor units into Beta/Gamma 1 from transporter menu
- gfx_api::context::get().initialize failed for backend: opengl HOT 4
- Crash when removing droids from group HOT 4
- Replace all uses of `replaceTexture` with the new PIE4 texture tileset override directives
- Display scale HOT 1
- Mini map (radar) wrong colors on linux, git build HOT 2
- 4.4.2: build fails HOT 7
- Commander Specific Retreat Threshold
- Patrol Command Ignores Movement Commands.
- Propulsion Speed Comparison UI Bug
- Display Commander's Health in Commander Menu UI
- Sensor Units Cannot Target/Attack While Moving
- Rework the network code that handles the connection to the server
- Formation Speed Limiting Was Removed Due To Bugs
- Commander linking and control grouping gets screwed at start of Alpha 10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warzone2100.