project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Community Maps
23 Feb 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Community Maps Maps created by PR community members.

Reply
 
Thread Tools Display Modes
Old 2020-02-03, 17:43   #11
PRbear
Default Re: Looking for parameters from BF2Editor in Map-files

This is now solved!
Code:
rem ********** Object Spawner **********
rem [ObjectSpawnerTemplate: CPNAME_destroyed_carrier_SpeedBoat_01]
ObjectTemplate.create ObjectSpawner CPNAME_destroyed_carrier_SpeedBoat_01
ObjectTemplate.activeSafe ObjectSpawner CPNAME_destroyed_carrier_SpeedBoat_01
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 BOAT_RIB
ObjectTemplate.setObjectTemplate 2 BOAT_RIB

rem [ObjectSpawnerTemplate: destroyed_carrier_bhb]
ObjectTemplate.create ObjectSpawner destroyed_carrier_bhb
ObjectTemplate.activeSafe ObjectSpawner destroyed_carrier_bhb
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 boat_rib
ObjectTemplate.setObjectTemplate 2 boat_rib
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.radius 60
ObjectTemplate.teamOnVehicle 1
The answer to this weirdness is that the added parameters from editor is not written and saved in folder gameModes/.. -and the gameplayObjects.con of any gameMode, it is only written to the gameplayObjects.con that is in folder Editor!
(That is not the case, when a new map is made, then BF2Editor writes all updates to the gameModes folders)

So to do the updating of each of the levels gameModes, this file must be manually copied into each of the gamemodes, that is relevant.
I think this weirdness must be caused by some setting in MY BF2Editor(?) There must be an option for updating all gameModes, if not -thats just moronic
An alternative explanation could be that the edited level has some setting, that prevents gameModes updating(?)
But there is one more HUGE issue!
Windows10, and its very restricted understanding of the term Administrator.
If the folders in BF is not specific selected and given special permissions in
properties| security| <all>
then attempts to write from BF2Editor in the program-files-area, to a con-file, will be silently rejected!
This is particularly an issue in navmeshing, because Batch-writing is blocked!
PRbear is offline Reply With Quote
Old 2020-02-03, 19:54   #12
[R-CON]​Fastjack
PR:BF2 Contributor

Fastjack's Avatar
Default Re: Looking for parameters from BF2Editor in Map-files

You have to set the layers. And than select in Editor in which layers you work.
Fastjack is online now Reply With Quote
Old 2020-02-04, 17:58   #13
PRbear
Thumbs up Re: Looking for parameters from BF2Editor in Map-files

Quote:
Originally Posted by Fastjack View Post
You have to set the layers. And than select in Editor in which layers you work.
Ahh so a level can have the focus on a different layer 'saved', and the editing the level, will not save changes to layer-1, but to the 'focused' layer
Quite odd -Especially because other BF2Editor-settings are not savable ( eg like AI | Draw AI| Draw infantry)
There are some really strange design 'ideas' in this Editor-software.
Maybe because there are so many mushrooms in the Swedish forests ...
PRbear is offline Reply With Quote
Reply


Tags
bf2editor, gameplayobjects.con, tweak
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 14:44.