View Full Version : [MoW] SdKfz 251/16 Flame Thrower
Matze:O:G:H
13-06-2009, 00:52
http://img198.imageshack.us/img198/5449/sdkfz25116s.th.jpg (http://img198.imageshack.us/i/sdkfz25116s.jpg/)
I got it. It was so easy!
Here is the working sdkfz 251/16 Mittlere Flammpanzerwagen
http://rapidshare.com/files/244083489/sdkfz25116.rar
you just have to add the following code into "tank.inc"
{"SdKfz251_16 tank"
{on spawn
{add_view "flamer_fire" "flame1" "foresight9"}
{add_view "flamer_fire" "flame2" "foresight10"}
{add_view "flamer_fire_barrel" "fire1" "foresight9"}
{add_view "flamer_fire_barrel" "fire2" "foresight10"}
{view show "fire1"}
{view show "fire2"}
{view start "fire1"}
{view start "fire2"}
}
{on break_armor
{if name "pierce"
{if rand 0.3
{if volume "body"
{call "explosion"}
}
}
else name "blast"
{if volume "body"
{call "explosion"}
}
}
}
{on "_explosion"
{spawn "fuel_die"}
{blastwave c4 5 r0 4 r1 15}
{fire radius 8 time 15 heating 10}
}
{on fire "flamer1"
{view start "flame1"}
{kill_delay "fire1"}
{delay 0.5 "fire1"
{view pause "flame1"}
}
}
{on fire "flamer2"
{view start "flame2"}
{kill_delay "fire2"}
{delay 0.5 "fire2"
{view pause "flame2"}
}
}
}
I tried to code a SdKfz 251/16 Flame Thrower but it didn't worke...
I used the sdkfz251 with 4 mguns and replaced two of them with flmae thrower ..... didnt work
tried it with the flame_thrower_ssd from the japan mod with no success
can somebody help me plz
a tutorial will be great
thx Matze:O:G:H
Matze:O:G:H
13-06-2009, 14:30
I got it. It was so easy!
Here is the working sdkfz 251/16 Mittlere Flammpanzerwagen
http://rapidshare.com/files/244083489/sdkfz25116.rar
you just have to add the following code into "tank.inc"
{"SdKfz251_16 tank"
{on spawn
{add_view "flamer_fire" "flame1" "foresight9"}
{add_view "flamer_fire" "flame2" "foresight10"}
{add_view "flamer_fire_barrel" "fire1" "foresight9"}
{add_view "flamer_fire_barrel" "fire2" "foresight10"}
{view show "fire1"}
{view show "fire2"}
{view start "fire1"}
{view start "fire2"}
}
{on break_armor
{if name "pierce"
{if rand 0.3
{if volume "body"
{call "explosion"}
}
}
else name "blast"
{if volume "body"
{call "explosion"}
}
}
}
{on "_explosion"
{spawn "fuel_die"}
{blastwave c4 5 r0 4 r1 15}
{fire radius 8 time 15 heating 10}
}
{on fire "flamer1"
{view start "flame1"}
{kill_delay "fire1"}
{delay 0.5 "fire1"
{view pause "flame1"}
}
}
{on fire "flamer2"
{view start "flame2"}
{kill_delay "fire2"}
{delay 0.5 "fire2"
{view pause "flame2"}
}
}
}
Moved in the Mod Release section.
Are this mod open source? I.e. could mod makers use your work in their mods? Please be clear about this point and maybe add a disclaimer too. Thank you.
Matze:O:G:H
13-06-2009, 17:49
yes free for all mods.
It isn't my model(MoW), i just changed some parts of the sdkfz251.mdl
yes free for all mods.
It isn't my model(MoW), i just changed some parts of the sdkfz251.mdl
yes but you make it work, so it is your...
i am interesthing on it for my mod, if you can make an unversal, and t20 kosmolets flamer it would be great :realbig:
Ludovsky
14-06-2009, 04:37
Out of curiosity, how do you install the mod?
I tried to download the folder and put it in my mods folder as usual, but it doesn't get detected once I fire up MoW and try to activate the mod.
nice, i had quit trying with my KV-8 with the frustration but now ill do all the flametanks i had half done lol... xD
Zeke Wolff
14-06-2009, 07:18
If I am not mistaken, the code is simply the one that is added to the japanese ss-d flame tank. I used the same code when I made my Sherman M4 Flame Tank. You can basically add one or more flame throwers to any vehicle by using that basic code. So I guess the code is actually a part of the game and not copyrighted to some modder.
~Zeke.
If I am not mistaken, the code is simply the one that is added to the japanese ss-d flame tank. I used the same code when I made my Sherman M4 Flame Tank. You can basically add one or more flame throwers to any vehicle by using that basic code. So I guess the code is actually a part of the game and not copyrighted to some modder.
~Zeke.
I'm referring to the vehicle files, not to the code.
One may create a SdKfz 251/16 Flame Thrower by himself or use the Matze:O:G:H one.
SS-Kommando
14-06-2009, 13:02
If I am not mistaken, the code is simply the one that is added to the japanese ss-d flame tank. I used the same code when I made my Sherman M4 Flame Tank. You can basically add one or more flame throwers to any vehicle by using that basic code. So I guess the code is actually a part of the game and not copyrighted to some modder.
~Zeke.
I would also say that you can't always copyright code, since there is sometimes just one way to do it. Having said that, blatantly copying an entire mod's code and calling it your own shouldn't be alright, though (which happened to Orrie before.)
However, I will still credit Matze if I'm using vehicles with flamethrowers in my mod and if I have learnt of the process through his work.
/SS-Kommando
I agree with SS Kommando, even tho this uses official codes, Matze should be credited for "porting" the code to make the SdKfz work with 2x Flamethrowers.
Same as Zeke with his Sherman. :)
Why is it that when I go to the editor to test the flametanks, there's no flame FX coming out that I can see, I only hear the flame sound.
Or does the flames only work on the game, not the editor?
And BTW, the infantry flamers work, i can see the flame and hear the sound too, just tanks wont work.
Zeke Wolff
17-06-2009, 01:06
It should be working in both the game and editor, if your game is patched to 1.11.3. My Sherman M4 Flame works perfectly with my patched game, but it doesnt work on ngvede´s unpatched game (he is still waiting for the metaboli patch to be released).
~Zeke.
You need to add the code to tank_sp.inc too
GEM Editor uses Singleplayer codes, not Multiplayer. (If there are 2 separate, those who know coding should understand what I mean, hard to explain. :? )
EDIT:
http://www.menofwargame.com/updates/Men ... 1.11.3.exe (http://www.menofwargame.com/updates/MenOfWar_Patch1.11.3.exe)
According to Menofwargame.com this is for Metaboli.
Source: http://www.menofwargame.com/updates.phtml
Thanks, I had only put the code in the other tank.inc but not in the sp one.
You can edit the entity.set to only use tank.inc, so you don't have to edit them both. :)
Matt6767
24-06-2009, 07:00
I am looking all over for tank.inc and tank_sp.inc, can anyone show me where to go?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.