Jump to content
Sign in to follow this  
rds100

Change parameters of the objects on my island

Recommended Posts

Hello. I made my island, and I want to change some parameters of objects on it. I know, it need to do in config.cpp, but don't know, how exactly. May be, somebody give some simple common example?

Exactly, I need that.

1. I want to make light inside of the houses (not all, of course, only in some 10-15, in which possible to go inside). There is one model of lamp - CA\structures\Furniture\Lighting\fluor_lamp - fluor_lamp.p3d. It good lamp, but it almost doesn't give real light in the night, it very dim. How to rise its brightness, it possible? I need to add to config.cpp (P\myislandname\config.cpp) new class, approximately like that-

class CfgNonAIVehicles

class lighting

brightness = ...? how much?

And what syntax?

2. How to rise hardness of some object? For example, there is wall, CA\structures\Wall\Wall_CBrk_5.p3d. I want its hardness to be more ,and wall doesn't fall :) from one strike of the car. How to write it in config? It parameter "armour", but, again, what classes it will be, and what syntax?

class CfgNonAIVehicles

class wall

class Wall_CBrk_5

armour=..500?

3. There is object like CA\misc\sidewalks. Those sidewalks have interesting characteristic - units go on them, and stand exactly on that point of terrain, which given, in any place of sidewalk. All another objects they go around, even they have height and configuration, like some platform, or floor. Question, how is it made, and is it possible, to give such properties to another objects, in config of island, or it can made only in Oxygen, i.e., necessary to give new model? (I want make floor from some object).For example, we take in Visitor some table, like P:\CA\structures\Furniture\Tables\lobby_table, make its size 500, and heght a little more than surface, 0.05. It looks like the best floor for room! )) But AI units don't go on it, they go around it.

p.s. One more question. How to set destroying type of the objects - "ruins", also in config.cpp, for some object, for example, for this wall - Wall_CBrk_5?

Edited by rds100

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  

×