[Map] Assault on Grozny (2km) [Released]
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Can I place more than one cache in the same building? I mean will python(?) know the distance between caches so there won't be 2 unknown caches in the same building?
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Thanks Crocop ![Smile :)](./images/smilies/icon_e_smile.gif)
I'm trying to fix sample files for some objects but I don't know if I'm doing it right..When I zoom in and out the shadow instantly changes:/ ( I made the samples for the building to the right, as I'm sure you see) Someone please help me![Sad :(](./images/smilies/icon_e_sad.gif)
![Image](http://i.imgur.com/sYCOxY8.jpg)
![Image](http://i.imgur.com/gVmnFn7.jpg)
![Image](http://i.imgur.com/sF3inqs.jpg)
I used these settings on all four LODs:
![Image](http://i.imgur.com/piB4Xgg.jpg)
and these are the files I got:
![Image](http://i.imgur.com/Yr8LACQ.jpg)
Could it perhaps be a problem with the model itself?
Also another question. If I generate objects lightmaps and then change some objects (move them a bit and stuff) will the entire thing need to be redone? I mean I know the shadows will turn out wrong but will no shadows show up at all on the map because I moved two objects?
![Smile :)](./images/smilies/icon_e_smile.gif)
I'm trying to fix sample files for some objects but I don't know if I'm doing it right..When I zoom in and out the shadow instantly changes:/ ( I made the samples for the building to the right, as I'm sure you see) Someone please help me
![Sad :(](./images/smilies/icon_e_sad.gif)
![Image](http://i.imgur.com/sYCOxY8.jpg)
![Image](http://i.imgur.com/gVmnFn7.jpg)
![Image](http://i.imgur.com/sF3inqs.jpg)
I used these settings on all four LODs:
![Image](http://i.imgur.com/piB4Xgg.jpg)
and these are the files I got:
![Image](http://i.imgur.com/Yr8LACQ.jpg)
Could it perhaps be a problem with the model itself?
Also another question. If I generate objects lightmaps and then change some objects (move them a bit and stuff) will the entire thing need to be redone? I mean I know the shadows will turn out wrong but will no shadows show up at all on the map because I moved two objects?
Last edited by Ason on 2014-05-22 20:18, edited 6 times in total.
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Map] Assault on Grozny (2km) [WIP]
the lightmap file would need to be renamed to take the new location into accountAlso another question. If I generate objects lightmaps and then change some objects (move them a bit and stuff) will the entire thing need to be redone? I mean I know the shadows will turn out wrong but will no shadows show up at all on the map because I moved two objects?
Often it's easier to just redo the LM
be warned, old lightmaps are not deleted by the editor and you need to remove them with this tool
http://www.bytehazard.com/bfstuff/bf2lmdel.zip, or they'll be included in the atlas but not used
re hotel Jala, isn't there already samples for it? Sometimes BF2 meshviewer cannot quiet get a static right (e.g. most of the xpack ones)
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
I see. Could you just tell me a little bit of how to use that tool?'[R-DEV wrote:Rudd;2007421']the lightmap file would need to be renamed to take the new location into account
Often it's easier to just redo the LM
be warned, old lightmaps are not deleted by the editor and you need to remove them with this tool
http://www.bytehazard.com/bfstuff/bf2lmdel.zip, or they'll be included in the atlas but not used
That's only for cases like this where only single objects were re-generated right? If I want to re-generate everything from scratch I just have to delete the lightmaps folder?
I looked in the folder where the static and collision -mesh was but there was no samples, could they be somewhere else? I think there was only for the non-destroyed version because after the editor was done generating that building had no shadows :/[R-DEV]Rudd wrote: re hotel Jala, isn't there already samples for it? Sometimes BF2 meshviewer cannot quiet get a static right (e.g. most of the xpack ones)
Thanks
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Map] Assault on Grozny (2km) [WIP]
iirc, pop the .exe into your lightmaps/objects folder then run the editor, click compile, lightmaps, check lightmap folder, it'll have alot of red text saying some bollocks about the files saying that they are open or deleted or somethingI see. Could you just tell me a little bit of how to use that tool?
run the .exe from the lightmap deleter and copy and past that red text into it, the .exe will move all those folders to a lightmaps/objects/deleted folder BUT then you have to move that folder somewhere safe because the editor will still try to use them afaik!
yeaThat's only for cases like this where only single objects were re-generated right? If I want to re-generate everything from scratch I just have to delete the lightmaps folder?
-
- PR:BF2 Developer
- Posts: 2887
- Joined: 2012-05-18 03:37
Re: [Map] Assault on Grozny (2km) [WIP]
Looks awesome! Keep it up
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Does someone know if these are the correct settings for making lightmap samples? And should I generate samples for all LOD levels?
![Image](http://i.imgur.com/piB4Xgg.jpg)
![Image](http://i.imgur.com/piB4Xgg.jpg)
Last edited by Ason on 2014-05-24 14:31, edited 2 times in total.
-
- Posts: 1438
- Joined: 2010-03-03 13:25
Re: [Map] Assault on Grozny (2km) [WIP]
They look all right, but the static needs proper lightmap UVs or the bfmeshview cant do much. Also the size values depend on how big and complex the static is and if it does have square or rectangular LM texture sheet.
For a big static like this i would probably go for 512x512 for start, but it depends on the UVs also.
For a big static like this i would probably go for 512x512 for start, but it depends on the UVs also.
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
okok thanks lucky.lucky.BOY wrote:They look all right, but the static needs proper lightmap UVs or the bfmeshview cant do much. Also the size values depend on how big and complex the static is and if it does have square or rectangular LM texture sheet.
For a big static like this i would probably go for 512x512 for start, but it depends on the UVs also.
Another question, some of the caches explode right after I spawn. Do I need to place them slightly above ground/floors or something?
Last edited by Ason on 2014-05-24 19:14, edited 2 times in total.
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Map] Assault on Grozny (2km) [WIP]
could you post the settings you have for them? They shouldn't explode from being placed inside other objects or something.Another question, some of the caches explode right after I spawn. Do I need to place them slightly above ground/floors or something?
This is how they are on Black Gold
rem [ObjectSpawnerTemplate: cpname_black_gold_insurgency64_insurgentmain_36]
ObjectTemplate.create ObjectSpawner cpname_black_gold_insurgency64_insurgentmain_36
ObjectTemplate.activeSafe ObjectSpawner cpname_black_gold_insurgency64_insurgentmain_36
ObjectTemplate.modifiedByUser "Vaughn"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 ammocache
ObjectTemplate.minSpawnDelay 99999
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.team 1
ObjectTemplate.teamOnVehicle 1
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Militia is team 2. Do I need to remove every line that ends with 0, manually in the textfile?
rem [ObjectSpawnerTemplate: cpname_grozny_first_insurgency64_chechenhideout_ammocache_10]
ObjectTemplate.create ObjectSpawner cpname_grozny_first_insurgency64_chechenhideout_ammocache_10
ObjectTemplate.activeSafe ObjectSpawner cpname_grozny_first_insurgency64_chechenhideout_ammocache_10
ObjectTemplate.modifiedByUser "Robin"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 2 ammocache
ObjectTemplate.minSpawnDelay 99999
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.TimeToLive 0
ObjectTemplate.Distance 0
ObjectTemplate.team 2
ObjectTemplate.teamOnVehicle 1
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Map] Assault on Grozny (2km) [WIP]
yeah
so yea, I would just use notepad or whatever software to
find
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.TimeToLive 0
ObjectTemplate.Distance 0
ObjectTemplate.team 2
replace all
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.team 2
that'll definitely self destruct the ammocache, this setting blows up abandoned vehicles, so that they can respawn back at main, in PR we use this just to ensure boats return to the carrierObjectTemplate.TimeToLive 0
this is the distance a vehicle has to move before the server thinks it needs to respawn a new one (dependent on timer and number of spawned objects)ObjectTemplate.Distance 0
so yea, I would just use notepad or whatever software to
find
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.TimeToLive 0
ObjectTemplate.Distance 0
ObjectTemplate.team 2
replace all
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.team 2
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Ah, I didn't think of that, thanks[R-DEV]Rudd wrote: so yea, I would just use notepad or whatever software to
find
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.TimeToLive 0
ObjectTemplate.Distance 0
ObjectTemplate.team 2
replace all
ObjectTemplate.maxSpawnDelay 99999
ObjectTemplate.team 2
![Smile :)](./images/smilies/icon_e_smile.gif)
I'm trying to test the map on local network with 2 computers but It doesn't show up in the server list for the joining computer. I tried other maps and they work fine, so I'm thinking I forgot some line in the init or something..
I handpacked the map once before and then it worked fine. I compared the backup of the handpacked one with the current one but I can't see any errors.
This time I used level renamer to pack it but everything looks alright..
Does someone know what I forgot?
Last edited by Ason on 2014-05-25 20:14, edited 1 time in total.
-
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: [Map] Assault on Grozny (2km) [WIP]
if it's not coming up in the server list then its probably something to do with how your computers are connected or something, if there was something wrong with the map it should crash rather than not appear afaik
-
- Retired PR Developer
- Posts: 433
- Joined: 2009-07-22 00:41
Re: [Map] Assault on Grozny (2km) [WIP]
Only gpm_cq and gpm_coop will show in the local server browser (Hardcoded). Your best bet is probably just join by IP.
![Image](http://i.imgur.com/pn7FNHW.png)
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
Tried that aswell[R-DEV]piepieonline wrote:Only gpm_cq and gpm_coop will show in the local server browser (Hardcoded). Your best bet is probably just join by IP.
![Sad :(](./images/smilies/icon_e_sad.gif)
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
I get this when I try unpacked version, crashes around 46%. I think it just started happening after the latest patch.. Someone know fix?
![Image](http://i.imgur.com/aS3Xjv4.jpg)
![Image](http://i.imgur.com/aS3Xjv4.jpg)
-
- Retired PR Developer
- Posts: 5144
- Joined: 2008-11-27 22:13
Re: [Map] Assault on Grozny (2km) [WIP]
yeah remove the 30x30 waterplane until the next patch, issue should be fixed then
![Image](https://dl.dropbox.com/u/10414675/New%20Era%20Warfare%20Signaturen/amokandy-signature-pr.png)
- Ason
- PR:BF2 Developer
- Posts: 1749
- Joined: 2012-10-22 10:29
Re: [Map] Assault on Grozny (2km) [WIP]
okok thanks ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)