1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Build12, changing cannon fog/smoke

Discussion in 'Features Archive' started by DarrenJay, Jan 19, 2005.

  1. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    Hi guys,
    I want to change the "realistic" fog/smoke of the shipcannons (when firing the cannons) in to the origin one of potc!
    I've Build12 installed!
    How can I change it?

    kind Regards

    P.S. No match found under search function
     
  2. skull

    skull Sea Dog

    Joined:
    Jul 24, 2003
    Messages:
    7,018
    Gender:
    Male
    Location:
    Anywhere I can hang my hat
    Welcome te PA mate,ye can change chance of fog in POTC program/build setting_h folder under misceallanious settings,current setting is 30.

    Here Nathans instructions fer decreasing amount O' smoke
    Anyhow, to make the smoke less.
    Two steps.
    One, open programSea_AIaiBalls.c
    Find line
    Code:
    PostEvent("CreateParticleSystemPost", 300, "sffffffl", "cancloud", fX, fY, fZ, -fHeightAng, fDirAng, 0.0, 20); // now done as post to not hide fire fx



    Change the 20 to the duration you like (stock was 12).

    Two, open resourceiniparticlesparticles.ini
    Find line
    Code:
    ; NK `04-09`-21 make life longer. Orig lifetime = 4000
    lifetime = 20000


    change back to 4000, or any duration you like.
     
  3. KnowNothingBozo

    KnowNothingBozo Landlubber Storm Modder

    Joined:
    Jan 16, 2005
    Messages:
    24
    I've got a question, too:

    Is there any way to make the smoke blow in the direction of the wind? Can you even set a velocity on particles?
     
  4. skull

    skull Sea Dog

    Joined:
    Jul 24, 2003
    Messages:
    7,018
    Gender:
    Male
    Location:
    Anywhere I can hang my hat
    Not sure O' that mate,never realy noticed which way de smoke blows,although I'd be notice'n if thars no wind,de smoke consumes me whole deck an can't see much at all,One O' de modders could probly help ye out wid that question <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
     
  5. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    <!--QuoteBegin-skull+--><div class='quotetop'>QUOTE(skull)</div><div class='quotemain'><!--QuoteEBegin-->Welcome te PA mate,ye can change chance of fog in POTC program/build setting_h folder under misceallanious settings,current setting is 30.

    Here Nathans instructions fer decreasing amount O' smoke
    Anyhow, to make the smoke less.
    Two steps.
    One, open programSea_AIaiBalls.c
    Find line
    Code:
    PostEvent("CreateParticleSystemPost", 300, "sffffffl", "cancloud", fX, fY, fZ, -fHeightAng, fDirAng, 0.0, 20); // now done as post to not hide fire fx



    Change the 20 to the duration you like (stock was 12).

    Two, open resourceiniparticlesparticles.ini
    Find line
    Code:
    ; NK `04-09`-21 make life longer. Orig lifetime = 4000
    lifetime = 20000


    change back to 4000, or any duration you like.<!--QuoteEnd--></div><!--QuoteEEnd-->

    thank u
    but step 1 doesn't function, cause i'm not finding your quote in aicannons.c <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

    Edit: ok it's in aiballs.c <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
    but it's only changing the duration of the smoke not the animation, its still the big white smoke! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> I want the "origin" one...
     
  6. alan_smithee

    alan_smithee Corsair Storm Modder

    Joined:
    Jun 19, 2004
    Messages:
    1,144
    Location:
    Mtl, QC
    I've a similiar question: Can I make it constantly smokey/foggy in a room? Perhaps by defining it as an outside location, then locking the weather to fog (what would be the code for that?). I tried "model location effect" waterfall fog, and that did indeed fill the room with fog, but for some reason also made everything but the bare foor walls of the room disappear...
     
  7. Admiral8Q

    Admiral8Q Troublesome Corsair

    Joined:
    Apr 16, 2004
    Messages:
    1,974
    Gender:
    Male
    Location:
    Manitoba, Canada
    I actually find the bright glowing "fluorescent" smoke at night really unrealistic and annoying, could a "dark" smoke be modded to replace this at night?
     
  8. skull

    skull Sea Dog

    Joined:
    Jul 24, 2003
    Messages:
    7,018
    Gender:
    Male
    Location:
    Anywhere I can hang my hat
    Hmm just noticed code may be wrong in this line
    ; NK `04-09`-21 make life longer. Orig lifetime = 4000
    lifetime = 20000

    I think it should be to comment out top line
    // NK `04-09`-21 make life longer. Orig lifetime = 4000
    lifetime = 20000

    Alan great idea fer fill'n a room with smoke,kinda bizare it would remove walls an ceiling,hopefully Nathan will be around soon te help with yer question an Admiral8Q as I have no idea
    <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
     
  9. KnowNothingBozo

    KnowNothingBozo Landlubber Storm Modder

    Joined:
    Jan 16, 2005
    Messages:
    24
    No, that code is correct, ini files use semicolons as comments. The two slashes would probably crash it. [EDIT] Well, it appears that the two slashes work too. Wierd. [/EDIT]

    Wait, whoa. I had no idea all these ini files existed. Maybe *that's* why some of my changes have no effect. Which of these are used? Cannons.ini seems to be ignored, but if particles.ini governs particle speeds... hold on, I might be able to make smoke blow in the wind after all...
     
  10. v_Grimmelshausen

    v_Grimmelshausen Landlubber

    Joined:
    Jan 1, 1970
    Messages:
    957
    Gender:
    Male
    Location:
    Germany
    Hi Darren,
    I´m afraid I can´t be very helpful to you, but you may be so to me. What version of PotC do you have? I´m asking because I´m looking around for it, but I´m afraid to catch the feared "Ubisoft" version. As far as I know, there are two german versions, one of them in a blue box labeled Ubisoft Exclusiv. So, which one do you have, for it appears to work with build 12.
     
  11. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    hiho,
    i'm sorry i've purchased this game about 1 year ago <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> i think its the ubisoft version but im not sure, cause my gamebox doesnt exist anymore <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid=":keith" border="0" alt="keith.gif" />
    I would post a screen of my curent "smoke" but i've no webspace at moment...
     
  12. Inez Dias

    Inez Dias Privateer Storm Modder

    Joined:
    Dec 5, 2003
    Messages:
    831
    I have a brown box labelled Ubisoft and it works (build12 on top of buid11)
     
  13. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    Thats the smoke from my curent version (build12)
    <img src="http://img130.exs.cx/img130/4717/Unbenannt54.jpg" border="0" class="linked-image" />
    And thats the smoke i want to have <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
    <img src="http://www.yiya.de/reviews/f/fluc0101/pic09b.jpg" border="0" class="linked-image" />
     
  14. Rad

    Rad Privateer

    Joined:
    Jan 1, 1970
    Messages:
    737
    Location:
    Europe
    Reply

    Hi, Skull and others. Only today I managed to find it and reduce intensity of smoke from 20 to 10 because first I find it inthe file AICannons.c. But I didn´t try it yet. But the time of smoke presence I reduced quite a long time ago from 20 000 to 1000 only and I had enough time to check it. For me it is good now. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
     
  15. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    please explain me how to reduce the intensity of the smoke <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
     
  16. Rad

    Rad Privateer

    Joined:
    Jan 1, 1970
    Messages:
    737
    Location:
    Europe
    Reply

    Do exactly what Skull writes here above (second post). I think it is quite clear explained here. And number 20 reduce as you want. I hope It will be working I didn´t check it yet. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
     
  17. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    That's the problem it doesn't work!
    Pls view the pics above!
    I want to change the cansmoke form the first pic into the smoke of the second pic! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/diomed.gif" style="vertical-align:middle" emoid=":dio" border="0" alt="diomed.gif" />

    cheers
     
  18. Rad

    Rad Privateer

    Joined:
    Jan 1, 1970
    Messages:
    737
    Location:
    Europe
    Reply

    Hm, hm, I must try. So use this second thing as I did and change this value in file particles.ini from 20 000 to 1000 only as I did. It is quite be bearable then. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
     
  19. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    U dont understand I dont wanna change the duration or something like this!
    I want to change the fu ckin animation of the cannon cloud!
    Cause i've installed build 12 and i hate these big white clouds...
     
  20. DarrenJay

    DarrenJay Landlubber

    Joined:
    Jan 19, 2005
    Messages:
    17
    Watch this please...

    <a href="http://img114.exs.cx/img114/1161/`Unbenannt-1Kopie2`.jpg" target="_blank">klick</a>

    ...really nasty...
    <a href="http://img117.exs.cx/img117/6482/unbenannt2kopie1wi.jpg" target="_blank">klick2</a>
     

Share This Page