Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - DeathCobra

Pages: [1] 2 3
VC Chat & Support / Normalizing Speedometer values across scripts
« on: July 14, 2022, 04:09:00 PM »
After playing with a bunch of different speedo/stats scripts, it's become pretty annoying trying to describe runup speeds to other people that are likely using a different tool. Some of them calculate and display speed differently, so you can get values in ranges from 0-90, up to 0-320, depending on the script you use. Some are very raw speed values, others convert roughly to kmph or mph, but not particularly intelligently.

However it seems like Dannye did a pretty smart thing with USCM 7b, in which he checks if the game is in Imperial or Metric, and converts speed appropriately.

The initial 'speed' value from the game comes from opcode 02E3, which I guess queries the car handling manager. This returns a float value, that for a PCJ, should be somewhere between 0-90 in normal circumstances.

Code: [Select]
02E3: [email protected] = car [email protected] speed                                                             // Speed1.  Get current speed in 'map points (~ meters) per second'
This is the same opcode that at least some existing CLEO speedos use, although perhaps not all.

Then check if the game is Metric/Imperial, and convert that handling value appropriately:

Code: [Select]
0013: [email protected] *= 3.6                                                                     // Speed2.  Convert to km/h
00D6: if
8424:  not metric
004D: jump_if_false @LABEL_SHOW_STATS_CONTINUE
0017: [email protected] /= 1.609                                                                   // Speed2b. Convert to mp/h (if approp)

Finally convert to int for display:

Code: [Select]
0092: [email protected] = float_to_integer [email protected]                                                      // Speed3.  Convert to int
The key thing here is that, providing the speedo you use is using the 02E3 opcode, it's pretty simple to normalize the values for others to reference.

- Convert 02E3 to kmph by multiplying by 3.6. Convert kmph to 02E3 by dividing by 3.6.
- Convert kmph to mph by dividing by 1.609. Convert mph to kmph by multiplying by 1.609.

The simplest way to normalize, I guess, is to just default to using Dannye's car stats via the USCM. But if you're using a CLEO speedo or other, the multipliers above should ensure that we're functionally still talking about the same speed values - even if they're in different units.

(Maybe this is common knowledge idk, just thought it worth posting as a point of reference)

V Chat & Support / Enough of this slow-mo bullshit
« on: November 02, 2013, 02:46:37 PM »
So bored of people whining over stunts done with slow mo. Here's some examples of tricks/methods that have been discovered over the years that have added new dimensions and possibilities to stunting (and as such were surrounded by a lot of controversy):

- RADs. Verrrry controversial. For a year or two this was literally a love/hate thing in the community.
- Taxi boosting
- BSMs
- FBI bumps
- Bicycle jump glitch in SA
- FPS Off. Lol I bet people still argue over this.
- Entirely new GTAs (especially SA). So many people getting butthurt by the new physics.

Despite the fact that most of these could be considered exploits, if we're talking in terms of what Rockstar intended to be possible in the game in the first place, they pretty much all eventually became recognised as legit methods and respected as such. This slow mo business is no different. Allow people to use it to land their stunts if they want. It's blatantly obvious when it is used (for now), so there's no issue of deceit. If you want to be the purest of purist stunters, then fine, don't used it. Just don't get pissed off when other people do.

Computer Talk / VC/SAiVC on OS X
« on: August 10, 2012, 09:47:07 AM »
Is such a thing even possible? I presume that, in some form, VC is now available on Mac. Is it moddable in terms of main.scm/skin stuff? Kinda fancy playing around a bit but don't want the hassle of partitioning my hard drive for Windows.

Aware me GTAS

Music / Tim Hecker - Ravedeath, 1972
« on: February 11, 2011, 01:27:10 PM »
Ok, anyone into their ambient/drone/noise/post-rock/experimental music (fans of Fennesz especially), this is seriously such a good fucking album. Probably in the top 3 ambient releases I've ever heard. Yes it deserves its own thread.

Tim Hecker - Hatred Of Music I


Music / Experimental Techno/Electro
« on: September 02, 2010, 11:43:45 AM »
Anybody else into this stuff. Autechre, Aphex Twin, Leftfield, etc. Need to expand my collection :F

Autechre - Further

That sorta thing.

VC Stunting Challenges / Dem cranes
« on: August 13, 2010, 04:01:22 PM »

I suck too much to land this.

VC Stunting Challenges / Einer grossen bump
« on: March 21, 2010, 08:32:32 PM »
Someone land this. Spot annoys me so cba putting any more effort into it. Might be possible, might not, instinct tells me it is possible though.

do this

Gaming Discussion / Watch this
« on: March 13, 2010, 09:04:23 PM »
Pure awesome Q3 Defrag movie. Even if you aren't a fan of Quake, it's a good watch even for the editing.

Quake 3 DeFRaG - DeFRaG World cup 2008 - trixo

Gaming Discussion / SC2 Beta
« on: February 19, 2010, 05:22:01 AM »
Whos got it?

Computer Talk / Process Killer App
« on: December 02, 2009, 03:43:05 PM »
Basically I need an app which kills a specified process through keybinding. Problem is I often have games freeze, yet everything in the background still runs fine, but I cant get out of the freeze to kill the process, meaning I have to restart. The problem is especially annoying in VC or SA where I have a weird bug which occasionally freezes the game to a black screen when I go into the ESC menu.

In short - I press Ctrl + Shift + End (example), process gta-vc.exe is killed, sending me to desktop.

Does such a thing exist?

Expression Section / Hows my logo yo
« on: September 29, 2008, 10:00:42 AM »

IV Unmodded Videos / Torque IV
« on: May 20, 2008, 03:17:55 PM »
Over the last few days I've been pretty bored, and I decided to play about with IV stunting for a bit and I came up with this little vid. It's a pure bump vid as I couldnt find anything else of interest around the map.

This is the 4th vid in my Torque solo series, ironically. Also kinda weird the release date of IV sat right on the same day I released my first vid 3 years earlier.

Anyway, this is really a very short vid, poorly edited as ever, but it was fun to make I guess.

Filefront Download and Stream

YouTube Stream


TMS Video Releases / [SA] WTF - Leftover Collab
« on: March 29, 2008, 11:10:22 AM »
Yeah its full of shit old stunts. Yeah its edited horribly. But its worth the download an had a laugh making it.

Turtle Dick (ish)
An Souzuk as a guesty thing.

WTF 1024x768 MQ - Filefront

WTF 640x480 Horrible Q - Rapidshit

WTF Streaming - YouShit

Enjoy it if you can.

Computer Talk / WTF
« on: February 08, 2008, 01:03:24 PM »
Can someone plz explain why with this system:

Athlon 64 3500+
1GB DDR400
512MB 8800GT

I get worse fps in SAMP than with a 128MB 6600GT?

Computer Talk / E6750 vs E8200
« on: January 30, 2008, 11:40:30 AM »
Which one should I buy. Both are same price. Links:



It'll be running with:

Asus 8800GT 512
OCZ Reaper 2GB DDR2-6400
Asus S775 P35

Pages: [1] 2 3
SimplePortal 2.3.7 © 2008-2022, SimplePortal