Jump to content
Sign in to follow this  
RazorX

Rock on road. How to delete?

Recommended Posts

I've noticed that there is a rock lying on one of the roads in Chernogorsk. Is there a way to delete it by scripting (at least before a patch will correct it)? The AI always smashes into it. Tried setDamage and hideObject but nothing works.

arma22010081810412325.jpg

arma22010081810421209.jpg

Edited by RazorX

Share this post


Link to post
Share on other sites

Doubt there is mate, go a different route if I was you!

---------- Post added at 10:33 AM ---------- Previous post was at 10:22 AM ----------

Just read about the Icarus project so my answer doesnt really help... :p

Share this post


Link to post
Share on other sites

place a gamelogic called stupidrock near the rock.

Paste the following in the init.sqf:

rock = position stupidrock nearestObject 974968;

rock hideobject true;

Share this post


Link to post
Share on other sites

hideObject does not work. Works perfectly with buildings, lamp posts etc or other units but rocks seem to be untouchable

ArmA2 1.07

@ACE (full)

@JTD (fire and smoke)

but tested with no mods too - same thing

Edited by RazorX

Share this post


Link to post
Share on other sites

weird, ive had it working before while deleting all the ruins and clutter in Kumyrna and replacing them with intact buildings. Are you on the latest Arma 2 beta?

Share this post


Link to post
Share on other sites

Impressive project you are working on, I hope it turns out well.

Afraid that I cant help you with the rock.

Share this post


Link to post
Share on other sites
weird, ive had it working before while deleting all the ruins and clutter in Kumyrna and replacing them with intact buildings. Are you on the latest Arma 2 beta?

Ruins belong to "Building" class. I couldn't find any "rock" class anywhere. Maybe that's the point.

I used

rocks = nearestObjects [getmarkerpos "mark2", [], 4];
{hideObject _x} forEach rocks;

Because rocks don't have classes, I thought this would work, still no good

I also noticed that when @ACE is running, hideObject used on building will hide the model (can walk through the building like there was nothing there) but the texture still exists in the game.

Edited by RazorX

Share this post


Link to post
Share on other sites

this is nuts dude, I just noticed that rock a few days ago when i returned to the chernarus map.... I can't help you in deleting it, but I did find it funny that this thread just popped up.

Share this post


Link to post
Share on other sites

Using a gamelogic these dont work either:

hideObject (getPos this nearestObject 974968)

deletecollection (getPos this nearestObject 974968)

Share this post


Link to post
Share on other sites

None of these commands work with fixed objects placed on the map.

Report it at the CIT and hope for the best.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×