Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vanilla Éclair (working title)
#36
In joc, personajele vor reactiona diferit in functie de anumiti factori. Spre exemplu, dupa ce-i aduci unui personaj obiectul cerut intr-un quest, acesta ar trebui sa-l accepte. In mod normal. Totusi, ca sa fie toata treaba mai veridica, daca i-ai omorat cel mai bun prieten, nu-ti va lua obiectul. Asta daca nu cumva te ataca direct.
Ca sa aducem toata treaba din culise la un nivel cat mai apropiat de personaje, implementam in fiecare din ele o asa numita "memorie". O memorie este de fapt o lista, in care bagam "informatii". Informatiile sunt niste simple valori intregi (o enumeratie in background).
In momentul in care jucatorul omoara un personaj, toate NPC-urile de pe o raza X vor primi in memorie informatia... sa zicem, "PlayerKilledFriendlyBandit".

Unde ajungem pana la urma? La niste metode foarte simple:

event BanditSawPlayer
{
if (BanditKnowsInfo(PlayerKilledFriendlyBandit))
{
Attack(Player);
}
}


O sa revin cu mai multe update-uri soon. And pics, 'cause they're cool Smile
replyReply


Messages In This Thread
Vanilla Éclair (working title) - by Patrunjelu' - 09-17-2012, 01:21 AM
RE: Vanilla Éclair (working title) - by Hegan - 09-24-2012, 02:05 PM
RE: Vanilla Éclair (working title) - by Szekemri - 09-24-2012, 08:10 PM
RE: Vanilla Éclair (working title) - by Bogdan - 09-24-2012, 08:35 PM
RE: Vanilla Éclair (working title) - by Szekemri - 09-28-2012, 04:57 PM
RE: Vanilla Éclair (working title) - by Szekemri - 09-29-2012, 10:31 AM
RE: Vanilla Éclair (working title) - by Warhell - 09-30-2012, 09:14 AM
RE: Vanilla Éclair (working title) - by BeoWulf - 09-30-2012, 11:25 AM
RE: Vanilla Éclair (working title) - by Szekemri - 09-30-2012, 03:41 PM
RE: Vanilla Éclair (working title) - by Hegan - 09-30-2012, 07:59 PM
RE: Vanilla Éclair (working title) - by Carnage - 10-04-2012, 09:47 PM
RE: Vanilla Éclair (working title) - by Warhell - 10-19-2012, 03:08 PM
RE: Vanilla Éclair (working title) - by cedry2k - 10-20-2012, 12:42 PM
RE: Vanilla Éclair (working title) - by Carnage - 10-20-2012, 01:45 PM
RE: Vanilla Éclair (working title) - by Carnage - 10-24-2012, 05:51 PM
RE: Vanilla Éclair (working title) - by Szekemri - 10-21-2012, 06:06 PM
RE: Vanilla Éclair (working title) - by Hegan - 10-27-2012, 11:39 AM
RE: Vanilla Éclair (working title) - by Patrunjelu' - 10-28-2012, 11:54 PM
RE: Vanilla Éclair (working title) - by Carnage - 10-29-2012, 03:48 PM
RE: Vanilla Éclair (working title) - by Robi - 11-01-2012, 12:23 AM
RE: Vanilla Éclair (working title) - by Robi - 11-01-2012, 12:40 AM
RE: Vanilla Éclair (working title) - by BeoWulf - 11-01-2012, 09:32 PM
RE: Vanilla Éclair (working title) - by BeoWulf - 11-01-2012, 09:38 PM
RE: Vanilla Éclair (working title) - by old nick - 11-08-2012, 05:53 PM
RE: Vanilla Éclair (working title) - by old nick - 11-08-2012, 08:21 PM
RE: Vanilla Éclair (working title) - by old nick - 11-08-2012, 08:35 PM
RE: Vanilla Éclair (working title) - by Szekemri - 11-08-2012, 10:14 PM
RE: Vanilla Éclair (working title) - by Cristian - 11-08-2012, 10:18 PM
RE: Vanilla Éclair (working title) - by Szekemri - 11-08-2012, 10:23 PM
RE: Vanilla Éclair (working title) - by old nick - 11-08-2012, 10:32 PM
RE: Vanilla Éclair (working title) - by Carnage - 11-13-2012, 09:24 PM
RE: Vanilla Éclair (working title) - by Carnage - 11-23-2012, 11:25 PM
RE: Vanilla Éclair (working title) - by Cristian - 12-02-2012, 09:01 PM
RE: Vanilla Éclair (working title) - by old nick - 12-02-2012, 09:30 PM
RE: Vanilla Éclair (working title) - by meph144 - 12-10-2012, 11:52 PM
RE: Vanilla Éclair (working title) - by meph144 - 12-14-2012, 08:24 PM

Forum Jump:


Users browsing this thread: 16 Guest(s)