CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Forum
  • Accueil
  • Actus
  • Tests
  • Vidéos
  • Images
  • Soluces
  • Forum
Liste des sujets

DarkAi amélioré...

CyberChris
CyberChris
Niveau 10
10 février 2008 à 18:01:13

Voila, c'est le 'darkai' de la maj 8, mais j'y ai ajouté le 'module' recherche...
Evidemment si vous voulez tester : Conservez l'original !
(Script a mettre en principal MAIN)

;Artificial Intelegence Script

;Header

desc = Strafe While Shooting (PSEUDO DARKAI PLACEHOLDER - TO BE REPLACED WITH DARKAI)

;Triggers

:state=0:waypointstart,setframe=19
:state=0,plrwithin,plrdistfurther=601:state=0
:state=0,plrwithin,plrdistwithin=600:state=20

:state=1,plrcanbeseen:state=50

;-=>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse

;///PLR FOUND\\\
:state=20,plrcanbeseen:state=50
:state=20,plrcannotbeseen:state=40

;///Look For Plr\\\
:state=40,plrcannotbeseen,random=3:timerstart

:state=40,plrcannotbeseen,random=3,timergreater=30
:rotateheadrandom=50

:state=40,plrcannotbeseen,random=3,timergreater=40
:pivotrandom=55,movefore=10,animate=2
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=60:rotatetoplr
:state=40:state=20

:state=50,ifweapon=0:state=58,setframe=6

:plrcanbeseen:settarget,rotatetotarget,rotatetoplr
,resethead
:plrdistwithin=200:rotatetoplr,resethead

:state=50,random=20:state=59
:state=50,shotdamage=1:rotatetoplr,state=57

:state=50,noiseheard=5:settarget,rotatetotarget,ro
tatetoplr,state=57
:state=50,ifweapon=1,plrcanbeseen:state=52

:state=51:incframe=3,strafe=-90,rotatetoplr

:state=51,ifweapon=1,plrcanbeseen:useweapon,rundec
al=6
:state=51,frameatend=3:state=50,animate=1

:state=55:useweapon,rundecal=6,state=50
:state=54:state=55
:state=53:state=54
:state=52:state=53

:state=56:incframe=4,strafe=90,rotatetoplr

:state=56,ifweapon=1,plrcanbeseen:useweapon,rundec
al=6
:state=56,frameatend=4:state=50,animate=1

:state=57,random=1:state=56,setframe=4
:state=57:state=51,setframe=3

:state=58:incframe=6

:state=58,frameatend=6:state=50,reloadweapon,sound
=audiobank\guns\reload.wav

:state=59,plrcannotbeseen:state=60
:state=59:state=50
:state=60,random=1:rotatetoplr,strafe=135
:state=60,random=1:rotatetoplr,strafe=-135
:state=60,random=1:rotatetoplr,strafe=-65
:state=60,random=1:rotatetoplr,strafe=65
:state=60:state=57

;End of Script

Cyb

-quantazed-
-quantazed-
Niveau 6
10 février 2008 à 18:17:56

Hmmm...
Mais c'est quoi ça "Darkai" ? ça sert à quoi ?

Fan-2-bully
Fan-2-bully
Niveau 9
10 février 2008 à 18:53:31

C'est un script pour l'intelligence artificielle mais je n'ai jamais tester l'original

grovestreet4lif
grovestreet4lif
Niveau 8
10 février 2008 à 19:11:33

Le DarkAi ben, ceux qui connaissent bien l'IA de base des ennemis FPSC seront peut etre surpris (ou pas) de trouver...
ben la meme chose, les ennemis sont toujours aussi cons et croyez moi, ca n'a rien d'agreable, c'est meme frustrant!!
Quand est ce que The Game Creators vont se remuer le c*l pour nous pondre des scripts corrects?

CyberChris
CyberChris
Niveau 10
10 février 2008 à 19:31:56

Heuuuuuuuuuuuuuuu attends, tu es sur que ton FPSC va bien grove ??
Chez moi, darkai fonctionne tres bien , bon 'de base' l'ennemi ne bougeras pas tant que tu ne sera pas visible/audible...
Mais des qu'il te vois la..il tire EN STRAFFANT (avant il tirait ET il straffait) (Straffe : pas de coté).
Voila comment j'ai installé darkai moi :
Appearheadshot (au cas ou tu voudrais des headshot sur l'ennemi sinon laisse celui d'origine)
en script principal (main) => darkai
en script de mort => darkdestroy
Ha vui : il faut evidemment la maj rc08 pour ces scripts...

Cyber

grovestreet4lif
grovestreet4lif
Niveau 8
10 février 2008 à 20:09:13

ben oui, j'ai fait comme ca mais bon, moi quand on me dit
"avec la darkai vous allez deguster".
Je croyais a des trucs supers comme par exemple aller se planquer derrier un objet ou prendre la fuite.
Mais non le comportement est toujours aussi "suicidaire"

CyberChris
CyberChris
Niveau 10
10 février 2008 à 20:23:12

oui c'est pas encore ca question script mais bon faut faire avec ou alors tu apprends le fpi et tu essaie, toi, d'en faire ??
C pas pour me foutre de toi la, juste pour dire que finalement le langage est simple mais peu de gens se penchent dessus, preferant faire des 'entites', des segments...Alors qu'on en est overdosé de pack et de trucs a mettre sur nos maps...!

cy

La vidéo du moment