GTA Mods Mania
Welcome to GTA Mods Mania
To get the most benefits of the forums .Please register otherwise you
won't be able to view some important boards & topics.
We are sure you will enjoy after joining the site.
Affiliates
pic

pic

pic

!
Welcome to GTA Mods Mania Join us now to access all of our features. Once you join us, you can make any topic to talk in this forum, give the reputation of a fellow member, design your profile, and much more. If you already have an account, Login here. If don't create one, here.

Acquaintances Problem!

View previous topic View next topic Go down

Acquaintances Problem!

Post by TheSpookyMan on Sun Jan 06, 2013 4:05 pm

Good Afternoon Everyone!

yesterday i made a cleo mod by which the gang members would hate the drug dealers and kill them i did it.. also i made script that male peds hate the female peds but that did not happen . I used this opcode.
Code:

0746: set_acquaintance 4 of_actors_pedtype 4 to_actors_pedtype 5 // see ped.dat

Still they did not hurt the females if this is not the correct opcode which opcode do you all recommend me to use...???

Please help!
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Sun Jan 06, 2013 5:06 pm

Post the complete script... ;) XD
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Sun Jan 06, 2013 5:25 pm

Code:

{$CLEO}
//---------------MAIN---------------

0000:

:MISC
wait 0 ms
if
0256:  player $PLAYER_CHAR defined
jf @MISC
0746: set_acquaintance 4 of_actors_pedtype 4 to_actors_pedtype 5 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 6 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 8 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 9 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 10 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 11 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 12 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 13 to_actors_pedtype 17 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 14 to_actors_pedtype 17 // see ped.dat     
jump @MISC

This is the Script!

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Mon Jan 07, 2013 10:11 am

Your script won't work buddy...I ll be fixing the script shortly..
But why are you making a CLEO Script for that ?? Just edit the PED.DAT in your Data folder ..That's much easier to do.. :>:
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Mon Jan 07, 2013 3:32 pm

Will editing Ped.dat come in handy...?? by doing that will the male kill the females peds in GTA SA....??

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Mon Jan 07, 2013 3:34 pm

Yeah of course..You can use GTA SA Ultimate editor if you are unable to edit it correctly..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Mon Jan 07, 2013 3:50 pm

That Solves the Problem Thanks Mr ArijitSen you're the Best!!!!

But Please make a note of My GTA Sa cars to VC topic also...??
Help me in that ..and if i learn it i'll give you cool mvl cars also!!!

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Mon Jan 07, 2013 3:58 pm

Hmm..Glad to know that you got your solution..But regarding your secong problem I ain't a vehicle modeller ..But still I ll try to help you..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Mon Jan 07, 2013 4:27 pm

I was Wrong edited the Ped.dat also they did not do anything to Females!!!!

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Wed Jan 09, 2013 2:33 pm

You can use GTA SA Ultimate editor for editing PED.DAT Easily ...Just give a try ..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Wed Jan 09, 2013 2:53 pm

Edited the Ped.dat using Ultimate editor still no Change...!!!!

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Tue Jan 22, 2013 6:32 pm

Hey give me the Opcode number for doing that ie making Civmales attack Civfemales...Editing Ped.dat WILL NOT WORK AT ALL...!!!!

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Wed Jan 23, 2013 12:39 pm

Open the data folder of your GTA SA...
Then open ped.dat file by notepad...Then just change these lines:

Code:

CIVMALE   
    Respect CIVMALE
    Respect CIVFEMALE

Into this one:

Code:

    Respect CIVMALE
    Hate CIVFEMALE


This should make CIVMALES attack CIVFEMALES ..
I ll be giving u the CLEO Script too..shortly..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Wed Jan 23, 2013 1:32 pm

Yes Mr Arijitsen i have done that!!

Code:

CIVMALE 
    Respect CIVMALE
    Respect CIVFEMALE


Into this one:

Code:

    Respect CIVMALE
    Hate CIVFEMALE

Still they dont attack the Females...!! You should also try the above but it'll do Nothing...!!!!

editing PED.dat will not work, so far as i am concerned i think that is HARDCODED and cannot be done...!!!! but in vice city it can be done by this
Code:

03F1: pedtype 4 add_threat 5

Is there a similar opcode like that (03F1) for Gta Sa...???
Thank You...
:>: :>:

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by TheGodfather on Wed Jan 23, 2013 1:51 pm

No no such opcode exists for San Andreas but that can be done memory scripting but
I can't help you much with it.... atleast for now..Wink
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Acquaintances Problem!

Post by TheSpookyMan on Wed Jan 23, 2013 8:51 pm

Bad luck about that but i'm 100% Sure that editing Ped.dat WILL NOT WORK...!!!
Cleo is necessity here...!!! :>:

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Acquaintances Problem!

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum