FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
Moderator: OpenTTD Developers
FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
Hey all! I'd like to suggest the developers to change the FFP Hyperdat 2 aircraft from being a large plane into a small plane. It would be the only small available aircraft with very high speed. Also, the Guru X2 Helicopter shouldn't be missing past 2050, it kind of makes Oil Rigs and Helipads useless.
Who's with me?
Who's with me?
Last edited by Samu on 18 Jun 2010 09:48, edited 1 time in total.
Re: FFP Hyperdart 2 and Guru X2 Helicopter
The developers aren't going to change things like vehicle statistics which can be modified with newgrfs. You could make a grf to change those two things easily. 

Re: FFP Hyperdart 2 and Guru X2 Helicopter
I can't code t.t 
Is there a vehicle editor somewhere?

Is there a vehicle editor somewhere?
Re: FFP Hyperdart 2 and Guru X2 Helicopter
Have you tried? I couldn't code once tooSamu wrote:I can't code t.t?

Re: FFP Hyperdart 2 and Guru X2 Helicopter
if you'd take a look at the newgrf tutorial, you'd notice that the changes you request are not more than a handful of lines that you could copy almost verbatim, just tweaking a couple of numbers.
Re: FFP Hyperdart 2 and Guru X2 Helicopter
Since I'm feeling generous...
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Escapes: 2+ = 71 = D= = DR 2- = 70 = D+ = DF 2< = 7= = D- = DC 2> = 7! = Du* = DM 2u< = 7< = D* = DnF 2u> = 7> = Du<< = DnC 2/ = 7G = D<< = DO 2% = 7g = D& 2u/ = 7gG = D| 2u% = 7GG = Du/ 2* = 7gg = D/ 2& = 7c = Du% 2| = 7C = D% 2^ 2sto = 2s 2rst = 2r 2+ 2ror = 2rot
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 03 00 00 00
1 * 79 08 07 44 44 F0 02 "Long Helicopter and Small Hyperdart" 00 "Modifies these two default aircraft." 00
2 * 7 00 03 01 01
27 // guru x2
04 FF // never expire
3 * 7 00 03 01 01
1E // FFE Hyperdart
0A 00 // small aircraft
Last edited by PikkaBird on 02 May 2010 03:39, edited 1 time in total.
Re: FFP Hyperdart 2 and Guru X2 Helicopter
Yep, I made a mistake.
Tthe property to change for the helicopter is 04, not 03 - I have fixed it in the NFO above. Encoding the GRF is left as an exercise for the reader. 


-
- Engineer
- Posts: 72
- Joined: 21 Jan 2009 12:24
Re: FFP Hyperdart 2 and Guru X2 Helicopter
I think Pikka is being far too humble.
I recommend trying his AV8 GRF (available from the content downloader), It has far more aircraft available than the default game vehicles including more planes that can use small airports and futuristic helicopters.
http://users.tt-forums.net/pikka/wiki/i ... Vehicles_3

I recommend trying his AV8 GRF (available from the content downloader), It has far more aircraft available than the default game vehicles including more planes that can use small airports and futuristic helicopters.
http://users.tt-forums.net/pikka/wiki/i ... Vehicles_3
Re: FFP Hyperdart 2 and Guru X2 Helicopter
Aha, I made it!... or Pikka made it! (I think it works, please check it out)
PS: I don't understand anything of those numbers of characters, I'm totally clueless about what they mean, I just copied and pasted it into a .nfo file and used grfcodec.
Is there a way to make it available to download via in-game content? What if I host a game and someone wants to join? How will he download this?
PS: I don't understand anything of those numbers of characters, I'm totally clueless about what they mean, I just copied and pasted it into a .nfo file and used grfcodec.
Is there a way to make it available to download via in-game content? What if I host a game and someone wants to join? How will he download this?
- Attachments
-
- hyperdart_guru.tar
- (2.5 KiB) Downloaded 88 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: FFP Hyperdart 2 and Guru X2 Helicopter
You could upload it to bananas.
Or you could get OpenGFX+ (which is also not yet on Bananas) and have this newgrf, three trams, some cargo class support for the default rail wagons and a climate-sensitive small airport on top for free, all in one newgrf.
Or you could get OpenGFX+ (which is also not yet on Bananas) and have this newgrf, three trams, some cargo class support for the default rail wagons and a climate-sensitive small airport on top for free, all in one newgrf.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: FFP Hyperdart 2 and Guru X2 Helicopter
Hi, I'm going to try it.

I forgot about one thing, the Toyland aircrafts are different than those from the other tilesets. There is no Small Aircraft available for about 40 years!!!... yet there is still the possibility to build a Small Airport. The vehicle in question is named 'Flashbang X1' - it is already small, but it shouldn't expire. How do I change this?
PS: Toyland seems to get the least love t.t
edit: oops, it's 40 years, I was looking at the concept date.
Re: FFP Hyperdart 2 and Guru X2 Helicopter
I'm trying to understand what I have to do to change Flashbang X1 from expiring to never expire. I tried to read the wiki, and I think I got a few things already.
The vehicle ID is 25 for Flashbang X1
To specify the vehicle as aircraft I use 03
The 00 is the Action0 and I have no clue how it's supposed to work, but I'm just buying it
The first 01 is the number of properties I want to change
The second 01 is the number of vehicles going to be changed
04 is the property 'model longevity', and I'm changing it to last forever, FF
So, the end result is 7 changes and a new code "sprite" is added, number 4
Hope I got this correctly. However, I don't understand anything of that 'Escapes' thing, it's way too confusing for me. I don't really get the sprite 1 * 79. Where do those 79 changes come from?
The vehicle ID is 25 for Flashbang X1
To specify the vehicle as aircraft I use 03
The 00 is the Action0 and I have no clue how it's supposed to work, but I'm just buying it
The first 01 is the number of properties I want to change
The second 01 is the number of vehicles going to be changed
04 is the property 'model longevity', and I'm changing it to last forever, FF
So, the end result is 7 changes and a new code "sprite" is added, number 4
Code: Select all
4 * 7 00 03 01 01
25 // Flashbang X1
04 FF // never expire
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
I can't get this to work, can someone help?
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
Your code changes the flashbang wizzer, not the flashbang x1. The rest of it looks ok.http://wiki.ttdpatch.net/tiki-index.php?page=VehicleIDs wrote:Code: Select all
250 23 Flashbang X1 251 24 Juggerplane M1 252 25 Flashbang Wizzer
And slightly offtopic but maybe still helpful, the same code in nml:
Code: Select all
item(FEAT_AIRCRAFT, flashbang_x1, 0x23) {
property {
model_life: VEHICLE_NEVER_EXPIRES;
}
}
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
I noticed it too, and tried to fix it, but it still doesn't work.
This is what I'm doing:
Doesn't work. What happens is that the Toyland helicopter disappears when I use this and start a game in 2050.
This is what I'm doing:
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 03 00 00 00
1 * 133 08 07 "DDð" 02 "Patch FFP Hyperdart, Guru "
"X2, Flashbang X1" 00 "FFP Hyperdart changed "
"to small aircraft. Guru X2 and Flashbang "
"X1 no longer expire." 00
2 * 10 00 03 01 02 27 04 FF 23 04 FF
3 * 7 00 03 01 01 1E 0A 00
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
I've annotated what your code actually does
If you want to change 2 vehicles and their ids are not consecutive you need 2 action0's.Samu wrote:Code: Select all
2 * 10 00 03 01 02 //change 2 vehicles 27 // id of first vehicle to change 04 // property to change FF // value for first vehicle (with id 27 + 0 = 27) 23 // value for second vehicle (with id = 27 + 1 = 28) 04 FF // unused
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
Now it says invalid ini when I start the game... aha, I'm so newb to this.
Code: Select all
D:\ImagensCD\OpenTTD>grfcodec -e patch.grf
GRFCodec version 0.9.10 - Copyright (C) 2000-2005 by Josef Drexler
Encoding in temporary file patch.new
Sprite 4 Done: 80% Compressed:100% (Transparency:100%, Redundancy:100%)
Deleting patch.grf
Replacing patch.grf with patch.new
Done!
D:\ImagensCD\OpenTTD>
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 5 04 00 00 00 00
1 * 133 08 07 44 44 F0 02 "Patch FFP Hyperdart, Guru X2, Flashbang X1" 00 "FFP Hyperdart changed to small aircraft. Guru X2 and Flashbang X1 no longer expire." 00
2 * 7 00 03 01 01
27 // Guru X2
04 FF // never expire
3 * 7 00 03 01 01
23 // Flashbang X1
04 FF // never expire
4 * 7 00 03 01 01
1E // FFP Hyperdart
0A 00 // small aircraft
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
ALP!!! ALP MEH!!! lol
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
Accurate error messages are always helpful.
Re: FFP Hyperdart 2, Guru X2 Helicopter and Flashbang X1
No error message at all this time. It just doesn't get listed, not ever when I reload, reload!
- Attachments
-
- patch.tar
- (2.5 KiB) Downloaded 81 times
Who is online
Users browsing this forum: Ahrefs [Bot] and 14 guests