Heavy Equipment Set (HEQS) v1.5.2 released! [OTTD]

Find and discuss all the latest NewGRF releases for TTDPatch and OpenTTD here.

Moderator: Graphics Moderators

User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by ISA »

OK hello! Its seems kinda dump, but I have a question! I haven't follow OpenTTD thread awhile so, is this set playable with TTDPatch too or not?
When I last check it wasn't so whats up now?
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

ISA wrote:I haven't follow OpenTTD thread awhile so, is this set playable with TTDPatch too or not?
Question is fine :) Set is not compatible with TTDPatch, the main issue is that there are nowhere near enough vehicle IDs spare in patch. In OpenTTD the engine pool makes it possible to use up to 256(?) IDs per newgrf set. HEQS uses a lot of IDs :)

However someone could produce a "Light Heavy Equipment Set" for TTDPatch. The nfo is available (GPL license). It would simply be a matter of choosing vehicles (I would use some of the dump trucks and tractors, drop the bulldozers), changing IDs, and recompiling. I know of at least one person considering something like that, but I can say no more about it :)

I would provide *no* player support for a TTDPatch version, but I would help a coder rebuild it. Anyone interested? PM for sprites.

cheers,

Andy
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by DJ Nekkid »

you can also use xFFFF number of IDs in a single grf :)
Member of the
ImageImage
tuesday
Engineer
Engineer
Posts: 5
Joined: 29 May 2009 09:56

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by tuesday »

Hm, concerning that error message. I just registered to this forum just to answer this question, since I wanted to play with HEQS urgently and it did not run properly under 0.7.0.

All the explanations, also that given under the corresponding OpemTTD bug report do not provide clear information. The matter is, the 'articulated callback' is not only called when the vehicle is in operation, but in the buy menu also! So the grf must provide the entry point for the 'articulated callback' also when 'buy menu' graphics are requested. I re-engineered eGRVTS to find it out, it's not well described in the docs.

So I patched HEQS 0.4 preview with that thing and it works fine now, i.e. I've only tested yet that the error message doesn't appear any more, but I think it will work properly.

I replaced the action3 of the articulated vehicles with the following thing:

Code: Select all

//
//**** Modification (TT): 'articulated callback for buy menu' ****
    0 * 0 	 02 01 D0
               81 0C 00 FF // handle callbacks
               01 //check one range
                B0 00 16 16 // articulated vehicle CB * varies*
               F0 00 //otherwise go to ID F0 (ie. apply vehicle purchase graphics)
//
    0 * 0	 03   // Action 3
    01  // RV 
    01  // Number of vehicles this action associate graphics with 
    D6  // Vehicle ID *varies *
    01  // Number of different cargo types to support
    FF D0 00 // buy menu sprites
    B1 00   // default Action 2 ID *varies* 
//**** Modification end ****
//
What happens? The graphics for the 'buy menu' are ID F0. I removed this from the original action3 and provided ID D0, which splits between the 'articulated callback' and the original graphics F0. And D0 does nothing except that it links to the already existing B0, which provides the build instructions for the articulated vehicle (in one case, it was B1, I think, but otherwise it's B0). Pretty much the same for all the articulated vehicles.

Now the 'articulated callback' is provided for all the graphics - vehicle in operation, vehicle in buy menu - and OTTD appears to be happy.

Nice job, Andy. I consider HEQS to become one of the greatest vehicle sets. It already changes the possibilities of gameplay drastically, and while re-engineering your .nfo I saw how much effort went into this. Amazing.

Best regards

tuesday
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by DJ Nekkid »

he's already been gived a good solution via PM :p
Member of the
ImageImage
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

@ Tuesday and DJ: Thanks to both of you for your solutions. Both make sense but I haven't had time to try either yet. I might get to it this weekend, but have a few other things going on. I'll post when I know more.

cheers,

Andy
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by DJ Nekkid »

send me the sources, and i'll set up a repo on the openttdcoop's guys devzone :)

@ tuesday:

I have a more elegant solution, where you dont have to do any replicated code. PM me if you are intersted in getting it :)
Member of the
ImageImage
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

Ok, so I think I have a solution to the problem with incorrect articulated vehicle refits in the purchase menu. I've used DJ's solution - it just happened that I tried it first and appears to work well - but thanks anyway for the suggestion Tuesday.

I've tested on one vehicle. I'll have to apply this to the rest of the grf next, so it might not get done this weekend. The fix happens to also resolve problems I had displaying capacity and refit information to the player.

cheers,

Andy

Andy
User avatar
Brantwan
Traffic Manager
Traffic Manager
Posts: 166
Joined: 19 Feb 2009 21:04
Skype: brantwan
Location: New Brunswick , Canada
Contact:

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by Brantwan »

thanks andy i cant wait to try the fixed version
I Am the Mustard King..... I like to bath in Mustard!!
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

Brantwan wrote:thanks andy i cant wait to try the fixed version
EDIT I now have a v0.4c ready (turns out 0.4b already existed and I forgot) with a fix for the buy menu problems. I'll post here in a minute, I found some time to test, haven't found any major issues.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

UPDATE 7th June 2009. Version 0.4c removed from this post. Latest HEQS release is in the first post of the thread. Information below is out of date

----------------------

Okay, for the brave, here's HEQS 0.4c. This fixes an issue with the buy menu as shown below. Among other things, this fix means that articulated vehicles now report capacities and refit options correctly (partly thanks to DJ Nekkid, and partly to changes in trunk). I've also done some cleanup, mostly to text shown in the purchase menu which was no longer needed.

This is tested briefly by me. I have not played a full game with it.
- there is one graphical issue where the Fourtrac shows incorrect sprites for the wood cargo with nightly r16470 and may affect other nightlies. This also affects HEQS 0.4b and is known to be a trunk issue (thanks Frosch).
- I believe this is *not* 100% saved game compatible. I have tested it with a saved game and some vehicles do not show correctly in the buy menu. Therefore I have included the version number in the 0.4c file so you can also keep version 0.4b (that file is named as heqs_preview_v0.4.grf) available for saved games/servers.

Please report any issues here...if nothing serious is found I'd like to update the first page of the thread this week to make 0.4c the official release.

thanks,

Andy
Attachments
Now fixed :)
Now fixed :)
heqs_0.4_buy_menu_issue.png (9.51 KiB) Viewed 3161 times
Last edited by andythenorth on 07 Jun 2009 19:05, edited 1 time in total.
User avatar
Brantwan
Traffic Manager
Traffic Manager
Posts: 166
Joined: 19 Feb 2009 21:04
Skype: brantwan
Location: New Brunswick , Canada
Contact:

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by Brantwan »

Great job andy they all work keep up the great work. :D
I cant wait to try out some of your new one that you have in progress.
I Am the Mustard King..... I like to bath in Mustard!!
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

So, screenshots featuring HEQS anyone? There have been about two and a half thousand downloads, but what are you guys doing with it?

This might influence the direction of future HEQS development (if any!!) :)
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2399
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by SwissFan91 »

No doubt this has been mentioned elsewhere, but I have found that this set doesn't work with other road sets. It can lead to busses and other such things appearing in completely inappropriate places. Do i need to attach a screenie or are you aware ?
Total Alpine Replacement Set: Industry, Town, Objects
User avatar
Comm Cody
Tycoon
Tycoon
Posts: 1062
Joined: 07 Mar 2008 22:21
Location: In a galaxy far far away.

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by Comm Cody »

2 words. ENGINE POOL!
Something goes here, hell if I know.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by andythenorth »

Thanks to much help from Planetmaker and Ammler, HEQS is now in the openttd coop source repository. Project page is: http://dev.openttdcoop.org/projects/heqs

If you know why this is a good thing, read no more.

If you don't know the benefit of this, I'm not going to explain it in detail :) In short, it's a good thing. Explore the site linked above if you want to know more ;)

Other highlights of this weekend include
- a neat makefile system from Planetmaker that simplifies building the HEQS grf
- a working Mac version of grfcodec (also thanks to Planetmaker)
- no bug reports so far on version 0.4c of HEQS (bug fix and minor improvements, grf posted above). ;)

cheers,

Andy
User avatar
Brantwan
Traffic Manager
Traffic Manager
Posts: 166
Joined: 19 Feb 2009 21:04
Skype: brantwan
Location: New Brunswick , Canada
Contact:

Re: Heavy Equipment Set (HEQS) v0.4 Released...need feedback :)

Post by Brantwan »

what might be different in this one andy?
I Am the Mustard King..... I like to bath in Mustard!!
Post Reply

Return to “Graphics Releases”

Who is online

Users browsing this forum: No registered users and 18 guests