sortel
Member-
Content Count
18 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout sortel
-
Rank
Private First Class
-
Anybody have a "medic!" scream soundbite?
sortel posted a topic in OFP : MISSION EDITING & SCRIPTING
Any format would be fine. Â The medic yells in Band of Brothers would do nicely. Is there one in the game? Â I could not locate a list of built-in sounds. Thanks! -
Is there a no formation option?
sortel replied to sortel's topic in OFP : MISSION EDITING & SCRIPTING
Thanks for all of the suggestions! The doWatch seems to work with respect to the spin-to-north problem. Â Unfortunately, its a pain to create markers and get each to watch them. I wish I knew why doStop and commandStop cause them to look north instead of just wherever they are (via the az editor setting). Â I am going to try in 1.46 to see if this is a bug or an intended effect. There should be a formation "None" that keeps the team in communication, etc, but does not cause them to move together or assemble. Â It seems like commandStop should do just that! -
Is there a no formation option?
sortel replied to sortel's topic in OFP : MISSION EDITING & SCRIPTING
Thanks. The spin-to-north thing bothers me the most. Hopefully someone can shed some light on that. I'll try a doWatch after the do stop to see if that helps. -
Server player frozen to other mp players
sortel replied to sortel's topic in OFP : MISSION EDITING & SCRIPTING
FYI Well the above was using the 1.46 engine. It looks like whatever it did not like was fixed in the resistance (1.91) engine, so nevermind. Thanks anyway. -
Can a group of units be put into NO formation? Â I want them to be coordinated with respect to targeting, etc, but stay (initially) where they are placed and not run towards each other (assemble). Â Some are placed 20-30m away for an ambush. I tried Special=None rather than Special=Formation in the editor, but they still assemble. I tried: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x doStop" foreach units group this<span id='postcolor'> in the group leaders init. Â However, this caused the units to stay put, but not attack, charge, etc when enemy units are detected. Â Also, and this is the REALLY BAD PART, they all turn around and face due north (zero degrees) upon initialization!! I even tried: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x doStop; _x setDir 180" foreach units group this<span id='postcolor'> with no luck - they still just spin around and worship the north regardless of their az setting. I find that I am grouping more units together than I would like due to the 63 group limit. Thanks!
-
This one is a little hard to describe, but I'll try. Â It is a mission that I have created. Problem: When the MP mission first starts 4 players are standing next to each other. Â I am acting as the server/player. Â To them, I appear to be frozen. Â However, I can move. Â They cannot get into a chopper, but I see them get in. Â Very weird. Background: I have built this mission as a series of iterations. Â That is, I save what I have with a numerical extension and then add more. Â I can go back two versions and the mission works fine. Question: My main question is: Â Does anyone know what situation can cause this that is mission content specific? Â (i.e. adding units, grouping, etc not MP networking version issues) Â I have used the stock editor for all of it. Â Is this an editor-generated problem? Â For example, can doing a copy/paste of units or something like that cause it? Â I wonder it there is a good mission checker out there? Endless babbling and commentary: This happened once before and I ended up rebuilding the entire mission after methodically removing bits and pieces failed to point out the problem. Â There must be something the editor lets you do that causes the engine to get out of sync an have a cow. Â Ahhhh! I can send the mission to anyone who wants to see for themselves. As always Thanks!
-
Very cool! Â Mine just started working just referencing the tank itself too. Â However, it only finally worked when I did:</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_tank fire ["Gun120","Heat120","Heat120"]<span id='postcolor'> I was missing the third parameter in (muzzle, mode, magazine). Â I guess the mode is just the same for tanks, but all three seem to be needed. Thanks a million!
-
I'll check into that. The tank is a T72 and I think that it has both, but I will research. Also, I am testing this under v1.46 Thanks.
-
Here is the exact code modified from above:</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">; shoot.sqs _tank = _this select 0 _target = _this select 1 _gunner = gunner _tank _gunner commandWatch _target @_gunner knowsAbout _target == 4 hint "got track" ~1 _gunner commandMove getPos _gunner hint "moved - not sure why I need this" ~1 _gunner commandTarget _target hint "targeted" ~1 _gunner fire ["Gun120", "Heat120"] hint "should have fired"<span id='postcolor'> Executed as: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[eastTank, myTarget] exec "shoot.sqs"<span id='postcolor'> All message appear, but it will not shoot a chair, fence, armored target, or any other non-west thing. Â I also tried "Shell120"s. Thanks all
-
Close but no cigar: Â Just as with my original code, the tank will target, swing around, and shoot a "West" jeep or any other "West" thing. Â But, it will not target an object that it does not consider "West". Are there any standard objects in the game that are considered "West" or can you set the side of an object after the fact? Â Create a custom object? Thanks all!
-
Actually, I did read the previous thread about this. Â However, it referenced "West" objects like wrist watches and concrete blocks all of which I can't find. Â So, in the spirit of not "digging up old threads", I decided to start another. Thanks for the tips all! Â I'll give it a try. BTW: Nobody has commented on the custom or "West" objects yet? Â What was all of that about? Are there any?
-
I have seen several posts regarding getting tanks to shoot objects. Â However, they all seem to reference things like cement blocks and other stuff that I can't seem to find. Does anyone know how to get an East tank (say T72) to shoot a building, sandbag or any other object? Â Why you say? Â For the scare factor! </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">T72 doWatch someObj; T72 doFire someObj<span id='postcolor'> Â It just spins around to watch the target, but just wont fire I also saw some folks talking about wrist watches and other West objects. Â I can't find any in the editor. Â Can a side be assigned to an object like a sandbag? Or are these custom objects? Â If so, can they be created without a game mod? As always, thanks!
-
Why do choppers spin at waypoints
sortel replied to sortel's topic in OFP : MISSION EDITING & SCRIPTING
I thought that the WP placement radius, as for units, provided some randomization of where WP are placed, not the actual size of the WP. Also, I did find that the terrain has A LOT to do with how accurately (or not ) the choppers fly. Â For example, they tent to drift off-course down hills if to the left or right of the WP course, pick up speed going down hill and most likely overshoot WPs, and go much more slowly up hill. Â I found that where the WPs were placed with respect to the terrain made all the difference. Â However, it is a pain and involves a huge amount of trial and error. Â Plus you don't always get to use the route you wanted. Still an awesome game! Â -
Why do choppers spin at waypoints
sortel replied to sortel's topic in OFP : MISSION EDITING & SCRIPTING
Thanks for all of the replies. Â It sounds like a known issue with the AI. Â It would be nice to be able to set the WP size rather than just it's random placement radius. Â This would help with chopper flight error that seems to occur due to terrain and wind. As speculated, I am ferrying troops and would like to avoid enemy positions and mountains. BIS: A waypoint type of "Intermediate" would be nice. Â Just go there and expect to keep going. Â Of course, this could have some pretty funny side-effects if there is no next WP (i.e. once there, it just keeps going in original direction and speed - like in space) Â I'll keep working on it. -
I know that choppers have been covered in a lot of detail, but I have not seen a specific answer to the following: For example: A chopper initialized with </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">setCombatMode "Blue"; setBehaviour "Careless"<span id='postcolor'> 1) Why does the chopper stop and do a 180/360 spin at some waypoints? Â Can this be fixed? 2) Why does the chopper (and other vehicals) have to stop/start at each waypoint? Â Can this be changed? I find myself using as few WP as possible since they seem to slow things down so much. Thanks!