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: Horn and smoke for Kenworth  (Read 1435 times)

0 Members and 1 Guest are viewing this topic.

Offline Delta Hawk

  • Members
  • *
  • I'm a llama!
Horn and smoke for Kenworth
« on: 25 Feb 2004, 01:05:52 »
Hi, i was wondering how do u add a custom horn sound.  The game's horn sucks for my Kenworth.  Also, is there a way to have a second exhaust?  And another question is why do textures come out crappy at first, but get better after a while.  Is there a way around this?  I wish i could get some screen pics of the truck so far, but i don't know how to put pics on the post.  

Offline Delta Hawk

  • Members
  • *
  • I'm a llama!
Re:Horn and smoke for Kenworth
« Reply #1 on: 29 Feb 2004, 22:56:18 »
okay, so it's safe to assume that the ofp community doesn't want an 18-wheeler addon for the game and i'm just wasting my time trying to make the most realistic truck for ofp? ???

Offline DesertFox

  • Members
  • *
    • Bloody Days Mod Homepage
Re:Horn and smoke for Kenworth
« Reply #2 on: 01 Mar 2004, 16:22:15 »
Hey
I think the Addon would be very cool.
I looked in the OFP game fles, the tree in the config should be:


Under CfgWeapons should be:

   class Default
   class CarHorn: Default
   class TruckHorn: CarHorn
                class NewHorn: TruckHorn
                {
                 drySound[]={YourTruck\HornSound.wav,db-20,0.7};   
                };


And under your Truck defines should be:
                 weapons[]={NewHorn};
                 magazines[]={};

This is very important!!!!


(I couldn't try in OFP if it works but I hope so. Please let me know about any bugs, via email or so!!!!!)

Greetz,
               DesertFox
DesertFox, Texturer of Bloody Days Mod