Breaking Changes - 95.0+
Moderator: Moderators
Re: Breaking Changes - 95.0+
- Attachments
-
- JustDraftThem.jpg
- (300.56 KiB) Downloaded 2 times
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Breaking Changes - 95.0+
Another thing: aircraft acceleration and brakerates need to be recalibrated for new air movement. Aircraft with hoverattack=true need different attention to others.
(As I understand it, the old engine behaviour didn't match what it was meant to do here so it's really a bugfix :p)
(As I understand it, the old engine behaviour didn't match what it was meant to do here so it's really a bugfix :p)
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Breaking Changes - 95.0+
This gadget fixes it for stationary water stuff and for ships (provided you use SHIP as a modCategory, else you'll have to identify ships some other way).
http://imolarpg.dyndns.org/trac/balatest/changeset/1838
edit: after https://github.com/spring/spring/commit ... fe02fc5c25 that gadget won't work but I can't see a way to fix this now.
It's been fixed in spring+git :)
Last edited by Silentwings on 14 Nov 2013, 22:35, edited 2 times in total.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Breaking Changes - 95.0+
Are you sure that is a new problem? I think land based weapons have always fired at the aimpoint. The difference is that torpedoes used to be smarter.
I'm sure that units aimed at the aimpoint in 91.0. I know because I had to move some aimpoints upwards on amphibious units to prevent them from being able to fire on land without retribution.
I'm sure that units aimed at the aimpoint in 91.0. I know because I had to move some aimpoints upwards on amphibious units to prevent them from being able to fire on land without retribution.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Breaking Changes - 95.0+
Yes - 91 is too long ago for me to remember now (sorry) but in 94 if you near-totally submerge a very large unit (e.g. corkrog) and get a laser to fire at it, the laser will fire at at the join between the model and the watrer, even if only the krogs head is above water. In the same situation in 95 & 95.0.1-35, the laser won't fire. I assume the same thing happens on all units but its most noticeable on large ones.Are you sure that is a new problem? I think land based weapons have always fired at the aimpoint.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Breaking Changes - 95.0+
Wow that's a nice feature. I want it back.
Re: Breaking Changes - 95.0+
There is a bug in this game_messages.lua, around line 36-44:FLOZi wrote:gamedata/messages.lua will be removed.
Behaviour is readily replaced with a widget, or do your own.
- msgArray has gone out of scope when it's stored
Also, my old messages.tdf had only a single label, [Team%i(%s) is no more], which matches neither of the death message of that widget.
Lastly, this version assumes all teams are played by a single human.
So I changed it into: http://pastebin.com/7sUqv9iS which correctly handle the cases of:
- Shared team control
- A.I. bots
Re: Breaking Changes - 95.0+
[redacted]
Last edited by Jools on 11 Dec 2013, 16:18, edited 1 time in total.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Breaking Changes - 95.0+
You can detect this with AllowStartPosition (I think maybe also from GameSetup but haven't got time to test right now).(i.e. player has placed commander on map but not clicked ready)
Re: Breaking Changes - 95.0+
This one is replaced by .floatOnWater for the protocol.FLOZi wrote:Code: Select all
.floater
Re: Breaking Changes - 95.0+
If you write such things into randoms thread you might as well not write it down at all.Jools wrote:This one is replaced by .floatOnWater for the protocol.FLOZi wrote:Code: Select all
.floater
Put such things in wiki please: http://springrts.com/wiki/Lua_UnitDefs
Re: Breaking Changes - 95.0+
I cannot edit the wiki so I put it here instead. If someone edits the wiki it should be put here instead imo: http://springrts.com/wiki/Gamedev:UnitDefs
Re: Breaking Changes - 95.0+
What do you mean "cannot"? You need to login specifically to the wiki at this page: http://springrts.com/wiki/Special:UserLogin (linked from the bottom of any wiki page).Jools wrote:I cannot edit the wiki so I put it here instead.
Re: Breaking Changes - 95.0+
I cannot because one of the moderators blocked me from it. Anyway, this is the thread in which the changes were announced so I think it belongs here as well.
Re: Breaking Changes - 95.0+
You have a 1 week block for dragging ridiculous drama on to the wiki. It was issued on the 5th, so tomorrow or Friday you can edit again.
I agree it should be put into the special part of the unitdef tag as other lua accessing info is. tbh knorke is probably right too and it should be cross posted; really that page needs a new full example.
I agree it should be put into the special part of the unitdef tag as other lua accessing info is. tbh knorke is probably right too and it should be cross posted; really that page needs a new full example.
Re: Breaking Changes - 95.0+
There is no drama, it was satire.
Re: Breaking Changes - 95.0+
And completely inappropriate and inaccurate information to put on the wiki.Jools wrote:There is no drama, it was satire.
Re: Breaking Changes - 95.0+
I agree. I regret I put it there. But it's also the truth.FLOZi wrote:And completely inappropriate and inaccurate information to put on the wiki.Jools wrote:There is no drama, it was satire.
Re: Breaking Changes - 95.0+
then you put it in a talk page or a thread. The wiki is there for INFORMATION.Jools wrote:I agree. I regret I put it there. But it's also the truth.FLOZi wrote:And completely inappropriate and inaccurate information to put on the wiki.Jools wrote:There is no drama, it was satire.