Quantcast

Jump to content

» «
Photo

CheatDevice v1.0d for LCS

784 replies to this topic
saturnneo
  • saturnneo

    Divers Do It Deep!

  • Members
  • Joined: 08 Dec 2005

#31

Posted 27 March 2006 - 03:36 PM Edited by saturnneo, 27 March 2006 - 04:01 PM.

Thats awesome! I had been messing around with the elevation combined with the boost to get a hover car, but i hadnt been able to get the wheels to turn like they were over water. It was also a pain to control. I also used a combination of user created cheats to get a similar effect.

edisoncarter
  • edisoncarter

    Goon

  • Members
  • Joined: 16 Dec 2004

#32

Posted 27 March 2006 - 07:41 PM

What do you think about providing the full screen video recorder option? Is it a good thing, or will it be abused? We really want people to use the smaller size most of the time except for occasional important short clips. There is the factor that the large size is 4x slower to record, which will help encourage the smaller recording it least a little. Can we rely on the honor system?

Currently, I'm naming the options "Standard" and "Large (for experts only)". The large video recorder will NOT display any instructions or progress bar because there is no technical way to display those without them potentially getting into the recording. You'll just have to already know that DOWN+X = Stop.

I fabricated the entire handling system for hover cars from scratch. It's different from the handling of cars on the ground but also different from the way airplanes or helicopters fly. It's more like driving a car than an airplane and you have much better control over the vehicle. I think if you could drive the DeLorean in Back To The Future, it might work something like this. If you challenge yourself to fly low and in between buildings, it's fun to practice and learn to drive well. I find it enjoyable just cruising around the city. It makes for fast and easy transportation around the map. It's hard to go back to the slow old ground cars after you get spoiled on this.

Here's all the physics involved:
CODE

if (fHovercars || fDeLorean)
{
   float dSpeed = sqrt(pcar->xVelocity * pcar->xVelocity +
                       pcar->yVelocity * pcar->yVelocity +
                       pcar->zVelocity * pcar->zVelocity);

   //
   // Sideways Tires
   //
   if (nButtons & CTRL_TRIANGLE)
       fRetractTires = false;
   if (fRetractTires)
   {
       if (pcar->dSidewaysTires < 3.0)
           pcar->dSidewaysTires += 0.038;
   }
   else
   {
       pcar->dSidewaysTires = 0.877695;
   }

   //
   // Cancel out gravity
   //
   pcar->zVelocity += dGravity * 0.008 * dGameplayStep;

   //
   // Traction
   //
   pcar->xVelocity = pcar->xVelocity * 0.93 + 0.07 * dSpeed * pcar->xForwardVector;
   pcar->yVelocity = pcar->yVelocity * 0.93 + 0.07 * dSpeed * pcar->yForwardVector;
   pcar->zVelocity = pcar->zVelocity * 0.93 + 0.07 * dSpeed * pcar->zForwardVector;

   //
   // Friction
   //
   if (!(nButtons & CTRL_CROSS))
   {
       float dFriction = 0.985 - (0.002 / (dSpeed + 0.001));
       if (nButtons & CTRL_SQUARE) // brake
           dFriction = 0.97 - (0.02 / (dSpeed + 0.001));
       if (dFriction < 0 || dSpeed < 0.0234375)
           dFriction = 0;
       pcar->xVelocity *= dFriction;
       pcar->yVelocity *= dFriction;
       pcar->zVelocity *= dFriction;
   }

   //
   // Thrust
   //
   if (nButtons & (CTRL_CROSS | CTRL_SQUARE))
   {
       float dThrust = 0.002 * 7.0 * dGameplayStep;
       if (nButtons & CTRL_SQUARE)
           if (pcar->pdReverse < 0)
           {
               dThrust = -2.5 * dThrust;
           }
           else
               dThrust = -0.125 * dThrust;
       pcar->xVelocity += pcar->xForwardVector * dThrust;
       pcar->yVelocity += pcar->yForwardVector * dThrust;
       pcar->zVelocity += pcar->zForwardVector * dThrust;

       //
       // Drift down
       //
       if ((nButtons & (CTRL_CROSS | CTRL_SQUARE)) == (CTRL_CROSS | CTRL_SQUARE))
           pcar->zVelocity -= 0.01 * dGameplayStep;
   }

   //
   // Power steering
   //
   float dWheel = dxStickLast;
   //if (pcar->pdReverse < 0)
   //    dWheel = -dWheel;
   static float dSteering = 0.0001;
   if (dWheel * dSteering < 0)
       dSteering = 0;
   if (fabs(dWheel) < fabs(dSteering))
       dSteering = dWheel;
   dSteering = dSteering * 0.94 + dWheel * 0.06;
   pcar->zRotationalMomentum = -0.0625 * dSteering;

   //
   // Up/down
   //
   float dYoke = -0.03 * dyStickLast;
   pcar->xRotationalMomentum = -pcar->yForwardVector * dYoke;
   pcar->yRotationalMomentum = pcar->xForwardVector * dYoke;

   //
   // Stabalizer
   //
   pcar->xRotationalMomentum += 0.08 * pcar->yUpVector;
   pcar->yRotationalMomentum -= 0.08 * pcar->xUpVector;

   //
   // Health
   //
   if (!pfEnabled[17])
       pcar->dHealth = 1000.0;
}

rizza
  • rizza

    Player Hater

  • Members
  • Joined: 04 Mar 2006

#33

Posted 27 March 2006 - 08:13 PM

man this has gone slow

anyways i think that the option for full screen would be good and i think that the fact is 4x slower is good as it less people would use it for general vids. Cant wait for hover cars. U havent commented on the katamari yet lol is it a joke?

Jérémie Blanc
  • Jérémie Blanc

    Mack Pimp

  • Members
  • Joined: 22 Jan 2005

#34

Posted 28 March 2006 - 12:17 AM Edited by Jérémie Blanc, 28 March 2006 - 12:21 AM.

rampage_ani.gif

I haven't been on since 2 weeks......

I can't wait to try those new fearures...The Full Screen video feature seems great!
I don't know what else I can say for a new feature....I want to find a way to do a Mission Select by pressing "Up" in a special vehicle or something, but it's hard to find....I'll keep trying though....

A good feature for Cheat Maker is that you can choose different for a cheat, like for the Brightness cheat, there is 0 to 8, instead of making one cheat for each, it would be cool if you can put all of the 9 type (0, 1, 2, 3, 4, 5, 6, 7, 8) in 1 cheat, and then you can just press left/right to choose between them, like the Rocket Boost or Gravity cheat.

(Since it has been 2 weeks since I last came, there was lots of new replies, but the GTAForums server went down for 5 minutes, and all the new replies became "read" replies, so I won't bother looking through all the other topics, except the pinned ones.)

xFinch713x
  • xFinch713x

    †713†

  • Members
  • Joined: 05 Mar 2006

#35

Posted 28 March 2006 - 01:26 AM

QUOTE (edisoncarter @ Mar 26 2006, 18:44)
Here's a preview of Hover Cars

user posted image

this will be so kool!!! Whens the cheat coming out?? Date of Release??? biggrin.gif tounge.gif

cruisx
  • cruisx

    Mark Chump

  • Members
  • Joined: 15 Jan 2006

#36

Posted 28 March 2006 - 02:02 AM

EC what do you think about makeing 2 different types of cheat device. 1 for advance users like programers and another version for like the average guy whth no cheat maker or construction mode option. Would'nt that let you add more stuff because if you take out the construction mode and cheat maker you would have more space to work with. Do correct me if i'am wrong blush.gif

edisoncarter
  • edisoncarter

    Goon

  • Members
  • Joined: 16 Dec 2004

#37

Posted 28 March 2006 - 04:03 AM

Fun with Vette's blue tire smoke:

user posted image

#cheat blue exhaust
// by vettefan
setchar(0x967E6FC, 0x00, 0x88, 0xFF);

#cheat blue burning rubber smoke
// by vettefan
setchar(0x967E824, 0x00, 0x88, 0xFF);

Sqez
  • Sqez

    The Wheelman

  • Members
  • Joined: 19 Feb 2006

#38

Posted 28 March 2006 - 04:12 AM

Nice. It seems like you float pretty high, but I like how it rides so smooth. In the first video, you barely even move when you go over that Taxi! The quality of the Full Screen is awesome. Good job Edison! biggrin.gif

-Sqez

Brutuz
  • Brutuz

    Otherwise known as Joe.

  • BUSTED!
  • Joined: 15 Nov 2004

#39

Posted 28 March 2006 - 05:49 AM

Edisoncarter You have outdone your self thistime, Wow. die.gif sign-clinton.gif sign-thompson.gif sign-yee.gif

xxadrenaline
  • xxadrenaline

    Call me Zack.

  • Members
  • Joined: 27 Mar 2006

#40

Posted 28 March 2006 - 05:52 AM

Is there a faster way to scroll down the list of numbers to get to something that is REALLY far away? I want to get right to the tires one. (0x08B562E0) Sorry this is off topic.

cruisx
  • cruisx

    Mark Chump

  • Members
  • Joined: 15 Jan 2006

#41

Posted 28 March 2006 - 01:16 PM

EC how did you change the colour of the:
#cheat blue burning rubber smoke
// by vettefan
setchar(0x967E824, 0x00, 0x88, 0xFF);

nice work on the cars biggrin.gif

Waterbottle
  • Waterbottle

    second daughter of my father's sister anne marit

  • Members
  • Joined: 29 Jun 2004

#42

Posted 28 March 2006 - 01:23 PM

QUOTE (cruisx @ Mar 28 2006, 13:16)
EC how did you change the colour of the:
#cheat blue burning rubber smoke
// by vettefan
setchar(0x967E824, 0x00, 0x88, 0xFF);

use this http://cheats.y4kstu...r/particles.php (by they4kman) and just press select and you can choose the code you want that gives the code for what you want to change.
or you can just just replace the 0x00, 0x88, 0xFF with what that program gives you. forexample if you choose the bottom left one the code would be

#cheat orange burning rubber smoke
// by vettefan
setchar(0x967E824, 0xff, 0x99, 0x00);

saturnneo
  • saturnneo

    Divers Do It Deep!

  • Members
  • Joined: 08 Dec 2005

#43

Posted 28 March 2006 - 03:46 PM Edited by saturnneo, 28 March 2006 - 04:06 PM.

It also helps if you have some basic programming skills. I have been messing around with changing the color of the smoke grenades. biggrin.gif

edisoncarter
  • edisoncarter

    Goon

  • Members
  • Joined: 16 Dec 2004

#44

Posted 28 March 2006 - 06:16 PM

I've been warning along the way about the memory limits and now we're there. The memory space CheatDevice uses for its program code is only 75K, and with version 1.0 we're up to 71K. The 4K that remains is enough for high value small stuff. After that, I'll have to take out old features to add new ones. It's been suggested there could be a dev version in slot 1 with Cheat Maker and Construction Mode and a user version in slot 0. Luckily, I got just about all the features I wanted done already. I've been very tight with memory all the way, and as anyone who's ever worked on a programming project with memory constraints (not many these days actually) knows, it's almost impossible to go back and make code smaller after it's written. If you look at the size of some of the EXEs on your computer, I think this is an impressive amount of functionality to fit into 75K.

I still really want to do mission select. I'd like to be able to fit it in before I have to fork the project into two save files.

Waterbottle
  • Waterbottle

    second daughter of my father's sister anne marit

  • Members
  • Joined: 29 Jun 2004

#45

Posted 28 March 2006 - 07:34 PM

hover cars IMO is the best feature ever biggrin.gif

My first drive (after the 30 seconds I used to drive away from the safehouse)
user posted image

after about 15 minutes (or maybe 30 it's hard to keep track of time when you have fun tounge.gif )
user posted image

Low
  • Low

    [Newport Stunters Member]

  • Members
  • Joined: 25 Mar 2006

#46

Posted 28 March 2006 - 08:08 PM Edited by Low, 28 March 2006 - 08:21 PM.

Wil the 1.0version be for PSP v2.6 also?? please!!!

ADePSP
  • ADePSP

    A wonderful drug dealin' theathin' murderer...

  • Members
  • Joined: 25 Nov 2005

#47

Posted 28 March 2006 - 09:00 PM

The FULL screen video capture is nice too but you do end up with very large files (i had to reduce the colours to post this)...

I really dont think people should post videos in this size as they just take too long to load... I thought I'd post a demonstration anyway...

By the way "pimped" biggrin.gif ...

user posted image

PI55ED
  • PI55ED

    Snitch

  • Members
  • Joined: 21 Jan 2005

#48

Posted 28 March 2006 - 09:14 PM

QUOTE (Low @ Mar 28 2006, 20:08)
Wil the 1.0version be for PSP v2.6 also?? please!!!

Its already for the 2.6 or do u mean 2.61?

ADePSP
  • ADePSP

    A wonderful drug dealin' theathin' murderer...

  • Members
  • Joined: 25 Nov 2005

#49

Posted 28 March 2006 - 09:15 PM

I AM LOVING THIS...!!!!!! The way it turns into a hover car is awsome... icon14.gif

user posted image

Sqez
  • Sqez

    The Wheelman

  • Members
  • Joined: 19 Feb 2006

#50

Posted 28 March 2006 - 10:39 PM

Did you guys get the Beta?

-Sqez

vettefan88
  • vettefan88

    just call me vette

  • Members
  • Joined: 11 Dec 2005

#51

Posted 28 March 2006 - 10:46 PM

QUOTE (Sqez @ Mar 28 2006, 22:39)
Did you guys get the Beta?

-Sqez

yeah,


and edison how about hydraulics for cars, sincce you can rock the car back and forth in hover mode could you maybe combine a side to side rocking for a hydraulics mode?

xFinch713x
  • xFinch713x

    †713†

  • Members
  • Joined: 05 Mar 2006

#52

Posted 28 March 2006 - 10:46 PM

QUOTE (ADePSP @ Mar 28 2006, 13:15)
I AM LOVING THIS...!!!!!! The way it turns into a hover car is awsome... icon14.gif

user posted image

when will this be released to all of us??? This looks SO FUN!!!

ADePSP
  • ADePSP

    A wonderful drug dealin' theathin' murderer...

  • Members
  • Joined: 25 Nov 2005

#53

Posted 28 March 2006 - 11:02 PM

With these bigger videos you can make much better quality movie clips rather than just gifs (for those that like that sort of thing)...

edison, it's a bit jerky though but much better quality than before... Most of the blockyness has gone unless you view full screen...

http://www.gtapsp.co.../hoverclips.wmv

Have a look... lol, I don't really know what i'm doing... Soundtrack is cool though...

Joe.G
  • Joe.G

    Peon

  • Members
  • Joined: 06 Mar 2006

#54

Posted 28 March 2006 - 11:45 PM

QUOTE (ADePSP @ Mar 28 2006, 23:02)
With these bigger videos you can make much better quality movie clips rather than just gifs (for those that like that sort of thing)...

edison, it's a bit jerky though but much better quality than before... Most of the blockyness has gone unless you view full screen...

http://www.gtapsp.co.../hoverclips.wmv

Have a look... lol, I don't really know what i'm doing... Soundtrack is cool though...

ADePSP stop teasing me, lol awsome video. now i want it sooo bad

Carbon_copy
  • Carbon_copy

    Video Games are dumb

  • Members
  • Joined: 28 Nov 2004

#55

Posted 28 March 2006 - 11:57 PM

QUOTE (ADePSP @ Mar 28 2006, 16:00)
The FULL screen video capture is nice too but you do end up with very large files (i had to reduce the colours to post this)...

I really dont think people should post videos in this size as they just take too long to load... I thought I'd post a demonstration anyway...

By the way "pimped" biggrin.gif ...

user posted image

WHY MUST YOU PLAY WITH US!!??, lol that's awsome. I can't wait biggrin.gif

Joe.G
  • Joe.G

    Peon

  • Members
  • Joined: 06 Mar 2006

#56

Posted 29 March 2006 - 12:04 AM

any chance of a video of the car changing to a hover car, then spin, then change back? if so post it!

PigManDan
  • PigManDan

    Raggo

  • Members
  • Joined: 27 Nov 2004

#57

Posted 29 March 2006 - 01:01 AM Edited by PigManDan, 29 March 2006 - 01:03 AM.

Beta testers - are you testing the Katamari mode too? Any chance of videos of that, or are you gonna leave us waiting to be amazed when we have it for ourselves? Is there anything else, or am I just being greedy for features?

This hover car stuff looks sick by the way - any chance you could put a Delorean in the garage with the car name changed to Delorean? Or should I just cheat to do that myself?

I'm just glad I have a proper excuse now to put the Back To The Future theme in my custom tracks.

Wesyeed
  • Wesyeed

    Internet brat

  • Members
  • Joined: 03 Dec 2005

#58

Posted 29 March 2006 - 01:42 AM Edited by Wesyeed, 29 March 2006 - 03:21 AM.

tounge.gif user posted imagefilelodge is having server problems so they lowered teh max upload size to 2mb. Thats why it's so low quality.

alien.gif OH yeah this is officially my fav cheat. The slowed down wheel horizontalization is a nice touch. ph34r.gif Now the only thing that could be tweaked (and this'll sound stupid because flying cars really don't exist) I think is more realistic flying car physics if possible, like tilting slightly while turning, similar to a plane. I also use the gravity reversal option to elevate the car like a helicopter. If it's possible, something like that'd be a nice default for the down button the d-pad I think. user posted image (This makes me biggrin.gif .) For my taste, the turning could be heavier more like a boat, the breaking/reverse softer, and the car wouldn't stabalize itself after it's tilted. Then you could fly it like a space shuttle. And acceleration is slightly too fast for me so I slow it down with a negative rocket boost of about 3 or 4... or maybe I just need to get used to it. I'll play around with it some more. icon14.gif

I didn't see an option for katamari in the cd menu.

icon14.gif And No problems with the fullsize videorecorder so far.

user posted image

saturnneo
  • saturnneo

    Divers Do It Deep!

  • Members
  • Joined: 08 Dec 2005

#59

Posted 29 March 2006 - 03:27 AM

Oh jeez, i hate waiting. Maybe one day edison will graciously ask me to partake in the beta testing... colgate.gif

edisoncarter
  • edisoncarter

    Goon

  • Members
  • Joined: 16 Dec 2004

#60

Posted 29 March 2006 - 03:39 AM

In version 1.0 I think we should make some of the cheats ON by default. Stuff that most everyone is always going to want anyway. You can always turn them off. Here's the list I'm thinking of:

Infinite Health and Armor
Wanted Level: 0 stars
Time locked
Weather: Sunny
Never fall off your bike
No reloading

Beta testers: I just updated the beta with this change, as well as gangs don't attack you.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users