Possible to change how much airplanes cost to buy?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

That should work. If you don't have a file called planesetw_459 (no extention), "renum planesetw_459" should work too.

There should be something in the readme about drag&drop, but there isn't. It's in the Changelog, though (v0.4). That works pretty well too.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

I tried it but seems like nothing happens.....

And the window just keep closing so quick so I can't read any error message.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Nothing happens to your NFO either? (Look closely. Did the length of sprite 14 change, for example?) Is there a new .BAK file?

If truely nothing is happening, then you'll have to run it from a command line to get the error message(s).
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

I really don't get this...
Maybe im stupid....really...

I don't mean to be rude or something, but can I send u the file and u check it??
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I'll check it, but the only thing I'll tell you is whether or not it broke NFORenum. If it doesn't break NFORenum, then its your problem, not mine.
Nothing personal, you understand, but if I renumbered files for you then I'd have to renumber files for everyone else, too.

It sounds to me like you've never used a command-line program before. You may be able to find someone who will walk you through it, but I can't. (Not "won't", "can't". There's a difference.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

Of course, I understand :)
It would be nice if u could just tell me if it is possible or not to fix it...
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I can't tell you if it's possible to fix until I know what's broken.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

That's why it would be good if you could only check my file and tell me if it is possible to fix it or not...
The job I can try to do myself :)
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Let's try this again:
1) I can't tell you if it's possible to fix until I know what's broken.
2) You have not told me what's broken
3) You have not shown me what's breaken.
4) You have not shown me it breaking.
and
5) For some reason, I seem to be incapable or reading your mind today.

Do you see the problem yet?

Or, in plain English: I can't check a file you won't give to me.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

be cool ha ha :D
I would like to send you the file, but I need you r e-mail...
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

My username at gmail.com

But do you not see that "Add an attachment" button? Just below the text box where you type your post?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

Ahh....sorry, you're right!! :)
I didn't see the button...
My fault.....here is the file....

PS..I had to change the .nfo file to .txt file since I wasn't allowed to send a nfo file here......
Attachments
planesetw459.txt
(42.11 KiB) Downloaded 111 times
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

You obviously didn't run NFORenum on that file. It quite correctly objects to what is labeled as sprite 14. Sprite 14 has something that no other pseudosprite does.

You probably want to re-read the Action0Planes, GRFActionsDetailed, and GRFTutorial TTDPatch wiki pages (but probably not in that order)

(Hint 1: Hexadecimal. Hint 2: one byte)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

Ok, thanks for the reply!

Just one question....is the .nfo file ok....??
or do I have to change something with the new 0B numbers/values I changed inside of the text file?
Understand what I mean??
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

No, the NFO is not OK. grfcodec may accept it if you add 1 to sprite 14's length, but that is not what you want; you'll end up setting prop 00 twice, and never setting prop 0C.

Look at every other pseudo sprite. See how they nearly always have ... XX XX XX XX XX...? See how sprite 14 has ...XX XX XXX XX XX...? See the difference?
Those XXes are not numbers. On the contrary, they are "two hex characters", and must be treated as such.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

Ok, I will do my best to find out what to do.
Even though I find this very complicated.

Thanks a lot for all the help :)
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

Xaykev wrote:Ok, I will do my best to find out what to do.
Even though I find this very complicated.
If it was simple everyone could do it.
Then how would computer geeks get to be so elitist (1337)?
Xaykev
Engineer
Engineer
Posts: 99
Joined: 19 Jan 2006 11:53

Post by Xaykev »

..so what you r saying is that the highest amount to pay for a plane is FF, since I can only have xx and not xxx...??
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Yes and no. After that, you have to adjust the base cost if you want to make it more expensive.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 14 guests