Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: subclassing in description.ext  (Read 3219 times)

0 Members and 1 Guest are viewing this topic.

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
subclassing in description.ext
« on: 27 Feb 2010, 17:09:18 »
Hi,

Is it possible to modify/change a config value in description.ext of a mission instead of using a cpp in an addon?

For example, can we change an unit audible property by modifying its class or subclassing it in description.ext?

Thanks in advance

Cheers

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: subclassing in description.ext
« Reply #1 on: 28 Feb 2010, 10:34:19 »
AFAIK, no. It'd be pretty cool if it were possible though! But no, you need an addon to do addon stuff. If it's an important change for your mission, you could probably create a very tiny config addon that added a new class of units or somesuch with your desired changes, and then you'd bundle that with your mission :)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re: subclassing in description.ext
« Reply #2 on: 28 Feb 2010, 16:47:33 »
Hi,

I was afraid it was the case.

Thanks for answering

Cheers