Are those idea possible as SSM?

Ask questions, discuss ideas, get answers

Are those idea possible as SSM?

Postby Sabakan » Mon Sep 10, 2018 1:16 pm

Im running coop server "Donpachi Field", I want to know if those ideas are possible as SSM,not as CSM.if those ideas are possible,could you plz tell me how to do it?
1.add weapons to vechles like "Hanomag with Flak38" ,"Zero with Katsusya's rocket","Jeep with M2","Hatsuzuki with Torpedo Launcher"
2.change vechles armor like "Jeep that has Yamato's Armor","Zero that has Tiger's armor"
3.load vanilla's object from DCF/FHSW/BG42(Gutens[Play blue][] does it on DCF)
4.spawn from vechles(I have played a server that can spawn from flying plane)
Posts: 2
Joined: Mon Sep 10, 2018 12:43 pm

Re: Are those idea possible as SSM?

Postby Sabakan » Sun Mar 17, 2019 11:57 am

I found a way to add spawn point to vechles without any CSM,
basic theory is this:remove hiryu's daihatusoldierspawn from hiryu,and add it to another object(in this explanation,chiha120mm)
the way is the (mapname)_001.rfa,add those codes to ost.con like this(i did it in the map where hiryu spawns.this WONT work in the map which hiryu doesnt spawn)
ObjectTemplate.Active HiryuComplex (in the object which you want to take its spawn point)
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 6
some people may wonder why "6" ?and why 6 appears two times? look the BG42's object.rfa,hiryu,objects.con
In line 95, "HiryuComplex" begin.and in line 100,"ObjectTemplate.addTemplate"begins. BF1942 counts "ClimbingNet_3mx4m" as template number "0"(not 1)
then lets count template number from 0. and,"HiryuDaihatsuSoldierSpawn" is in the six. so remove code written above is "6"
and if I remove no6,next code HiryuDaihatsuSoldierSpawn(same) will next, "removetemplate" is written twice.
by doing this,daihatusoldierspawn in hiryu is completly lets add it to another object

add those codes to the (mapname)_001.rfa,ost.con
ObjectTemplate.Active Chi-Ha120mmComplex (in the object which you want to add spawn point)
ObjectTemplate.addTemplate HiryuDaihatsuSoldierSpawn
ObjectTemplate.setPosition 0/0/0
this code will add spawn point to chiha120mm.
then,you can spawn from Chiha120mm without any CSM.If there are two chiha120mm in the map,you wont be able to choose which chiha to will be spawn at random!
Posts: 2
Joined: Mon Sep 10, 2018 12:43 pm

Return to 1942 Modding Discussion

Who is online

Users browsing this forum: No registered users and 27 guests