Modding Question?

For English-speaking players
tonawandares
Сообщения: 3
Зарегистрирован: Пт окт 04, 2019 01:37

Modding Question?

Сообщение tonawandares » Вс окт 20, 2019 00:00

If anyone can assist, I appreciate you.

I am modding dc_weapons_bunkers ctf
I want the battle to be within Red Main
I have moved both capturable flags where I want them.

How do I move the white spawn point from Blue Main to the Red Main.
I only mod with WinRfa. I do not use Battlecraft or ED42
This is a Server-Side Mod

thank you,

tona

Аватара пользователя
Baban Assassin
Сообщения: 50
Зарегистрирован: Вт фев 14, 2017 12:24
Откуда: Tomorowland

Re: Modding Question?

Сообщение Baban Assassin » Ср июн 03, 2020 17:58

Can any one help my friend?
i know there is a good modders here on forum and he's having problem with this almost a year
any help is appreciated

Аватара пользователя
zebra_hun
Сообщения: 11
Зарегистрирован: Вт янв 07, 2020 13:15
Откуда: Hungary
Контактная информация:

Re: Modding Question?

Сообщение zebra_hun » Ср июн 03, 2020 18:07

you must use battlecraft software. you will read the soldier spawn point from there. I'll help later. win rfa is good but the coordinate points to see must be bc.
greetings to Mr. Tona;)

Аватара пользователя
zebra_hun
Сообщения: 11
Зарегистрирован: Вт янв 07, 2020 13:15
Откуда: Hungary
Контактная информация:

Re: Modding Question?

Сообщение zebra_hun » Ср июн 17, 2020 17:55

Hi, tested and works good. Give it to him. Bitte ;)

Код: Выделить всё

rem SoldierSpawns.con created by Battlecraft 1942. Blue soldier spawns moved to red zone.
rem (C:\Program Files (x86)\EA GAMES\Battlefield 1942\Mods\DC_Final\bf1942\levels\DC_Weapon_Bunkers/ctf/SoldierSpawns.con)

rem -----------------------------------------
rem ---  CoallitionBase_Spawn1  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn1
Object.absolutePosition 425.50/74.89/703.20
Object.rotation 47.50/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn2  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn2
Object.absolutePosition 399.52/74.88/777.33
Object.rotation 0.00/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn3  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn3
Object.absolutePosition 542.58/74.81/698.03
Object.rotation -47.00/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn4  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn4
Object.absolutePosition 421.76/75.24/767.09
Object.rotation 210.40/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn5  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn5
Object.absolutePosition 551.70/74.49/854.92
Object.rotation -178.90/0.00/0.00

rem EndOfFile


Изображение

Аватара пользователя
Baban Assassin
Сообщения: 50
Зарегистрирован: Вт фев 14, 2017 12:24
Откуда: Tomorowland

Re: Modding Question?

Сообщение Baban Assassin » Чт июн 18, 2020 17:36

Thanks for this Zebra

Аватара пользователя
zebra_hun
Сообщения: 11
Зарегистрирован: Вт янв 07, 2020 13:15
Откуда: Hungary
Контактная информация:

Re: Modding Question?

Сообщение zebra_hun » Чт июн 18, 2020 19:08

Your welcome ;)

tonawandares
Сообщения: 3
Зарегистрирован: Пт окт 04, 2019 01:37

Re: Modding Question?

Сообщение tonawandares » Пт июн 19, 2020 07:04

zebra_hun писал(а):Hi, tested and works good. Give it to him. Bitte ;)

Код: Выделить всё

rem SoldierSpawns.con created by Battlecraft 1942. Blue soldier spawns moved to red zone.
rem (C:\Program Files (x86)\EA GAMES\Battlefield 1942\Mods\DC_Final\bf1942\levels\DC_Weapon_Bunkers/ctf/SoldierSpawns.con)

rem -----------------------------------------
rem ---  CoallitionBase_Spawn1  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn1
Object.absolutePosition 425.50/74.89/703.20
Object.rotation 47.50/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn2  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn2
Object.absolutePosition 399.52/74.88/777.33
Object.rotation 0.00/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn3  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn3
Object.absolutePosition 542.58/74.81/698.03
Object.rotation -47.00/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn4  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn4
Object.absolutePosition 421.76/75.24/767.09
Object.rotation 210.40/0.00/0.00

rem -----------------------------------------
rem ---  CoallitionBase_Spawn5  ---
rem -----------------------------------------
Object.create CoallitionBase_Spawn5
Object.absolutePosition 551.70/74.49/854.92
Object.rotation -178.90/0.00/0.00

rem EndOfFile


Изображение


Zebra, my old BF friend.
I hope you are well...
I am looking for the Soldier Spawns for Axis Team.
I see these Coalition Spawns in winRFA, but not the Red spawns.
I want to relocate the red spawns and make fewer.
There are 12 original Red spawns.

I only see Coalition Base Spawns
This is my issue.

Thanks and take good care,

~ tona

Аватара пользователя
zebra_hun
Сообщения: 11
Зарегистрирован: Вт янв 07, 2020 13:15
Откуда: Hungary
Контактная информация:

Re: Modding Question?

Сообщение zebra_hun » Пт июн 19, 2020 08:59

Hello Tona,
I hope we don't disturb the Maxnet forum with this topic. ;) I'm writing this now without a test. The red spawn points are in bf1942\levels\DC_Weapon_Bunkers\objects\mil_wpbunker_m1\object. Here are the 3 bunkers and 10 red spawn. So a total of 3x10 pcs soldier spawn. I thought you wanted to move the blues to the red area. The red spawn are not in the usual place. Now I’m writing these lines after a night shift, I’m tired, I’ll be online next Tuesday. Try changing those coordinates. All approx. 30 pieces can be the same point, that's not a problem. Good to test. But as I wrote, it’s a theory, I didn’t test. If you just want the fight to be on the red base, leave the points as they are. Something else, Battlecraft works well on Windows 10 x64, free software, install and use. Helps with coordinate points.
C ya, z

Аватара пользователя
zebra_hun
Сообщения: 11
Зарегистрирован: Вт янв 07, 2020 13:15
Откуда: Hungary
Контактная информация:

Re: Modding Question?

Сообщение zebra_hun » Сб июн 20, 2020 17:35

Hi, I wrote well, you can change the red spawn point there. Need to know! Points would be added to the bunker! Bunker center on 0/0/0. There are 3 bunkers, so if the bunker explodes, they are no more. Therefore, this map is not really suitable for CTF mode. I tested, this is a server side mod, no need to download to anyone, the mod works correctly. Make a maximum of 2-3 points as you like and use them to overwrite them all. If you have any questions, feel free to write, this is not a problem.



Код: Выделить всё

ObjectTemplate.create Bundle mil_wpbunker_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate lodmil_wpbunker


ObjectTemplate.create LodObject lodmil_wpbunker
ObjectTemplate.lodselector mil_wpbunkerSelector
ObjectTemplate.addTemplate mil_wpbunkerInterior
ObjectTemplate.addTemplate mil_wpbunkerExterior


LodSelectorTemplate.create DistanceSelector mil_wpbunkerSelector
LodSelectorTemplate.addLodDistance 70


ObjectTemplate.create bundle mil_wpbunkerInterior
ObjectTemplate.geometry mil_wpbunker_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -----------------------------------------------
ObjectTemplate.addTemplate mil_wpbunkerSupplyDepot
ObjectTemplate.setPosition 0/-0.5/-7
ObjectTemplate.addTemplate mil_wpbunkerSupplyDepot
ObjectTemplate.setPosition 0/-0.5/0
ObjectTemplate.addTemplate mil_wpbunkerSupplyDepot
ObjectTemplate.setPosition 0/-0.5/7
ObjectTemplate.addTemplate mil_wpbunkerVehicleSupplyDepot
ObjectTemplate.setPosition 0/0/18
ObjectTemplate.addTemplate mililocker_m1
ObjectTemplate.setPosition 4.65/0.1/12.0
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate stebarrel1_m1
ObjectTemplate.setPosition 4.54/0.1/7.5
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate stebarrel1_m1
ObjectTemplate.setPosition 4.54/0.1/6.5
ObjectTemplate.setRotation -140/0/0
ObjectTemplate.addTemplate stebarrel1_m1
ObjectTemplate.setPosition 3.65/0.1/7.3
ObjectTemplate.setRotation -30/0/0
ObjectTemplate.addTemplate mil_scud_cart_m1
ObjectTemplate.setPosition 1.9/1.6/-3.0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate mil_scud_cart_m1
ObjectTemplate.setPosition -0.1/1.6/-2.0
ObjectTemplate.setRotation -3/0/0
rem ------------------------------------------------


ObjectTemplate.create SimpleObject mil_wpbunkerExterior
ObjectTemplate.geometry mil_wpbunker_m2


ObjectTemplate.create SupplyDepot mil_wpbunkerSupplyDepot
ObjectTemplate.radius 6
ObjectTemplate.team 1
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 1 -1 15 0
ObjectTemplate.addAmmoType 2 -1 1.2 0
ObjectTemplate.addAmmoType 3 -1 1.2 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc


ObjectTemplate.create SupplyDepot mil_wpbunkerVehicleSupplyDepot
ObjectTemplate.radius 15
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 0 -1 20 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc


rem normal generic bunker===========================================
ObjectTemplate.create PlayerControlObject mil_wpbunker_des
ObjectTemplate.setNetworkableInfo mil_wpbunker_desBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 1800
ObjectTemplate.maxhitpoints 1800
ObjectTemplate.material 55
ObjectTemplate.criticalDamage 50
ObjectTemplate.hpLostWhileCriticalDamage 10
ObjectTemplate.explosionRadius 30
ObjectTemplate.explosionDamage 20
ObjectTemplate.explosionForceMod 100
ObjectTemplate.addArmorEffect 1400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 200 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 0 e_Explani03_bunker 0/0.5/3
ObjectTemplate.addArmorEffect 0 e_mil_wpbunker_desWRECKPCO 0/0/0
ObjectTemplate.timetoliveafterdeath 0
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
rem -------------------------------------
ObjectTemplate.addTemplate lodmil_wpbunker_des
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 60/0/0
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -90/0/0
rem -------------------------------------
ObjectTemplate.GUIIndex 67
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDefGun
ObjectTemplate.setToolTipType  TTDefGun
ObjectTemplate.setMinimapIcon "bf1942/levels/DC_Weapon_Bunkers_SnD/VehicleBunker.dds"
rem ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_building_32x32.tga"
rem ObjectTemplate.setMinimapIconSize 32


ObjectTemplate.create LodObject lodmil_wpbunker_des
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate mil_wpbunkerInterior
ObjectTemplate.addTemplate mil_wpbunkerExterior
ObjectTemplate.addTemplate mil_wpbunker_desWreck
rem -------------------------------------
ObjectTemplate.lodselector mil_wpbunker_desSelector


LodSelectorTemplate.create DistCompareSelector2 mil_wpbunker_desSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 70


ObjectTemplate.create SimpleObject mil_wpbunker_desWreck
ObjectTemplate.geometry mil_wpbunker_wreck





ObjectTemplate.create PlayerControlObject mil_wpbunkermiddle_des
ObjectTemplate.setNetworkableInfo mil_wpbunker_desBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 1800
ObjectTemplate.maxhitpoints 1800
ObjectTemplate.material 55
ObjectTemplate.criticalDamage 50
ObjectTemplate.hpLostWhileCriticalDamage 10
ObjectTemplate.explosionRadius 30
ObjectTemplate.explosionDamage 20
ObjectTemplate.explosionForceMod 100
ObjectTemplate.addArmorEffect 1400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 200 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 0 e_Explani03_bunker 0/0.5/3
ObjectTemplate.addArmorEffect 0 e_mil_wpbunker_desWRECKPCO 0/0/0
ObjectTemplate.timetoliveafterdeath 0
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
rem -------------------------------------
ObjectTemplate.addTemplate lodmil_wpbunker_des
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 60/0/0
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -90/0/0

rem Weaponbunkers map specific spawns
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 180/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -26/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 160/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 180/0/0


rem -------------------------------------
ObjectTemplate.GUIIndex 67
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDefGun
ObjectTemplate.setToolTipType  TTDefGun
ObjectTemplate.setMinimapIcon "bf1942/levels/DC_Weapon_Bunkers_SnD/VehicleBunker.dds"
rem ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_building_32x32.tga"
rem ObjectTemplate.setMinimapIconSize 32




ObjectTemplate.create PlayerControlObject mil_wpbunkerleft_des
ObjectTemplate.setNetworkableInfo mil_wpbunker_desBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 1800
ObjectTemplate.maxhitpoints 1800
ObjectTemplate.material 55
ObjectTemplate.criticalDamage 50
ObjectTemplate.hpLostWhileCriticalDamage 10
ObjectTemplate.explosionRadius 30
ObjectTemplate.explosionDamage 20
ObjectTemplate.explosionForceMod 100
ObjectTemplate.addArmorEffect 1400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 200 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 0 e_Explani03_bunker 0/0.5/3
ObjectTemplate.addArmorEffect 0 e_mil_wpbunker_desWRECKPCO 0/0/0
ObjectTemplate.timetoliveafterdeath 0
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
rem -------------------------------------
ObjectTemplate.addTemplate lodmil_wpbunker_des
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 60/0/0
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -90/0/0

rem Weaponbunkers map specific spawns
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -220/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 261/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 181/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 181/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 181/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -20/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -20/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -20/0/0



rem -------------------------------------
ObjectTemplate.GUIIndex 67
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDefGun
ObjectTemplate.setToolTipType  TTDefGun
ObjectTemplate.setMinimapIcon "bf1942/levels/DC_Weapon_Bunkers_SnD/VehicleBunker.dds"
rem ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_building_32x32.tga"
rem ObjectTemplate.setMinimapIconSize 32



ObjectTemplate.create PlayerControlObject mil_wpbunkerright_des
ObjectTemplate.setNetworkableInfo mil_wpbunker_desBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 1800
ObjectTemplate.maxhitpoints 1800
ObjectTemplate.material 55
ObjectTemplate.criticalDamage 50
ObjectTemplate.hpLostWhileCriticalDamage 10
ObjectTemplate.explosionRadius 30
ObjectTemplate.explosionDamage 20
ObjectTemplate.explosionForceMod 100
ObjectTemplate.addArmorEffect 1400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 900 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 400 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 400 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 200 e_DefGunDamage -2/4.5/0
ObjectTemplate.addArmorEffect 0 e_Explani03_bunker 0/0.5/3
ObjectTemplate.addArmorEffect 0 e_mil_wpbunker_desWRECKPCO 0/0/0
ObjectTemplate.timetoliveafterdeath 0
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
rem -------------------------------------
ObjectTemplate.addTemplate lodmil_wpbunker_des
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 60/0/0
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation -90/0/0

rem Weaponbunkers map specific spawns
ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 90/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 270/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 15/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 15/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 5/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 145/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 125/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 125/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 185/0/0

ObjectTemplate.addTemplate Opp_WB_Spawn
ObjectTemplate.setPosition 0/0/-32.5
ObjectTemplate.setRotation 185/0/0
rem -------------------------------------
ObjectTemplate.GUIIndex 67
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDefGun
ObjectTemplate.setToolTipType  TTDefGun
ObjectTemplate.setMinimapIcon "bf1942/levels/DC_Weapon_Bunkers_SnD/VehicleBunker.dds"
rem ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_building_32x32.tga"
rem ObjectTemplate.setMinimapIconSize 32





ObjectTemplate.create PlayerControlObject mil_wpbunker_des_wreck
ObjectTemplate.setNetworkableInfo mil_wpbunker_desBodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 999999
ObjectTemplate.maxhitpoints 999999
ObjectTemplate.material 55
rem ObjectTemplate.criticalDamage 50
rem ObjectTemplate.hpLostWhileCriticalDamage 10
rem ObjectTemplate.explosionRadius 50
rem ObjectTemplate.explosionDamage 20
ObjectTemplate.explosionForceMod 100
ObjectTemplate.addArmorEffect 1000000 e_DefGunDamage 2/4.5/-6
ObjectTemplate.addArmorEffect 1000000 e_DefGunDamage 0/4.5/12
ObjectTemplate.addArmorEffect 1000000 e_DefGunDamage -2/4.5/0
rem ObjectTemplate.timetoliveafterdeath 0
rem ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
rem -------------------------------------
ObjectTemplate.addTemplate lodmil_wpbunker_des_wreck
rem -------------------------------------
ObjectTemplate.GUIIndex 67
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTDefGun
ObjectTemplate.setToolTipType  TTDefGun
ObjectTemplate.setMinimapIcon "bf1942/levels/DC_Weapon_Bunkers_SnD/VehicleBunker.dds"
rem ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_building_32x32.tga"
rem ObjectTemplate.setMinimapIconSize 32


ObjectTemplate.create LodObject lodmil_wpbunker_des_wreck
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate mil_wpbunker_desWreck
ObjectTemplate.addTemplate mil_wpbunker_desWreck
ObjectTemplate.addTemplate mil_wpbunker_desWreck
rem -------------------------------------
ObjectTemplate.lodselector mil_wpbunker_desSelector


I created only one for the test.
Изображение

tonawandares
Сообщения: 3
Зарегистрирован: Пт окт 04, 2019 01:37

Re: Modding Question?

Сообщение tonawandares » Ср июн 24, 2020 14:28

I appreciate all of your help Zebra!

Take good care my friend,

~ tona


Вернуться в «English Forum»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 0 гостей