Author Topic: RE: Wip : the truck.  (Read 563 times)

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
RE: Wip : the truck.
« on: July 05, 2020, 10:59:34 AM »

Posts on the "Dissecting" thread


The shape maybe drivable, but you need more  8)
But I like the idea of a truck race one day.
So I'll try to finish wat was intended.
For now I copied the data of the LM,

(Game editing on my phone, haha)

Happy driving.
Daniel.
« Last Edit: July 05, 2020, 11:03:02 AM by Daniel3D »

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
Re: RE: Wip : the truck.
« Reply #1 on: July 05, 2020, 09:15:47 PM »
Updated the res file a bit (needs more work)
but i found it irritating that i hadn't changed the name of the car yet.

I have decided it will be a DAF 1300 Turbo.
a 1300CC V6
Build mid 1980's until early 90's.

I've been playing with the car stats a bit (now a 6 gear. but messy work)
But not bad for my first 10 minutes with Carblaster without any help file

I did find the wiki page, but later. I'll read it first before continuing.

a lot of fun to play with.

Cas

  • Joe's Friend
  • **
  • Posts: 497
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: RE: Wip : the truck.
« Reply #2 on: July 06, 2020, 06:20:27 AM »
Really cool! I'm about to go to bed now, but I'll try to download it and try it tomorrow and it definitely is a car that shouldn't be missing. It's part of the game!

I confess I have never tried to create anything with Car Blaster yet. I think I have to change that and start trying some combinations :)
Earth is my country. Science is my religion.

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
Re: RE: Wip : the truck.
« Reply #3 on: July 06, 2020, 02:29:26 PM »
Been busy with stressed,
got a basic dashboard running.  (its a bit to modern for my taste, but the best i could find at the moment)

still sounds like the LM but i don't know how to change that yet.

can somebody help me with the transparency with the dash?
can't get it to work, although stressed does see the alpha.

:)

Overdrijf

  • Helen`s Lover
  • **
  • Posts: 679
  • Professional idiot
    • View Profile
Re: RE: Wip : the truck.
« Reply #4 on: July 06, 2020, 06:30:02 PM »
Stunts uses a mask for transparancy. So you have a dast, that's the top op the dashboard, and then you've got the dasm, just a black-and-alpha picture. The game combines these two while running. Is that the setup you have right now?

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
Re: RE: Wip : the truck.
« Reply #5 on: July 06, 2020, 06:56:11 PM »
I have not.
I'll have to look into this.
« Last Edit: July 06, 2020, 07:59:54 PM by Daniel3D »

Overdrijf

  • Helen`s Lover
  • **
  • Posts: 679
  • Professional idiot
    • View Profile
Re: RE: Wip : the truck.
« Reply #6 on: July 06, 2020, 08:35:35 PM »
Another big thing on the dashboards are the mystery bites, displayed in Stressed below the width, height, X and Y. We have no idea what they do, but they're linked to the width and height somehow, so you always need to use mystery bites taken from a dashboard part of the same size (from any vehicle). If your part does not match any known part, size it up until it does fit a known part. (The extra space you create can be filled up with background copied from the main dash image, or if it's a part with a mask you can make the extra space invisible.)

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
Re: RE: Wip : the truck.
« Reply #7 on: July 07, 2020, 02:37:35 PM »
so you always need to use mystery bites taken from a dashboard part of the same size (from any vehicle).

I'll have to make the dasboard again.. but while i'm at it i will make a overview off the different sizes used in came with the mystery bites so they can be added to the wiki.

next update wil take a few days ..

Overdrijf

  • Helen`s Lover
  • **
  • Posts: 679
  • Professional idiot
    • View Profile
Re: RE: Wip : the truck.
« Reply #8 on: July 07, 2020, 11:44:28 PM »
while i'm at it i will make a overview off the different sizes used in came with the mystery bites so they can be added to the wiki.

That's not a bad idea actually. Gear boxes have some variety I think, and speedometers/revometers maybe as well.

Daniel3D

  • Stunts Maniac
  • *
  • Posts: 84
    • View Profile
Re: RE: Wip : the truck.
« Reply #9 on: July 08, 2020, 12:07:32 AM »
Actualy, i've found only 2 variations in mystery data. and just 3 different height options.
in the picture the bottom left and top right have the same offsets, but different data.

EDIT:
what about this?
I converted the HEX to binary. between the two variations is not 1 common bit ..
0000000001100000 1111111110101000 = 0060 FFA8
0000000010010000 0000000000000110 = 0090 0006
I don't know.. just something i noticed because FFA8 and 0006 are so far apart...
« Last Edit: July 08, 2020, 12:18:59 AM by Daniel3D »

Duplode

  • Breaths Stunts
  • ******
  • Posts: 3665
  • Fear is your only god on the radio
    • View Profile
    • The Southern Cross Stunts Trophy
Re: RE: Wip : the truck.
« Reply #10 on: July 08, 2020, 02:54:20 AM »
I converted the HEX to binary. between the two variations is not 1 common bit ..

Interesting. If we were to parse it as an integer, 0xFFA8 = -88 (signed 16-bit). Given the binary pattern you noted, though, it does begin to feel like these are bit flags of some sort.

GTAMan17

  • Stunts Maniac
  • *
  • Posts: 83
    • View Profile
Re: RE: Wip : the truck.
« Reply #11 on: July 08, 2020, 12:02:18 PM »
It's great to see, that the truck is drivable finally
Tenyek focimdal 2005-tol 2013-ig

Cas

  • Joe's Friend
  • **
  • Posts: 497
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: RE: Wip : the truck.
« Reply #12 on: July 09, 2020, 01:41:49 AM »
I haven't analised much, but just looking at the values without having been tweaking them or anything, it seems to me that the second mystery byte is indeed a signed integer and is completely independent of the first. Because these two bytes come right with every pair of width and height, apparently, this suggests the mystery bytes represent some form of offset for X and Y. It would be super weird for them to be in another order, so I suppose the first is a delta X and the second is a delta Y, not necessarily in pixels. For some reason, only the second one can be negative or positive. Whatever they're an offset for does not have space to the left.

This has sparked my curiousity. I was just concentrating on the 3D engine, but I don't know... I feel like I should analyse this thing too :P
Earth is my country. Science is my religion.