Page 2 of 2
Re: Breaking Changes - 95.0+
Posted: 16 Sep 2013, 20:37
by FLOZi
gamedata/messages.lua will be removed.
Behaviour is readily replaced with a
widget, or do your own.
Re: Breaking Changes - 95.0+
Posted: 27 Oct 2013, 12:26
by PicassoCT
Re: Breaking Changes - 95.0+
Posted: 30 Oct 2013, 12:23
by Silentwings
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)
Re: Breaking Changes - 95.0+
Posted: 13 Nov 2013, 11:15
by Silentwings
Another one - partially submerged stuff with its aimpoint below the waterline is not hitable by land weapons, because the weapon fires at the aimpoint and the water absorbs the weapon before it reaches the target.
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 :)
Re: Breaking Changes - 95.0+
Posted: 13 Nov 2013, 12:17
by Google_Frog
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.
Re: Breaking Changes - 95.0+
Posted: 13 Nov 2013, 12:19
by Silentwings
Are you sure that is a new problem? I think land based weapons have always fired at the aimpoint.
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.
Re: Breaking Changes - 95.0+
Posted: 13 Nov 2013, 12:30
by Google_Frog
Wow that's a nice feature. I want it back.
Re: Breaking Changes - 95.0+
Posted: 14 Nov 2013, 01:24
by zwzsg
FLOZi wrote:gamedata/messages.lua will be removed.
Behaviour is readily replaced with a
widget, or do your own.
There is a bug in this
game_messages.lua, around line 36-44:
- msgArray has gone out of scope when it's stored
I suggest to move
luaMsgs[label:lower()] = msgArray just above the
end (and also fix indentation).
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+
Posted: 14 Nov 2013, 17:03
by Jools
[redacted]
Re: Breaking Changes - 95.0+
Posted: 15 Nov 2013, 09:08
by Silentwings
(i.e. player has placed commander on map but not clicked ready)
You can detect this with AllowStartPosition (I think maybe also from GameSetup but haven't got time to test right now).
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 05:14
by Jools
This one is replaced by .floatOnWater for the protocol.
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 08:43
by knorke
Jools wrote:
This one is replaced by .floatOnWater for the protocol.
If you write such things into randoms thread you might as well not write it down at all.
Put such things in wiki please:
http://springrts.com/wiki/Lua_UnitDefs
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 14:56
by Jools
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+
Posted: 11 Dec 2013, 15:00
by malric
Jools wrote:I cannot edit the wiki so I put it here instead.
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).
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 15:39
by Jools
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+
Posted: 11 Dec 2013, 19:13
by FLOZi
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.
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 19:19
by Jools
There is no drama, it was satire.
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 19:31
by FLOZi
Jools wrote:There is no drama, it was satire.
And completely inappropriate and inaccurate information to put on the wiki.
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 19:50
by Jools
FLOZi wrote:Jools wrote:There is no drama, it was satire.
And completely inappropriate and inaccurate information to put on the wiki.
I agree. I regret I put it there. But it's also the truth.
Re: Breaking Changes - 95.0+
Posted: 11 Dec 2013, 20:43
by smoth
Jools wrote:FLOZi wrote:Jools wrote:There is no drama, it was satire.
And completely inappropriate and inaccurate information to put on the wiki.
I agree. I regret I put it there. But it's also the truth.
then you put it in a talk page or a thread. The wiki is there for INFORMATION.