nerner Posted April 30, 2009 Share Posted April 30, 2009 What does propagate object actually mean in terms of cheat device coding? Link to comment Share on other sites More sharing options...
Upaluppa Posted May 1, 2009 Share Posted May 1, 2009 What does propagate object actually mean in terms of cheat device coding? What about propagateobject = make an object movable (Making it possible to move that object around using other Cheatdevice codes) Normally it`s not possible to move objects, since unlike peds and vehicles they won`t move around normally ! But propagateobject removes this restriction and makes the impossible possible ! (You know, nothing is impossible as long as you cheat) Link to comment Share on other sites More sharing options...
Upaluppa Posted May 1, 2009 Share Posted May 1, 2009 (edited) I was a little bored, so I just spawned a: #cheat Big Bumping Bouyaddress = getint(0x9415ef8);setfloat(address, cos(0)*cos(0));setfloat(address+4, sin(0)*sin(0)*cos(0)-cos(0)*sin(0));setfloat(address+8, cos(0)*sin(0)*cos(0)+sin(0)*sin(0));setfloat(address+0x10, cos(0)*sin(0));setfloat(address+0x14, sin(0)*sin(0)*cos(0)+cos(0)*cos(0));setfloat(address+0x18, cos(0)*sin(0)*sin(0)-sin(0)*cos(0));setfloat(address+0x20, -sin(0));setfloat(address+0x24, sin(0)*cos(0));setfloat(address+0x28, cos(0)*cos(0));setfloat(address+0x30, -1077.40, 312.63, 11.26);setshort(address+0x56, 0x214); Infont of my Compound Savehouse ! Lol don`t worry, this lame cheat is not the best I have to offer, more interesting cheats are following... Edited May 7, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
nerner Posted May 1, 2009 Share Posted May 1, 2009 I think I get this now, propagate object basically turns all non movable items into movable items. Cool! Link to comment Share on other sites More sharing options...
Upaluppa Posted May 2, 2009 Share Posted May 2, 2009 (edited) I think I get this now, propagate object basically turns all non movable items into movable items. Cool! Yep, that`s what it does ! It makes things such as elevators, working doors (I`ll post an example of this soon) and "player chasing pinata mans" possible ! It`s a really cool feature which allows me to create some nice interactive cheats ! A house with working doors, elevators, garages etc. is possible with propagateobject ! I`ll also post my destroyable objects cheat soon ! It makes it possible to destroy different kinds of objects with weapons ! For example if you hit a wall with a baseball bat it`ll break, or barrels will explode if you punch them ! That could add a nice amount of extra realism to Vice City, don`t you think ? Edited May 3, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Upaluppa Posted May 2, 2009 Share Posted May 2, 2009 (edited) Ok, this is another propagateobject demonstration: #cheat Interactive Door Testmoveto(-1095.99,288.11,13.26); object(0x1C99,0,0,180);moveto(-1096.00,299.31,13.26); object(0x1C99,0,0,180);static Marker1;X1 = -1096.00;Y1 = 293.71;if(!Marker1){Marker1 = 1;}checkx1 = X1-getfloat(pobj+0x30);checky1 = Y1-getfloat(pobj+0x34);if(sqrt(checkx1*checkx1+checky1*checky1)<5){setchar(0x08E93604, 0x1);setshort(0x08E92FFC, 'P', 'r', 'e', 's', 's', ' ', '~', 'h', '~', 'U', 'p', '~', 'w', '~', '/', '~', 'h', '~', 'D', 'o', 'w', 'n', '~', 'w', '~', ' ', 't', 'o', ' ', 'o', 'p', 'e', 'n', '/','c', 'l', 'o', 's', 'e', ' ', 't', 'h', 'e', ' ', 'd', 'o', 'o', 'r', '!');setshort(0x08E931FC, 'P', 'r', 'e', 's', 's', ' ', '~', 'h', '~', 'U', 'p', '~', 'w', '~', '/', '~', 'h', '~', 'D', 'o', 'w', 'n', '~', 'w', '~', ' ', 't', 'o', ' ', 'o', 'p', 'e', 'n', '/','c', 'l', 'o', 's', 'e', ' ', 't', 'h', 'e', ' ', 'd', 'o', 'o', 'r', '!');setshort(0x08E933FC, 'P', 'r', 'e', 's', 's', ' ', '~', 'h', '~', 'U', 'p', '~','w', '~', '/', '~', 'h', '~', 'D', 'o', 'w', 'n', '~', 'w', '~', ' ', 't', 'o',' ', 'o', 'p', 'e', 'n', '/','c', 'l', 'o', 's', 'e', ' ', 't', 'h', 'e', ' ', 'd', 'o', 'o', 'r', '!');}top = 15.66;bottom = 13.26;xpos = -1096.00;ypos = 293.71;static obj;static state;if(!obj){moveto(xpos,ypos,bottom);obj = object(0x1C99,0,0,180);}else{selectobject(obj);if(state == 0){if(getfloat(obj+0x38) >= top&&buttons&CTRL_DOWN&&sqrt(checkx1*checkx1+checky1*checky1)<5){ state = 2;}if(getfloat(obj+0x38) <=bottom&&buttons&CTRL_UP&&sqrt(checkx1*checkx1+checky1*checky1)<5){ state = 1;}}if(state == 1){setfloat(obj+0x38, getfloat(obj+0x38)+0.01);if(getfloat(obj+0x38) >= top) state = 0;}else if(state == 2){setfloat(obj+0x38, getfloat(obj+0x38)-0.01);if(getfloat(obj+0x38) <= bottom) state = 0;}propagateobject();}#offobj = state = 0; It`s an interactive door ! This means you can open and close it with the press of a button ! You`ll find it at your Compound Savehouse, at the entrance to the hangar ! Definately one of the more usefull possibilities to use the propagateobject function ! Edited May 2, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Durka Durka Mahn Posted May 3, 2009 Author Share Posted May 3, 2009 Instead you could check if the player is in or in front of the garage, then open the door. Then when they aren't, close it, and keep it closed. Link to comment Share on other sites More sharing options...
WingedWarrior Posted May 3, 2009 Share Posted May 3, 2009 Just like how the garage doors already work? edit: I don't think it's possible but it would be cool to add like a moon roof to the hangar. Since you can't really fit a helicopter through the ground entrance, a moon roof with an interactive roof would be kickass. Link to comment Share on other sites More sharing options...
Durka Durka Mahn Posted May 3, 2009 Author Share Posted May 3, 2009 The hangar is part of the map, so no, that can't be done. Link to comment Share on other sites More sharing options...
Upaluppa Posted May 3, 2009 Share Posted May 3, 2009 (edited) Instead you could check if the player is in or in front of the garage, then open the door. Then when they aren't, close it, and keep it closed. Actually I kinda liked the idea of pressing buttons to control the door, but you`re right, if I remove the button commands it`ll work just like the savehouse garage doors ! I think I`ll do some more experimenting what things can be done with propagateobject ! I have to digg up your "Temple of Terrors" cheat ! I want to see how you created that "Player chasing pinata man". I`ve also never tried to rotate objects with that command ! Another thing I have to try yet. I`ll also try if propagateobject works for pickups aswell ! I don`t know why, but I`m just curious... Speaking of pickups, I still haven`t found a proper pickup spawning method. I`ll look into that aswell ! Edited May 3, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
nerner Posted May 3, 2009 Share Posted May 3, 2009 Nice cheat, it reminds me of when you come home and press a button on your keys to open up the garage. So it does add a bit of realism. And how do you make explosive objects, is that a command on the cheat device? Or is it just if you hit something it turns into a broken version of itself cheat. Link to comment Share on other sites More sharing options...
Upaluppa Posted May 3, 2009 Share Posted May 3, 2009 Nice cheat, it reminds me of when you come home and press a button on your keys to open up the garage. So it does add a bit of realism. And how do you make explosive objects, is that a command on the cheat device? Or is it just if you hit something it turns into a broken version of itself cheat. He he, the destryable objects are a bit tricky ! For the walls, it`s just like you said. If the game recognizes, that you hit the wall with a weapon it`ll automatically replace it with the broken version of the same wall ! And for the barrels, they`ll just spawn an explosion and dissappear, if you hit them ! I`ll release that cheat later, it still has some problems, it doesn`t work with all weapons, and sometimes the walls won`t transform... Link to comment Share on other sites More sharing options...
nerner Posted May 4, 2009 Share Posted May 4, 2009 Still sounds pretty cool though. How are you getting on with the taxi driver cheat now? Link to comment Share on other sites More sharing options...
Upaluppa Posted May 4, 2009 Share Posted May 4, 2009 I haven`t woked on it yet... I was experimenting with propagateobject the last few days ! And I still have to get the rotation of the vehicle right. But I think I`ll be able to finish that cheat ! I`ll try to get the Taxi rotation done today, and the only thing that needs to be done then is the collection of waypoints ! And maybe a menu where you can choose what place you want to go to ! Link to comment Share on other sites More sharing options...
spork007 Posted May 6, 2009 Share Posted May 6, 2009 Awesome job on these mods man , keep up the good work , shame that I don't have a PSP. Link to comment Share on other sites More sharing options...
Upaluppa Posted May 6, 2009 Share Posted May 6, 2009 (edited) What do you think of my "Bone Crusher" ? #cheat Bone Crushermoveto(-1095.99,288.11,13.26); object(0x1C99,0,0,180);moveto(-1096.00,299.31,13.26); object(0x1C99,0,0,180);top = 15.66;bottom = 13.26;xpos = -1096.00;ypos = 293.71;static obj;static state;if(!obj){moveto(xpos,ypos,bottom);obj = object(0x1C99,0,0,180);}else{selectobject(obj);if(state == 0){if(getfloat(obj+0x38) >= top){ state = 2;}if(getfloat(obj+0x38) <= bottom){ state = 1;}}if(state == 1){setfloat(obj+0x38, getfloat(obj+0x38)+0.05);if(getfloat(obj+0x38) >= top) state = 0;}else if(state == 2){setfloat(obj+0x38, getfloat(obj+0x38)-0.05);if(getfloat(obj+0x38) <= bottom) state = 0;}propagateobject();}ptouch = getint(pobj+0x150);if (ptouch&&getshort(ptouch+0x56) == 7321){setfloat(pplayer+0x4e4, 0);setfloat(pplayer+0x4e8, 0);setchar(0x08be3a20, 1);setfloat(0x08be3a30, getfloat(pcar+0x30), getfloat(pcar+0x34), getfloat(pcar+0x38));setfloat(pcar+0x27C, 0);setshort(0x08e90DD8, 1, 'C', 'r', 'u', 's', 'h', 'e', 'd', ' ', 't', 'o', ' ', 'd', 'e', 'a', 't', 'h', ' ', '!', 0);setchar(pplayer+0x8B4, 0x3A);obj = state = 0;playerx = getfloat(pobj+0x030);playery = getfloat(pobj+0x034);playerz = getfloat(pobj+0x038);teleport(playerx, playery, playerz);}#offobj = state = 0; Can you make it through alive ? Watch out, if the door crushes you you`ll die a painful death !!! Edited May 6, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Upaluppa Posted May 6, 2009 Share Posted May 6, 2009 (edited) Hey guys, I`ve accidently created a dancing cheat ! It`s an unwanted result of the "Dual Wielded Shooting" cheat I`m currently working on ! Here`s my "Make Vance Dance" cheat: #cheat Make Vance Dancepweapon = getchar(pplayer+0x789);if(buttons&CTRL_CIRCLE&&pweapon == 3){setchar(pplayer+0x550, 1);plock = getchar(pplayer+0x1c9);if(plock == 5){setchar(pplayer+0x550, 0);setchar(pplayer+0x1c8, 3);setchar(pplayer+0x1c9, 4);}}#offsetchar(pplayer+0x550, 0); All you need is a Pistol (not the Equalizer) ! Equip it and keep CIRCLE pressed for some funny dancing moves ! Let`s pop ! Weird, isn`t it ? Edited May 7, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
nerner Posted May 7, 2009 Share Posted May 7, 2009 So If you hold down circle, then he does a glitchy dance? Link to comment Share on other sites More sharing options...
Upaluppa Posted May 8, 2009 Share Posted May 8, 2009 Yeah, just some strange weirdo moves, like you can see them in the gifs ! I`m sorry for posting so many useless and uninteresting cheats lately. It`s just because my "bigger" projects are not yet finished and I don`t want to hide all the things I create from you all ! Link to comment Share on other sites More sharing options...
nerner Posted May 8, 2009 Share Posted May 8, 2009 I don't care, because aslong as you are creating new material, I am happy. Link to comment Share on other sites More sharing options...
Upaluppa Posted May 9, 2009 Share Posted May 9, 2009 (edited) Thanks ! I was fearing I might bore you with the stuff I was posting recently... I hope to get some more interesting stuff (The Taxi Mod) finished NOW ! I`m working on it just in this very moment ! Edited May 9, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Upaluppa Posted May 9, 2009 Share Posted May 9, 2009 (edited) I`ve created a cheat to spawn peds ! Might be useful for custom missions ! Here`s the first WORKING pedspawn cheat for VCS: #cheat Spawn Security Guardsstatic spawn;if(buttons&CTRL_LTRIGGER&&press&CTRL_CROSS){playerx = getfloat(pobj+0x30);playery = getfloat(pobj+0x34);playerz = getfloat(pobj+0x38);spawn = 1;setfloat(pobj+0x30, 93.05, 271.67, 21.78);}if(spawn == 1){setfloat(0x8bc86c0, 0x10);setfloat(0x8bc8684, 0x10);static count;if(count%150==0){for(i=0; 0x98b4a40+i<=0x98ecf90; i+=0xd10){if(0x98b4a40+i != pplayer){setfloat(0x98b4a40+i+0x30, playerx+1, playery+1, playerz+1);setfloat(pobj+0x30, playerx, playery, playerz+1);setchar(0x98b4a40+i+0x894, 0xc);setint(0x98b4a40+i+0x890, pplayer);}}spawn = 2;setfloat(0x8bc86c0, 0x2);setfloat(0x8bc8684, 0x2);}count++;} Press LTRIGGER+CROSS to spawn two security guards ! It works everywhere, except inside interiors ! Sometimes when you spawn them on the first (left on the map) island it might take too long for them to appear. In this case just press LTRIGGER+CROSS again after the teleporting is over ! It usually works the 2nd time ! Edited May 9, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
nerner Posted May 9, 2009 Share Posted May 9, 2009 Do you know for sure if it works or doesn't work for other types of ped? Or is it just specific like the Pop out police cheat. Link to comment Share on other sites More sharing options...
Upaluppa Posted May 9, 2009 Share Posted May 9, 2009 It only works with the Security guards, that`s 100% sure, since they are the only peds which have predefined spawnpoints (At the entrance to Leaf Links) ! In fact I can easily change it, so it works with all peds, but in this case it would only teleport random peds from the streets to you ! Anyways, I think it`s better than nothing, and really useful for some AI experimenting ! Yeah, those security guards are my "Cheat Test Dummys" ! Link to comment Share on other sites More sharing options...
nerner Posted May 9, 2009 Share Posted May 9, 2009 I would like to see that, would be cool to have peds spawning near me, hope that you modify it soon mate! Link to comment Share on other sites More sharing options...
Upaluppa Posted May 9, 2009 Share Posted May 9, 2009 (edited) Here`s a cheat which allows you to change the color of a entrance marker ingame by defining it`s R, G and B amounts: #cheat Marker Color Changermark = 0x8c62EA0;static counter;static menu;static R;static G;static B;R = getchar(mark+0x2c);G = getchar(mark+0x2d);B = getchar(mark+0x2e);if( menu == 0 ){n = getchar(mark+0x2c);if ( n < 0 ) n = -n;fract = int(n * 10) % 10;unit = int( n ) % 10;n = n / 10;dec = int( n ) % 10;n = n / 10;hund = int( n ) % 10;hund = hund + '0';dec = dec + '0';unit = unit + '0';fract = fract + '0';setshort( 0x8e90bd8, 1, 'R', 'e', 'd', ':', ' ', hund, dec, unit, 0 );}if( menu == 1 ){n = getchar(mark+0x2d);if ( n < 0 ) n = -n;fract = int(n * 10) % 10;unit = int( n ) % 10;n = n / 10;dec = int( n ) % 10;n = n / 10;hund = int( n ) % 10;hund = hund + '0';dec = dec + '0';unit = unit + '0';fract = fract + '0';setshort( 0x8e90bd8, 1, 'G', 'r', 'e', 'e', 'n', ':', ' ', hund, dec, unit, 0 );}if( menu == 2 ){n = getchar(mark+0x2e);if ( n < 0 ) n = -n;fract = int(n * 10) % 10;unit = int( n ) % 10;n = n / 10;dec = int( n ) % 10;n = n / 10;hund = int( n ) % 10;hund = hund + '0';dec = dec + '0';unit = unit + '0';fract = fract + '0';setshort( 0x8e90bd8, 1, 'B', 'l', 'u', 'e', ':', ' ', hund, dec, unit, 0 );}if(buttons&CTRL_LEFT){if(menu == 0){R--;}if(menu == 1){G--;}if(menu == 2){B--;}}if(buttons&CTRL_RIGHT){if(menu == 0){R++;}if(menu == 1){G++;}if(menu == 2){B++;}}if(press&CTRL_DOWN&&menu < 2){menu++;}if(press&CTRL_UP&&menu > 0){menu--;}setchar(mark+0x2c, R, G, B); Edited May 9, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Upaluppa Posted May 9, 2009 Share Posted May 9, 2009 (edited) @nerner: Here`s the Ped Spawn Cheat you wanted: #cheat Spawn Pedssetchar(0x8BB329C, 0);if(buttons&CTRL_LTRIGGER&&buttons&CTRL_CROSS){playerx = getfloat(pobj+0x30);playery = getfloat(pobj+0x34);playerz = getfloat(pobj+0x38);for(i=0; 0x98b4a40+i<=0x98ecf90; i+=0xd10){if(0x98b4a40+i != pplayer){setfloat(0x98b4a40+i+0x30, playerx+1, playery+1, playerz+1);setchar(0x98b4a40+i+0x894, 0x0);setchar(0x98b4a40+i+0x8b4, 0x0);}}} Press LTRIGGER+CROSS to spawn peds ! It only works, if any peds are near you ! Edit: Here`s a version without glitched peds: #cheat Spawn Peds (No Ghost Peds)if(buttons&CTRL_LTRIGGER&&buttons&CTRL_CROSS){playerx = getfloat(pobj+0x30);playery = getfloat(pobj+0x34);playerz = getfloat(pobj+0x38);for(i=0; 0x98b4a40+i<=0x98ecf90; i+=0xd10){if(0x98b4a40+i != pplayer&&!getint(0x98b4a40+i+0x480)){setfloat(0x98b4a40+i+0x30, playerx+1, playery+1, playerz+1);setchar(0x98b4a40+i+0x894, 0x0);setchar(0x98b4a40+i+0x8b4, 0x0);}}} In the first version it`ll also spawn peds to you, which are inside vehicles ! They`ll float in the air and you can`t interact with them in any way ! This version of the cheat prevents that from happening. "Ghost" Peds: Edited May 9, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Durka Durka Mahn Posted May 9, 2009 Author Share Posted May 9, 2009 So you are just moving them, not using a function in the VCS script or anything? Link to comment Share on other sites More sharing options...
Upaluppa Posted May 10, 2009 Share Posted May 10, 2009 (edited) I know it`s not really "spawning", but I still think it`s better than nothing at all. I have absolutely no idea how to get the real addresses. I`ve searched trough the memory, used captures and I tried whatever came into my mind, but I just couldn`t find them... Same for pickupspawns. I wish Edison would come back and tell us how he found the vehicle spawn locations that fast. Edited May 10, 2009 by Upaluppa Link to comment Share on other sites More sharing options...
Durka Durka Mahn Posted May 10, 2009 Author Share Posted May 10, 2009 Learn MIPS Assembly Language and open a VCS dump Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now