Jump to content

Server time (UTC): 2023-06-03 10:32

Questions about prefabs


Truemonkh

Recommended Posts

  • Sapphire

So when I created a new group I already took into consideration to have a prefab later down the line. So I got the Community offline mode to work and tried some stuff out. Initially I wanted to try out something by finding a completely empty section of the map and start adding some stuff that would fit the lore of the map and my group. But quickly I realised that maybe a prefab would work much better if I used an already existing location (for example the industrial area north of Topolin) and then add/remove some stuff from it to make it fit my vision better.

So the question I have is:
Is it allowed to remove trash and miscellaneous items and even buildings to replace them with other things or leave them out completely to give the prefab a cleaner look? Many POI's have lots of trash laying around and I feel that if a group like mine would move into such a location they'd make an effort to clean it up first before establishing a lab and factory to produce the gas that was used in France and Germany to kill the infected. 

Inked20200501035203_1_LI.jpg.e8015122085ab1539ac902e92e5c2338.jpg

Multiple things removed where the red circles are.

So yeah, is that allowed and if not, should it be / is it even possible?

Link to comment
3 hours ago, Truemonkh said:

-Snip-

Yes, theoritcally you could remove things from the original mission file however that is tedious work, and requires specific coordinates. For easiness's sake, you cannot remove things, only add.

I would suggest asking this to the man himself! -snip- Maybe he may be able to add greater insight as to why things cannot be removed, or maybe even give special exceptions for him to remove things himself from the mission file!

Link to comment
  • Sapphire
49 minutes ago, Dinkle said:

I would suggest asking this to the man himself! -snip- Maybe he may be able to add greater insight as to why things cannot be removed, or maybe even give special exceptions for him to remove things himself from the mission file!

I shall call upon the big man himself for his infinite wisdom and knowledge!

*proceeds to chant in Latin*

Link to comment
  • Legend

Even if you delete things in the editor they will still remain in the actual base game. So no. I think they even reappear when you reopen the editor.

Link to comment
  • MVP

You cannot delete anything that's already in the world as DayZ / Arma runs on a mission file. You'd have to put on an entirely new mission file to keep the changes when you remove already added in. Whereas new stuff is a line which looks like this:

Quote

SpawnObject( "bldr_Dead_pile1", "13585.500000 53.226002 12124.500000", "-103.000000 0.000000 0.000000" );

That you put into a certain file to get the server to spawn it.

So no, you cannot remove anything from the map.

Link to comment
  • Sapphire
34 minutes ago, Duke said:

You cannot delete anything that's already in the world as DayZ / Arma runs on a mission file. You'd have to put on an entirely new mission file to keep the changes when you remove already added in. Whereas new stuff is a line which looks like this:

That you put into a certain file to get the server to spawn it.

So no, you cannot remove anything from the map.

Okay, thanks very much for the info.

How about painting the floor with a different texture if for example I wish to make a driveway, is that possible? 

Link to comment
  • MVP
3 minutes ago, Truemonkh said:

-snip-

Only if it's an object that's already in either Builderitems of Vanilla DayZ that you smack atop of it.

Link to comment
  • El Presidente

No, you can't remove existing map objects, only add new ones.

Link to comment

I remember that in arma 2/3 there was way to remove map objects, tho not sure if it works on dayz SA (probably does).

If you knew the coordinates of the object (by manualy typing in script, or placing an empty object on top of it), you could then search for any map objects next to it that you want to remove, and then remove it.

Edited by Jukki
Link to comment
  • Sapphire
13 hours ago, Truemonkh said:

Okay, thanks very much for the info.

How about painting the floor with a different texture if for example I wish to make a driveway, is that possible? 

You would need to go into the pbo of the item you want to texture, extract the .paa, save it as a png, texture, save and repack it as a .paa, code the item to call for that texture Instead of the default in the mission file or make a mod that would allow for this. It's not that easy and it's pretty confusing for the first few times. 

Edit: also it won't work on this server unless you give the assets and code you made to Rolle and then it belongs to him and DayZRP. 

Edit again: @Roland, you can but you have to do it with Terrain Builder/Bulldozer and it must be implemented as a custom map. It's hard to learn but it's second nature once you do. 

Edited by Taryn
Link to comment
  • Sapphire
4 hours ago, Taryn said:

You would need to go into the pbo of the item you want to texture, extract the .paa, save it as a png, texture, save and repack it as a .paa, code the item to call for that texture Instead of the default in the mission file or make a mod that would allow for this. It's not that easy and it's pretty confusing for the first few times. 

Edit: also it won't work on this server unless you give the assets and code you made to Rolle and then it belongs to him and DayZRP. 

Edit again: @Roland, you can but you have to do it with Terrain Builder/Bulldozer and it must be implemented as a custom map. It's hard to learn but it's second nature once you do. 

Oh wow, that is quite complicated. It looks like I might just stick to the basic building until there is an easier way to implement something like this, but I appreciate the answer, you really seem to know your stuff!

Link to comment

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.
×
×
  • Create New...