OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: ThEoNaNdOnLy on 07 Apr 2004, 13:20:53
-
i cant help it... im a noob!
could someone please tell me what i need to type into the initfield to gat a fire to burn. i know its a dumass question but im new to all this init stuff.
Guy
-
Well... Here's the thing, you gotta get scripts for that(small pieces of premade code to be plain). To use one, when you find one you like, you have to put it in your mission directory, I.e - "Users\YourName\missions\MyMissionName.Eden", and execute it either like
[This] exec "Scriptname.sqs", or This exec "scriptname.sqs"
Here's a little one I made.
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=16531
You can't make a fire with just the init, you can execute the scripts that make the fires with it. Anyway, I assume you just want to get it done nice and easy, for that, use this -
http://www.flashpoint.ru/newsimages/temp/EffectPackV081.rar (http://www.flashpoint.ru/newsimages/temp/EffectPackV081.rar)
For cars - [this] exec "\effectpack\careffect\init.sqs"
For tanks - [this] exec "\effectpack\tankeffect\init.sqs"
For planes - [this] exec "\effectpack\aireffect\init.sqs"
For helicopters - [this] exec "\effectpack\chopterseffect\init.sqs"
-
If you are just talking about a camp fire you put:
this inFlame true
in the init field of the camp fire (in the editor). In the future, search the FAQ for this kind of simple stuff (this one is for sure in there).
-
This link dont work
http://www.flashpoint.ru/newsimages/temp/EffectPackV081.rar
-
Aye, here's a new one -
(copy into your browser)
http://www.fileplanet.com/dl.aspx?/planetrainbowsix/atwar/ofp/addons/misc/effectpackv081.rar
-
is there any way i can do a fire without an addon? just to cut down on addons.
-
If you mean 'How do I place a fire and light it without having one of the editorupdates in the Addons folder'.......try this:
In the players init field:
fyre = "Fire" createvehicle getpos player
You will then have the option in the action menu to.........'Light Fire'.
Or
You could use:
fyre = "Fire" createvehicle getpos player; fyre inflame true
In a trigger or an init field, this will place the fire and light it.
Planck
-
There is a fire allready in-game without any patches or addons or anything. And try using the FAQ, Editors Depot and the (http://www.ofpec.com/yabbse/YaBBImages/search.gif) (http://www.ofpec.com/yabbse/index.php?board=27;action=search). Also post in the correct forum next time.
:beat: *Gets Shot* :beat:
-
I don't think ya'll understand. I want to recreate a forest fire. the fire in the editor is the camp fire so it has rocks and all that crap at the bottom. I want just fire no rocks. This im asking after using the search function. Again let me say, JUST THE FIRE, no rocks. I've seen it before in a mission called capital assault where the fire was coming off this wall and many buildings but i looked through that sucker and couldn't see how they did it at all. It was awesome to see a city on fire in flashpoint for the first time and now i want to make a forest on fire.
-
Download any napalm addon, or the CAT fires, they are all very big with lots of smoke, but too many of them placed on the map can turn into serious lag problems :P
EDIT oops i just saw your first post...dont want addons, eh? Well, good luck! ;D
AnarCHy
-
::)
Anyway.. Put a fire in the editor..
Empty > Objects > Fire
Click okay
Then, in advanced mode, double-click the fire, and in the INIT field :
this inflame true
Read up everything you can in the editors depot, remeber ;)
Good luck
- Ben
-
Here (http://www.ofpec.com/editors/resource_view.php?id=690#comments) is a script that is easy to use and modify. You can place it just about anywhere. Enjoy!
Wadmann
-
Heres an easy way you can make flames on the ground without seeing the rocks and stuff.
Use the getpos and setpos commands and place it -.5 under the ground (you should have the flames and smoke but the logs and stones are underground).
Hope this helped!
LooseK
**EDIT**
This SetPos [GetPos This Select 0, GetPos This Select 1, -.5]
Put that and this Inflame TRUE into the initaliztion feature on the unit.
It should read: this Inflame TRUE; This SetPos [GetPos This Select 0, GetPos This Select 1, -.5]
**EDIT**
-
or, if your feeling really adventurous, research the drop[] command and prepare to be perplexed, then enlightened, then amazed
failing that just grab a fire script from the ed depot
-
Thats not exactly easy ::)
Stick to the pre-made ones ;)
- Ben