Creare Videogiochi - Game Developer
radar pach 118 - Versione stampabile

+- Creare Videogiochi - Game Developer (https://www.making-videogames.net/giochi)
+-- Forum: Fps Creator e GameGuru Italia (https://www.making-videogames.net/giochi/Forum-Fps-Creator-e-GameGuru-Italia)
+--- Forum: Script fpi e lua FPSC GameGuru (https://www.making-videogames.net/giochi/Forum-Script-fpi-e-lua-FPSC-GameGuru)
+--- Discussione: radar pach 118 (/thread-radar-pach-118)



radar pach 118 - jirby - 24-04-2011

Ecco un altro esempio radar + bussola per la pach 118
Non e perfetto ci sta un po’ per caricare tutte le immagini pero fa il suo dovere

Iniziamo mettendo
Trigger Zone
In Main mettiamo questo script
Codice:
;Artificial Intelligence Script

;Header radar


;Triggers
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\plr.dds,hudname=enemy,hudtype=11,hudmake=status
:state=0:dimvar=radar
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar1.dds,hudname=foto1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar2.dds,hudname=foto2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar3.dds,hudname=foto3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar4.dds,hudname=foto4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar5.dds,hudname=foto5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar6.dds,hudname=foto6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar7.dds,hudname=foto7,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar8.dds,hudname=foto8,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar9.dds,hudname=foto9,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar10.dds,hudname=foto10,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar11.dds,hudname=foto11,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar12.dds,hudname=foto12,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar13.dds,hudname=foto13,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar14.dds,hudname=foto14,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar15.dds,hudname=foto15,hudhide=1,hudmake=display
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\radar16.dds,hudname=foto16,hudhide=1,hudmake=display,state=1

:state=1:setvar=radar $CAY,wrapvar=radar
:state=1,vargreater=radar 0:hudshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 22.5:hudunshow=foto1,hudshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 45:hudunshow=foto1,hudunshow=foto2,hudshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 67.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 90:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 112.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 135:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 157.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 180:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 202.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 225:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 247.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 270:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudshow=foto13,hudunshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 292.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudshow=foto14,hudunshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 315:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudshow=foto15,hudunshow=foto16
:state=1,vargreater=radar 337.5:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudshow=foto16
:state=1,vargreater=radar 360:hudunshow=foto1,hudunshow=foto2,hudunshow=foto3,hudunshow=foto4,hudunshow=foto5,hudunshow=foto6,hudunshow=foto7,hudunshow=foto8,hudunshow=foto9,hudunshow=foto10,hudunshow=foto11,hudunshow=foto12,hudunshow=foto13,hudunshow=foto14,hudunshow=foto15,hudshow=foto16


;End of Script

Nel file troverete tutto quello che serve per il suo funzionamento

file

con questo i regali di pasqua sono finiti vado a riempirmi la pancia
auguri a tutti e speriamo che domani non piova " come diciamo dalle mie parti arrusti e mamangia "


RE: radar pach 118 - dido92 - 24-04-2011

grazie mille è carino!


RE: radar pach 118 - Tax78 - 26-04-2011

Ma!, l'azione ,wrapvar=radar , da dove arriva, dove l'hai preso Huh il mio edit fpi non lo riconosce.

Comunque bello script, chi la fatto, non vedo l'autore.


RE: radar pach 118 - David - 26-04-2011

(26-04-2011, 06:47 PM)Tax78 Ha scritto: Ma!, l'azione ,wrapvar=radar , da dove arriva, dove l'hai preso Huh il mio edit fpi non lo riconosce.

Comunque bello script, chi la fatto, non vedo l'autore.

credo, e ipotizzo eh, sia preso da qualche mod, suppongo la wasp...


RE: radar pach 118 - Tax78 - 26-04-2011

Citazione:credo, e ipotizzo eh, sia preso da qualche mod, suppongo la wasp...
Ma penso che se fosse stato fatto con la waspmod lo avrebbe scritto al primo post, se è waspmod occorre dirlo al primo post, quindi non e per tutti.


RE: radar pach 118 - jirby - 26-04-2011

Non e un mod e uno script che carica immagini hud in base alla posizione del player .Non vedi l'autore per che non lo fatto io, lo solo adattato alle mie esigenze non so chi l'abbia fatto se no l'avrei messo il suo nome.
anche se del codice originale e rimasto ben poco
Tax e una variabile puoi mettere quello che vuoi


RE: radar pach 118 - Tax78 - 26-04-2011

@ jirby
Citazione:,wrapvar=radar
Messo come è nello script, è una azione, e sicuramente l'anno inserita nella 1.18, solo che la lista (condizioni ed azioni) dalla 1.18 non le hanno ancora dette, almeno, io non sò.


RE: radar pach 118 - jirby - 26-04-2011

allora Tax l'unica variabile inserita su 118 e questa enemy e per la posizione dei nemici
come già detto cambia wrapvar=radar in radarvar=radar guarda che funge lo stesso
i comandi del 118 alcuni già si sanno quelli dell'acqua per esempio, si come viene aggiornata giornalmente ne inseriscono di nuovi.


radar 2 pach 118 - jirby - 27-04-2011

ecco un altro esempio senza bussola e più leggero

Codice:
;Artificial Intelligence Script

;Header radar By Jirby


;Triggers
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\plr.dds,hudname=enemy,hudtype=11,hudmake=status
:state=0:hudreset,hudx=10,hudy=85,hudimagefine=gamecore\jirby\radar\rad.dds,hudname=rad,hudhide=1,hudmake=display,hudshow=rad,activateifused=1
;End of Script

file con immagine e script

la prima riga del codice attiva il radar
la seconda l'immagine di sfondo
ora non o tempo per postare un altro script attiva e disattiva con un tasto


RE: radar pach 118 - Alche - 27-04-2011

fantastico, grazie mille!


RE: radar pach 118 - jirby - 28-04-2011

(27-04-2011, 01:27 PM)Alche Ha scritto: fantastico, grazie mille!

mi fa piacere che hai apprezzato