Results 1 to 10 of 10

Thread: Need help with creating a campfire. | Forums

  1. #1
    I have added the campfire mesh and added the fire emitter mesh just above it. I believe I have the object attributes configured correctly but I can't seem to get the flames to appear. Anybody know what I might be doing wrong?

    Thanks!
    Reply With Quote Reply With Quote

  2. #2
    In "Mesh browser" select "All" and go do "/selections/fxselections/fire/sel_FX_FireBig_A.eds". Put it on your map where fire should be. Now add sound emitter (that is enabled on start) and look for nice fire sound. Place it very close to FX. After that place object "Fire Damager" on your map and in field "ObjectsToDamage" add Player(PlayerBeingCOJ2).

    That damage type works only on SP maps!

    Also you can add "FXEmitter" and change its class to "FireEmiter". In "sFXNamePrefix" type fire FX name (but not that from selection but "Firekeg") and turn on "AutoStart" and "IsSequence".
    _______________________________________
    Best regards,
    COJModding.com Team
    www.cojmodding.com
    Reply With Quote Reply With Quote

  3. #3
    Great help Seir, thanks!
    Reply With Quote Reply With Quote

  4. #4
    Seir,

    Thanks for all the great help! I've been learning quite a bit from all your great posts, thank-you!
    Reply With Quote Reply With Quote

  5. #5
    For some reason I cannot add Player to the actors being damaged by fire. The field m_objectsToDamage<Actor[]> remains "empty". Any idea what I am doing wrong with my Fire Damager?

    Also how can we preview a sound file? They are not accessible outside the editor, are they? Can we also add our own sounds and then what do we need to do to get them running on other people's PCs?

    One more thing. How do we know what to put in the field sFXNamePrefix? Can we create other particle based fx? Like water similar in a fountain and so on?
    _______________________________________
    www.lukaszbogaj.com | www.twitter.com/wookash_b
    Reply With Quote Reply With Quote

  6. #6
    1) Check how to add object to ClutchableObjects field. It works the same way.

    2) Find sound you want to play in SoundEmitter and use "Test" checkbox in SoundEmitter

    3) Most FX with this field already set are in Selections\FXSelections
    _______________________________________
    Best regards,
    COJModding.com Team
    www.cojmodding.com
    Reply With Quote Reply With Quote

  7. #7
    Thanks for the reply. I added player to m_bojectsToDamage list but player still does not take any damage when I walk into the fire. I also made the radius of damage bigger but still no effect
    _______________________________________
    www.lukaszbogaj.com | www.twitter.com/wookash_b
    Reply With Quote Reply With Quote

  8. #8
    I think you need to use action act_EnableDisable with _ENABLE on FireDamager.
    _______________________________________
    Best regards,
    COJModding.com Team
    www.cojmodding.com
    Reply With Quote Reply With Quote

  9. #9
    Originally posted by seir:
    I think you need to use action act_EnableDisable with _ENABLE on FireDamager.
    This indeed make it work now. I enabled the FireDamager in map settings with an action in cStartAction acions list. I hope this is the right way to do it Thanks.
    _______________________________________
    www.lukaszbogaj.com | www.twitter.com/wookash_b
    Reply With Quote Reply With Quote

  10. #10
    Yes, this fire damager will be enabled from map start.
    _______________________________________
    Best regards,
    COJModding.com Team
    www.cojmodding.com
    Reply With Quote Reply With Quote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •