Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:02
    Gymnasiast commented #10346
  • 14:53
    OpenRCT2-git-bot labeled #10347
  • 14:53
    OpenRCT2-git-bot labeled #10347
  • 14:53
    OpenRCT2-git-bot assigned #10347
  • 14:53
    OpenRCT2-git-bot opened #10347
  • 12:58
    modulo7 opened #10346
  • 09:41
    AaronVanGeffen commented #10341
  • 09:35
    duncanspumpkin commented #10341
  • 09:35
    duncanspumpkin commented #10341
  • 09:25
    duncanspumpkin commented #10333
  • 07:30
    telk5093 commented #10283
  • 07:15
    OpenRCT2-git-bot labeled #10345
  • 07:15
    OpenRCT2-git-bot labeled #10345
  • 07:15
    OpenRCT2-git-bot assigned #10345
  • 07:15
    OpenRCT2-git-bot opened #10345
  • 04:45
    Wuzzy2 opened #1776
  • 04:43
    OpenRCT2-git-bot assigned #10344
  • 04:43
    OpenRCT2-git-bot labeled #10344
  • 04:43
    OpenRCT2-git-bot labeled #10344
  • 04:43
    OpenRCT2-git-bot opened #10344
Ethan Smith
@ethanhs
woah this is amazing
Nate Bates
@nate2014jatc
What does the game want when it asks for the "Twitch API URL" when you are in the settings screen?
Ethan Smith
@ethanhs
It allows twitch.io integration for things like multiplayer
AIUI
Ethan Smith
@ethanhs
I love how I can't connect to Destiny 2 servers unless I am behind my VPN
Nate Bates
@nate2014jatc
twitch.io? I thought it was twitch.tv?
Ethan Smith
@ethanhs
er shit twitch.tv yeah
Nate Bates
@nate2014jatc
XD No worries mate
Any idea where I find that though?
Nate Bates
@nate2014jatc
9243 guest + 64 Handymen + 32 Mechanics + 44 Security = 9383 people.
Which the game says is too many XD
Michael Steenbeek
@Gymnasiast
Yes, because there is a maximum of 10000 sprites, which also includes ducks, vomit, steam particles, money effects, balloons, shrapnel, ...
Nate Bates
@nate2014jatc
Oh! That's really neat actually. I just thought it was funny that it got THAT high in the first place
Wait, does that mean I can cram my park to avoid litter?
Krutonium
@Krutonium
In theory, but I think the game reserves some sprites
Nate Bates
@nate2014jatc
that's brilliant XD
Krutonium
@Krutonium
I think though
I wonder
If balloons are counted as their own sprites while they are being held.
Ted John
@IntelOrca
No so if there are no sprite slots available then the balloon will disappear rather than rise into the air
Nate Bates
@nate2014jatc
That seems like a reasonable thing to do. Considering that it's already keeping track of 10k sprites, I wouldn't want it to have to animate the balloon and listen for the easter egg triggers
ElliotImhoff
@ElliotImhoff
Don't know if I am just missing something but does anybody know how openrct2 handles ride creation in the code a little more in depth. I am trying to write something to create rides but can't seem to find information on how rides are handled. I know the td6 file format is decoded and listed but I rather write something in c++ that uses openrct2's already working ride construction functions and such.
Nate Bates
@nate2014jatc
If I'm reading this correctly, this SHOULD reboot the machine every five days at 2 am, right?
0 2 */5 * * reboot > /var/log/reboots.log
Michael Steenbeek
@Gymnasiast
Looks like it, though I'm not entirely sure if it's "every five days" or "any day divisible by five". The latter is subtly different if you consider there are months with 28, 29 or 31 days.
Depending on the situation, I would most likely pick a fixed day of the week (e.g. sunday), rather than an interval of 5 days.
@ElliotImhoff It's hard to answer, because that is a very general question. If you can narrow it down to specific questions, we might be able to help.
Nate Bates
@nate2014jatc
Thank you @Gymnasiast ]
ElliotImhoff
@ElliotImhoff
@Gymnasiast Sorry about the lack of details to be more specific Im wondering if I need to use
void ride_construct_new(ride_list_item listItem)
{
    int32_t rideEntryIndex = ride_get_entry_index(listItem.type, listItem.entry_index);
    int32_t colour1 = ride_get_random_colour_preset_index(listItem.type);
    int32_t colour2 = ride_get_unused_preset_vehicle_colour(rideEntryIndex);

    auto gameAction = RideCreateAction(listItem.type, listItem.entry_index, colour1, colour2);

    gameAction.SetCallback([](const GameAction* ga, const RideCreateGameActionResult* result) {
        if (result->Error != GA_ERROR::OK)
            return;

        auto ride = get_ride(result->rideIndex);
        ride_construct(ride);
    });

    GameActions::Execute(&gameAction);
}
@Gymnasiast located in GameActionCompat.cpp or does a different set of functions exist for creating rides and tracks in game?
ElliotImhoff
@ElliotImhoff
My end goal to make a program to auto create mazes because I hate using the in game editor and I wanted a fun project to work on
Duncan
@duncanspumpkin
@ElliotImhoff you will find it easier to create a td6 file than to use the intermediate functions. To use the intermediate functions you first need a ride id by calling the create ride game action.
Then you can place maze track using the maze place track action.
Or use the MazeSetTrackAction
They both do similar things the place version is designed for the td6 format.
After placing track (mazes) you will need to place a ride entrance or exit using the place ride entrance action.
Duncan
@duncanspumpkin
Maze elements are awkward to handle as they are designed to use up minimum amount of memory. You have 8 bits that represent the 4 different hedges that can be removed and 4 bits for the 4 doorways through the hedges.
*16 bits
Then another 8 bits for outside connecting doorways (not sure if all this makes sense but you'll slowly understand it reading the code)
The game action compat is just a little shim for use by the test framework. You shouldn't be using that.
Duncan
@duncanspumpkin
If you are creating an external program though then learning the td6 format would be better
Ted John
@IntelOrca
One actually already exists
TIL this is a thing
ElliotImhoff
@ElliotImhoff
@duncanspumpkin Thank you this is very helpful
Sub0tica
@Sub0tica
open rct2 cant recognize time twister, and whacky worlds....how doi ad it
Sub0tica
@Sub0tica
anyone?
Michał Janiszewski
@janisozaur
Black mesa is (almost) out
Michael Steenbeek
@Gymnasiast
@Sub0tica It helps if you provide information. Stuff like what version of RCT2 you own (CD, GOG, Steam), and if it's the CD version, whether you actually have the expansion packs.