Zyliety’s objects

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Zyliety’s objects

Post by zyliety »

Image

Image
Hello everyone,

After a long time learning from object tutorial,I made this small GRF about animals.
For now there are four animals:Ducks、Siberian roe deer、Red-crowned crane and Fox,they are all slop aware.(Except ducks)

I should also mention that I stole a template from GarryG. Please don't hurt me Garry.
(PS: I'm not good at coding :roll: )
Attachments
animal.grf
(1.74 KiB) Downloaded 282 times
Animal_Sourse.rar
(8.09 KiB) Downloaded 253 times
Last edited by zyliety on 24 Jun 2024 09:56, edited 2 times in total.
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
User avatar
2TallTyler
Director
Director
Posts: 574
Joined: 11 Aug 2019 18:15
Contact:

Re: Animal objects

Post by 2TallTyler »

Nice! :)
User avatar
Quast65
Tycoon
Tycoon
Posts: 2807
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Animal objects

Post by Quast65 »

Cute!
What license does your GRF have?
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Re: Zyliety’s object

Post by zyliety »

Quast65 wrote: 23 Jun 2024 14:05 Cute!
What license does your GRF have?
GPLv2 is OK,same to Auz series.
By the way,I don't kown why I get this warning when I compile GRF:
2024-06-24 174206.png
2024-06-24 174206.png (14.35 KiB) Viewed 14869 times
I remember I don't add the animations,how to disable it?
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
Auge
Chief Executive
Chief Executive
Posts: 662
Joined: 23 Oct 2006 02:07
Location: Berlin

Re: Zyliety’s object

Post by Auge »

Hello
zyliety wrote: 24 Jun 2024 09:54 By the way,I don't kown why I get this warning when I compile GRF:
...
I remember I don't add the animations,how to disable it?
If you want to use animations, you have to set the ANIM flag. So far so good. On the other hand nml itself detects the use of animation colours and warns you about a not set ANIM flag (if necessary). Long story short: You have most likely used a palette entry for animation by mistake. The coordinates in the message tells you the positions of the affected pixels.

Tschö, Auge
User avatar
Quast65
Tycoon
Tycoon
Posts: 2807
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Zyliety’s objects

Post by Quast65 »

You have most likely used a palette entry for animation by mistake.
I dont think a mistake.
Its the animated water colors you used around the duckies.
No problem, either ignore or indeed set ANIM here:
Example1062.png
Example1062.png (6.01 KiB) Viewed 14811 times
The warning is handy for example when you accidently use animated colors in your graphics (a flashing red or yellow).
When intended, just ignore ;-)
GPLv2 is OK,same to Auz series.
Nice!
GarryG wrote: 23 Jun 2024 02:48 *PING*
Bringing this to Garry's attention.
They may be a nice addition to his Auz GRFs
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
2TallTyler
Director
Director
Posts: 574
Joined: 11 Aug 2019 18:15
Contact:

Re: Zyliety’s objects

Post by 2TallTyler »

Quast65 wrote: 24 Jun 2024 13:02 The warning is handy for example when you accidently use animated colors in your graphics (a flashing red or yellow).
Or how about a locomotive drawn with the animated brown used for cola wells in Toyland? :lol:
User avatar
GarryG
Tycoon
Tycoon
Posts: 6212
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Zyliety’s objects

Post by GarryG »

zyliety wrote: 23 Jun 2024 06:53 I should also mention that I stole a template from GarryG. Please don't hurt me Garry.
Your more than welcome to use my projects.

Like what you have done there. I was ask long time ago if a person could add wild animals to the object sets but all I did so far is kangaroos and Emus. If like can send those to you to add to your animal set.

Wonder what other wild animals that fairly easy to draw?
Quast65 wrote: 24 Jun 2024 13:02 Bringing this to Garry's attention.
They may be a nice addition to his Auz GRFs
Be nice if "zyliety" can continue his project and I send him my Emus and Kangaroos and if any one else has done any animals that you could see in the wild send those to zyliety as well.

EDIT:
This image shows some animals I did some time ago.
Animals.png
Animals.png (4.18 KiB) Viewed 14685 times
You can see some deers (maybe can be used as Elks), a calf (that might be able to be used for other animals, a tail make it look like a black panther), Rabbit Warren with 2 rabbits and some bears.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Videos and Images of Trains: viewtopic.php?t=90763
User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Re: Zyliety’s objects

Post by zyliety »

Sometimes I wonder if I can make some decorations for Japan's station.
A few weeks ago I made these station facilities. They are match with those stations.
Some graghics from GarryG、DemainWSE and many others.
Lisence:GPLv2 or higher.
For now I have no plan to update becuase I'm working on animals. :D
Image

Image
Attachments
JPstation_Facility_Objects1.rar
Sourse
(164.95 KiB) Downloaded 254 times
Drudham Transport, 10-04-2001.png
(234.83 KiB) Not downloaded yet
Rafingway Transport, 09-03-3277.png
(210.4 KiB) Not downloaded yet
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Re: Zyliety’s objects

Post by zyliety »

Animal Objects
As for animals, this is what I already done:
siberian roe deer, bear, red-crowned crane, fox
dingo, rabbit warrens, cassowary, wombats, wallaby
swan, canada goose, duck, cattail, koi.
I add some animations on water, like this gif below:
animation.gif
animation.gif (4.02 MiB) Viewed 14144 times
In the future plan I will continue to draw animals,or some ornamental plants. :D
Attachments
Animal_Sourse_code.rar
(57.92 KiB) Downloaded 175 times
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
User avatar
2TallTyler
Director
Director
Posts: 574
Joined: 11 Aug 2019 18:15
Contact:

Re: Zyliety’s objects

Post by 2TallTyler »

Love it!! :D
Argus
Tycoon
Tycoon
Posts: 1310
Joined: 16 Oct 2018 08:31
Location: Heart of the Highlands. Not Scottish. Czech.

Re: Zyliety’s objects

Post by Argus »

It would be appropriate to place it on Bananas :)
User avatar
Quast65
Tycoon
Tycoon
Posts: 2807
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Zyliety’s objects

Post by Quast65 »

Argus wrote: 05 Jul 2024 17:45 It would be appropriate to place it on Bananas :)
We need monkeys first....
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
SkiddLow
Route Supervisor
Route Supervisor
Posts: 414
Joined: 09 Jul 2012 00:44
Location: Surabaya
Contact:

Re: Zyliety’s objects

Post by SkiddLow »

zyliety wrote: 05 Jul 2024 09:46
Animal Objects
As for animals, this is what I already done:
siberian roe deer, bear, red-crowned crane, fox
dingo, rabbit warrens, cassowary, wombats, wallaby
swan, canada goose, duck, cattail, koi.
I add some animations on water, like this gif below:
animation.gif
In the future plan I will continue to draw animals,or some ornamental plants. :D
^^^
Animals GRF set is viable to bringing habitatble animal places into nature, despite developmental.
I suggested to additional more animals based on selected climates (landscapes) : TROPICS => orangutans, gorillas, monkeys, tropical birds, rhinoceros, elephants, giraffes, tigers, cheetahs, goats, pandas, etc.. DESERT => camels & dromedaries, ostrich, oryx, antelopes, etc.. TOYLAND (This landscape should be inclusion) => habitats such as toy bear, toy deer, robotic dog, chocolate rabbit, etc.

Also should add sound effects for Animals
Argus
Tycoon
Tycoon
Posts: 1310
Joined: 16 Oct 2018 08:31
Location: Heart of the Highlands. Not Scottish. Czech.

Re: Zyliety’s objects

Post by Argus »

I can't seem to see your suggestions anywhere. You keep writing everywhere what you would do or will do and nothing. You were only able to make one car from the Indonesian set of vehicles, and now you're just annoying the people who actually make something and it shows behind them. :roll:
WenSim
Engineer
Engineer
Posts: 43
Joined: 02 Sep 2023 08:38
Location: Wenzhou

Re: Zyliety’s objects

Post by WenSim »

I suggested to additional more animals based on selected climates (landscapes) : TROPICS => orangutans, gorillas, monkeys, tropical birds, rhinoceros, elephants, giraffes, tigers, cheetahs, goats, pandas, etc.. DESERT => camels & dromedaries, ostrich, oryx, antelopes, etc.. TOYLAND (This landscape should be inclusion) => habitats such as toy bear, toy deer, robotic dog, chocolate rabbit, etc.
Climate specific engines may make sense, but climate specific objects is awful, at least for me.
Find me on GitHub or on Discord (wensimehrp, or WenSim)
Also find me via QQ: 1049170778, or email: wensimehrp@gmail.com
Green stuff here, may be helpful for content creators.
User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Re: Zyliety’s objects

Post by zyliety »

ornamental plants
It's time to bring flowers to OpenTTD.
For now they are 15 kinds of flowers.
Thanks for Moonlight provide me photos, and help me draw the graghics. :D
This is a test version because some of the flowers are unfinished.
Image
Attachments
Seninghall Transport, 18-05-3331.png
(802.07 KiB) Not downloaded yet
Zyliety's_Plant_Set.grf
(62.88 KiB) Downloaded 149 times
Zyliety's_Plant_Set.rar
Sourse
(110.67 KiB) Downloaded 225 times
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
User avatar
zyliety
Transport Coordinator
Transport Coordinator
Posts: 307
Joined: 11 Nov 2022 05:01

Re: Zyliety’s objects

Post by zyliety »

Animal Objects
Because I'm concentrate on plants, GarryG helps me to code with animals and add new fence.Thanks for GarryG.
But I have a problem when I compiling his code, it shows this error:" nmlc ERROR: "Zyliety's_Animal_SetV1.nml", line 360: Temporary registers from 128 to 255 are reserved for NML's internal calculations."It don't work unless I change the number to 127.Does anyone know how to fix it?

Image

Code: Select all

//calculate ground sprite for object
switch (FEAT_OBJECTS, SELF, switch_ObjectMenu_object, [
    STORE_TEMP(0, 0),
    STORE_TEMP(GROUNDSPRITE_NORMAL, 1),
    STORE_TEMP(terrain_type == TILETYPE_DESERT ? GROUNDSPRITE_DESERT : LOAD_TEMP(1), 1),
    STORE_TEMP(terrain_type == TILETYPE_SNOW   ? GROUNDSPRITE_SNOW : LOAD_TEMP(1), 1),
    STORE_TEMP(snowline_height == 0xFF ? 0xFF : nearby_tile_height(0,0) - snowline_height, 255),
    STORE_TEMP((LOAD_TEMP(255) == -1) ? GROUNDSPRITE_SNOW_1_4 : LOAD_TEMP(1), 1),
    STORE_TEMP((LOAD_TEMP(255) ==  0) ? GROUNDSPRITE_SNOW_2_4 : LOAD_TEMP(1), 1),
    STORE_TEMP((LOAD_TEMP(255) ==  1) ? GROUNDSPRITE_SNOW_3_4 : LOAD_TEMP(1), 1)
        ]) {
    switch_ObjectMenu_view;
}
Attachments
2024-07-09 123243.png
(27.08 KiB) Not downloaded yet
Zyliety's_Animal_SetV1Source2.rar
(912 KiB) Downloaded 168 times
Screenshots:JP theme screenshot by zyliety
Projects:Zyliety’s objects

All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise
User avatar
GarryG
Tycoon
Tycoon
Posts: 6212
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Zyliety’s objects

Post by GarryG »

zyliety wrote: 09 Jul 2024 09:26 But I have a problem when I compiling his code, it shows this error:" nmlc ERROR: "Zyliety's_Animal_SetV1.nml", line 360: Temporary registers from 128 to 255 are reserved for NML's internal calculations."It don't work unless I change the number to 127.Does anyone know how to fix it?
I just ran nmlc and had no problem converting it to a .grf.
nmlc Zyliety's_Animal_SetV1.nml
Here the game file converted.

EDIT:
Just to remind people that the game file I loaded here is not complete. Still animals and fences to add.
Attachments
Zyliety's_Animal_SetV1.grf
(1.26 MiB) Downloaded 228 times
Last edited by GarryG on 10 Jul 2024 06:10, edited 1 time in total.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Videos and Images of Trains: viewtopic.php?t=90763
WenSim
Engineer
Engineer
Posts: 43
Joined: 02 Sep 2023 08:38
Location: Wenzhou

Re: Zyliety’s objects

Post by WenSim »

But I have a problem when I compiling his code, it shows this error:" nmlc ERROR: "Zyliety's_Animal_SetV1.nml", line 360: Temporary registers from 128 to 255 are reserved for NML's internal calculations."It don't work unless I change the number to 127.Does anyone know how to fix it?
You would need a patch for that, which should be https://github.com/OpenTTD/nml/pull/306. At this point you shall no longer use a standard binary to compile your work, instead you should clone the source code, merge the pull request, then run it via the python installed on your system (don't forget to install the dependencies). I believe you're on windows (as the font looks ugly), so ideally you could run nmlc like this

Code: Select all

py nml/nmlc
Find me on GitHub or on Discord (wensimehrp, or WenSim)
Also find me via QQ: 1049170778, or email: wensimehrp@gmail.com
Green stuff here, may be helpful for content creators.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 8 guests