Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: JS script - read file  (Read 2894 times)

giucam

  • Full Member
  • ***
  • Posts: 171
  • It's an ugly pile of bones... like me.
JS script - read file
« on: May 24, 2013, 05:11:00 pm »

Is it possible to read a text file from the vehicle js script?
Logged
ResidualVM 0.1.1 is OUT! www.residualvm.org

bugsblake

  • Sr. Member
  • ****
  • Posts: 255
  • jedi master
Re: JS script - read file
« Reply #1 on: May 24, 2013, 05:20:53 pm »

if you mean can you open and read a js file just use notepad++. but if you asking if a js file has a command to open a txt file i dont know myself? sorry :)
Logged
Intel 6 core i7 Xeon - 4930k @3.40 GHz
GTX 770 4GB X2 in SLI
Asus P9X79 Extreme MOBO
Patriot 16GB DDR3 1600MHz
SSD 250GB + SATA 500GB + SATA 1TB

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
Re: JS script - read file
« Reply #2 on: May 24, 2013, 06:02:51 pm »

Oh no Giucam, don't you dare.... I think I know what you trying to do :)
Starts with W? :D
Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: JS script - read file
« Reply #3 on: May 25, 2013, 01:06:43 am »

I am totally in the dark on this one..

W..

Wessels?

NUCLEAR WESSELS!?

Windmill..
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

giucam

  • Full Member
  • ***
  • Posts: 171
  • It's an ugly pile of bones... like me.
Re: JS script - read file
« Reply #4 on: May 25, 2013, 05:21:17 am »

W? ...mhm... I think you don't know what i'm trying to do :P

I'd just want to read some parameters of my vehicle js script from an external file, so you could use it on a new vehicle without having to modify it, but just the external file.
Actually I'd prefer to use another js file and import/include it in the main one, but that i know isn't possible at the moment.
Logged
ResidualVM 0.1.1 is OUT! www.residualvm.org