Probably. Anyway, adding 1 works perfectly unless borg factories are involved (and when they are involved, some borg factories are still built correctly, while others are shifted by 1/2 tiles left or right) (even though regular factories also have odd dimensions).
Also, i'm already talking about javascript engine (having some fun experimenting with semperfi-js)
trouble with pickDroidStructLocation
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: trouble with pickDroidStructLocation
Ok, good catch. I think I fixed this now.
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: trouble with pickDroidStructLocation
Thanks!! Will test (:
Upd: yeah, actually fixed (:
Upd: yeah, actually fixed (:
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: trouble with pickDroidStructLocation
There seems to be one more thing. Even though construction happens correctly, building previews are still shifted in some cases:
(these screenshots also feature #3050)
(seems to apply only to javascript building order calls, not to wzscript ones)
(these screenshots also feature #3050)
(seems to apply only to javascript building order calls, not to wzscript ones)
You do not have the required permissions to view the files attached to this post.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam