Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: NaisBully on March 19, 2012, 12:12:36 PM

Title: Kissable Boys Question
Post by: NaisBully on March 19, 2012, 12:12:36 PM
Hey guys/girls

I was toying around with ide.img and I thought of something. What element in the hex makes a character kissable, like the boys (Trent, Duncan, Kirby, Gord, Cornelius & Vance)? Is it something in their names, or is there another element that makes them kissable? If anyone knows please tell me & Thanks In Advance! :)
Title: Re: Kissable Boys Question
Post by: Red Blaster on March 19, 2012, 04:06:13 PM
It's in Scripts.
Title: Re: Kissable Boys Question
Post by: MadmaN on March 19, 2012, 08:46:18 PM
Correct!

This is a portion of what triggers kissing for a named ped.

Code: [Select]
  l_3_0 = PedCreatePoint(l_0_1[l_3_2], POINTLIST._CHARACTERS, l_3_2)
  PedSetEmotionTowardsPed(l_3_0, gPlayer, 7)
  PedSetPedToTypeAttitude(l_3_0, 13, 4)
  PedSetRequiredGift(l_3_0, 1, false, true)
  PedSetFlag(l_3_0, 84, true)
  PedSetAsleep(l_3_0, true)
  PedSetCheap(l_3_0, true)
  table.insert(l_0_0, l_3_0)
  Wait(0)
Title: Re: Kissable Boys Question
Post by: Prosecute on March 21, 2012, 01:00:32 PM
Correct!

This is a portion of what triggers kissing for a named ped.

Code: [Select]
  l_3_0 = PedCreatePoint(l_0_1[l_3_2], POINTLIST._CHARACTERS, l_3_2)
  PedSetEmotionTowardsPed(l_3_0, gPlayer, 7)
  PedSetPedToTypeAttitude(l_3_0, 13, 4)
  PedSetRequiredGift(l_3_0, 1, false, true)
  PedSetFlag(l_3_0, 84, true)
  PedSetAsleep(l_3_0, true)
  PedSetCheap(l_3_0, true)
  table.insert(l_0_0, l_3_0)
  Wait(0)

Ah, so this is possibly the same method in which is used to make bodyguards hold your hand etc and to make peds hireable?
Title: Re: Kissable Boys Question
Post by: MadmaN on March 21, 2012, 08:13:22 PM
yup. Exact same method.

The difference between having bodyguards hold your hand and just stand next to you and follow is just a slight change of the code above.