Hi,
I found the granatwerfer-mortar right here; addon_static_props_granatwerfer-mortar
But ingame it's just a non-solid granatwerfer-mortar model.
How can it be made functional?
I read on a post in The Modding Theater it has to be done this way:
But actually I don't have enough knowledge to do it so. :sYou have to put a mortar in the map first (rightclick 2d vieuw: select addon>static>props>granatwerfer-mortar),
with the $targetname "alliedmortar".
Don't put in a "models/statweapons/p_granatwerfer_d.tik" - the "_d" indicates it's the model used when it's destroyed.
I believe it's "models/statweapons/p_granatwerfer_base.tik" that you should be putting in your map.
the script to set the mortar up:
$alliedmortar.collisionent = $granatwerfer_collision
$alliedmortar_turret0.collisionent = $granatwerfer_turret_collision
$alliedmortar thread global/stationaryweapons.scr::MountedStationaryWeaponWithCollision "models/statweapons/p_granatwerfer_base.tik" $granatwerfer_destroyed_collision
$alliedmortar_turret0 maxyawoffset "40"
I mean, I think the layout of the scriptfile will not be ok if I try making the script myself.
1)How would the mapname.scr be like if I would just want to have a script for the mortar in it, presuming my map is called "allweaponsroom"?
Can somebody make one for me?
I don't even know how to save a notepad-txt file as an *.scr file
Help me out a bit here
I know there're some kickass scripters here
Thanks


