Creare Videogiochi - Game Developer
Scattare una foto Script Fpsc v1.204 - 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: Scattare una foto Script Fpsc v1.204 (/thread-Scattare-una-foto-Script-Fpsc-v1-204)



Scattare una foto Script Fpsc v1.204 - friskon - 20-10-2012

Scattare una foto
funziona con la versione di Fpsc v1.204 beta

Codice PHP:
;Artificial Intelligence Script
;by corno_1
;Header

desc 
Photo when F pressed

;Triggers
;additional
;:varequal=camera 10:etimerstart,state=10
;:state=10,etimergreater=5000:setvar=camera 0,state=1
;:state=0:dimvar=camera,setvar=camera 0

:state=0:FlashLightRange=500
:state=0:FlashLightRed=255
:state=0:FlashLightGreen=255
:state=0:FlashLightBlue=255,state=1
:state=1,KeyPressed=34 1:FlashLight=1,etimerstart,sound=audiobank\photo.wav,State=2
:state=2,etimergreater=500:FlashLight=0,State=3
:state=3,etimergreater=550:FlashLight=1,state=4

;if aditional activateset "addvar=camera 1" in the next line
:state=4,etimergreater=800:FlashLight=0,state=5
:state=5,keypressed=34 0:state=1

;End of Script 

Autore : corno_1
Suono scaricabile qui http://www.freesound.org/people/FreqMan/sounds/42899/


RE: Scattare una foto Script Fpsc v1.204 - war10hacker - 20-10-2012

Script interessante, funziona solo con la 1.204 beta?


RE: Scattare una foto Script Fpsc v1.204 - patolina - 21-10-2012

sembra bello!
una domanda: ipotizziamo che io nel gioco devo fotografare un oggetto (1 documento) per andare avanti come faccio? (come in MOH frontline in una delle ultime partite)

p.s. bisogna loggarsi per scaricare