jmayr2000

Damaged looking Buildings at startup

19 posts in this topic

How can I force the buildings to look damaged without having to make a completely new map texture. As I know that the buildings on the maps are damageable?

 

Thanks,

Punisher

Share this post


Link to post
Share on other sites
Advertisement
2 hours ago, Crazy Mike said:

you could start here

 

Hell yeah thanks man.

Share this post


Link to post
Share on other sites

I do this by placing a marker and using the Destroy City command on the marker.

1 person likes this

Share this post


Link to post
Share on other sites
13 hours ago, Redbeard_Actual said:

I do this by placing a marker and using the Destroy City command on the marker.

could you elaborate on that command, I have the script working my I might see the benefits of your way since the signs and plank walkways cannot be deleted unless the building is destroyed.

Share this post


Link to post
Share on other sites
23 minutes ago, kuplion said:

 

14 hours ago, Redbeard_Actual said:

I do this by placing a marker and using the Destroy City command on the marker.

guys when it comes to coding consider me a noob, I can take code and edit it pretty good, but from scratch not so much. copy and paste me a example or other then whats in the wiki and I can go from there.

Share this post


Link to post
Share on other sites
2 minutes ago, jmayr2000 said:

 

guys when it comes to coding consider me a noob, I can take code and edit it pretty good, but from scratch not so much. copy and paste me a example or other then whats in the wiki and I can go from there.

Sorry, I've not done this, I was just showing you the function that can achieve it.

Share this post


Link to post
Share on other sites

Sorry mate, your replies came during my sleep/work cycle. I was so AFK!

I'm literally typing on one screen and looking for the file on another,  Okay, found it and wrote a little code for ya!

And it goes a little like this:

// MARKERS FOR CITY CENTERS.
// MAKE ONE OF THESE FOR EACH CITY OR TOWN IN WHICH YOU WANT TO CAUSE SOME DESTRUCTION.
_RAGE_KavalaCover = createMarker ["KavalaCover", [3085.98,13172.69,0]];
_RAGE_KavalaCover setMarkerType "Empty";

// IT'S KAVALA. I'M GONNA BREAK IT A LOT. BUT YOU SHOULD GET THE IDEA!
["KavalaCover", 800, 1142, []] call bis_fnc_destroyCity;
["KavalaCover", 700, 1222, []] call bis_fnc_destroyCity;
["KavalaCover", 600, 2222, []] call bis_fnc_destroyCity;
["KavalaCover", 500, 3222, []] call bis_fnc_destroyCity;
["KavalaCover", 400, 4222, []] call bis_fnc_destroyCity;

 

I think this code will work within your initserver.sqf. I do not have it in my initserver.sqf though, since I achieve installation of my server code through a self starting PBO in the @ExileServer/addons folder. As a self professed Noob, I doubt you will be implementing it in the same way.

But here are some screen shots of Kavala with it's glutes busted anyway!

20160908131820_1.jpg

20160906122345_1.jpg

20160906122517_1.jpg

20160906122612_1.jpg

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.