• Benvenuto in Making Videogames!
  • Dai sfogo alla tua fantasia!
  • Crea il tuo Videogioco!
Benvenuto ospite! Login Registrati




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
Flashlight, Batteries included
#1
- Need to find a flashlight pickup, torch, etc before the flashlight works

-- Battery power shown in the corner as a percentage. The percentage drains and does not recharge until you install fresh batteries.

-- The light beam intensity decreases as the battery dies.

-- The battery clicks off when consumed and the light won't work until you find a new battery.

-- Batteries can be installed with the flashlight on or off. There is an on-screen text when the battery is being swapped. If the light is on, it will temporarily click off while the battery is installed.


Also included is a flashlight battery entity. I used the sci-fi battery, scaled down via Entity Workshop, and edited the .fpe file to include the necessary scripts. All you should have to do is put it in the game.

All necessary graphic and audio files are included. The original header from flashlightv3 was inserted in the new script as a tribute. Everything is free to use however you please.

I hope all the right files are included--I think they are! It works pretty good on my test levels and should be a great addition to dark games, especially with the need to find batteries.


*** SETUP:

1. Unzip and drag-drop / cut-paste the Files folder into your FPS Creator directory

2. Create a dynamic light entity anywhere in the level. Name it 'flashlight_source' (very important to spell it right as this entity controls the light and battery operations). Set the light radius to 0. Set the main script to 'scriptbank\user\flashlightm\flashlight.fpi'

3. Create a flashlight object (ww2 or sci-fi torch works well) and set the main script to 'scriptbank\user\flashlightm\flashlight_pickup.fpi'. The flashlight function ('F' key on/off) will not work until you find the flashlight with this script.

4. Put battery entities in the level as desired (should be under Entities\user\flashlight_battery). The script should already be in place, but if it's not (for some odd reason) set the main script to 'scriptbank\user\flashlightm\battery.fpi'

* Once you acquire the flashlight, you can use it normally via the 'F' key. The battery will drain and it won't recharge. Batteries restore 100% power.

* The flashlight and batteries require action use to pick-up.

Autore : mentored1
Licenza : Free
Download : http://forumfiles.thegamecreators.com/download/2142590
 
Rispondi
#2
dove sta la torcia?
 
Rispondi
#3
la torcia usa quella dello stock di fpsc, mettila a terra e collegagli lo script del pickup-up della torcia
 
Rispondi
#4
Friskon L'hai Testato? A me non Worka Tanto Bene..xD xD
No Friskon Mi Worka Alla Grande Wink Con un paio di Modifiche mi sta venendo Proprio Bene xD Big Grin
 
Rispondi
#5
(26-07-2011, 05:03 AM)xlsheriklx Ha scritto: Friskon L'hai Testato? A me non Worka Tanto Bene..xD xD
No Friskon Mi Worka Alla Grande Wink Con un paio di Modifiche mi sta venendo Proprio Bene xD Big Grin

come hai fatto??? a me non và io ho fatto ciò che c'è scritto ma non funge lo stesso Confused mi dice che ho preso batterie e quando prendo la torcia con enter schiaccio f ma non accade niente Undecided non sò davvero come fare...
 
Rispondi
#6
hai messo la lampadina dinamica?
 
Rispondi
#7
(02-11-2013, 06:27 PM)patolina Ha scritto: hai messo la lampadina dinamica?

se parli della "white light" nella sezione MARKER sì lo ho fatto e ho messo la luce a 0
 
Rispondi
  


Vai al forum:


Browsing: 3 Ospite(i)