SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: wsa30h on December 29, 2019, 03:02:02 PM

Title: how do i make a custom message for a custom walker when it is lost as a cp ?
Post by: wsa30h on December 29, 2019, 03:02:02 PM
how do i make a empire lost the atat type of message for a custom command walker ?
Title: Re: how do i make a custom message for a custom walker when it is lost as a cp ?
Post by: Ginev on December 29, 2019, 03:12:03 PM
I checked the ATTE odf for example and there are such lines:

SpawnPointCount         = "6"
SpawnPointLocation      = "-6.0 0.0 4.0 0"
SpawnPointLocation      = "6.0 0.0 4.0 0"
SpawnPointLocation      = "-7.0 0.0 0.0 0"
SpawnPointLocation      = "7.0 0.0 0.0 0"
SpawnPointLocation      = "-6.0 0.0 -4.0 0"
SpawnPointLocation      = "6.0 0.0 -4.0 0"
AllyCount           = 65536
Radius              = 0.0
ValueBleed          = 10
Value_ATK_Alliance      = 10
Value_ATK_CIS           = 10
Value_ATK_Empire        = 10
Value_ATK_Republic      = 10
Value_ATK_Locals        = 0
Value_DEF_Alliance      = 0
Value_DEF_CIS           = 0
Value_DEF_Empire        = 0
Value_DEF_Republic      = 0
Value_DEF_Locals        = 0


So i opened and the Command post odf and i found this lines here:

VO_All_AllCapture = "all_off_com_report_captured_commandpost"
VO_All_AllLost = "all_off_com_report_lost_commandpost3"
VO_All_AllInDispute = ""
VO_All_AllSaved = ""
VO_All_AllInfo = ""
VO_All_ImpCapture = "all_off_com_report_lost_commandpost"
VO_All_ImpLost = ""
VO_All_ImpInDispute = ""
VO_All_ImpSaved = ""
VO_All_ImpInfo = ""
VO_Imp_AllCapture = "imp_off_com_report_lost_commandpost"
VO_Imp_AllLost = ""
VO_Imp_AllInDispute = ""
VO_Imp_AllSaved = ""
VO_Imp_AllInfo = ""
VO_Imp_ImpCapture = "imp_off_com_report_captured_commandpost"
VO_Imp_ImpLost = "imp_off_com_report_lost_commandpost3"
VO_Imp_ImpInDispute = ""
VO_Imp_ImpSaved = ""
VO_Imp_ImpInfo = ""
VO_Rep_RepCapture = "rep_off_com_report_captured_commandpost"
VO_Rep_RepLost = "rep_off_com_report_lost_commandpost3"
VO_Rep_RepInDispute = ""
VO_Rep_RepSaved = ""
VO_Rep_RepInfo = ""
VO_Rep_CISCapture = "rep_off_com_report_lost_commandpost"
VO_Rep_CISLost = ""
VO_Rep_CISInDispute = ""
VO_Rep_CISSaved = ""
VO_Rep_CISInfo = ""
VO_CIS_RepCapture = "cis_off_com_report_lost_commandpost"
VO_CIS_RepLost = ""
VO_CIS_RepInDispute = ""
VO_CIS_RepSaved = ""
VO_CIS_RepInfo = ""
VO_CIS_CISCapture = "cis_off_com_chatter_goodjob2"
VO_CIS_CISLost = "cis_off_com_report_lost_commandpost3"
VO_CIS_CISInDispute = ""
VO_CIS_CISSaved = ""
VO_CIS_CISInfo = ""


So maybe if you put a sound in the "lost" sections maybe a sound will be played but im not sure since this is for when the command post become neutral (white).I do not know if this will work for when walker is destroyed.Other than that i think its impossible.Even if this worked you still need to add custom sounds in your map and that some work.
Title: Re: how do i make a custom message for a custom walker when it is lost as a cp ?
Post by: wsa30h on December 29, 2019, 03:20:20 PM
no sorry thats not what i meant i meant like when an atte is destroyed you get a message republic has lost the atte how do i make a message pop up for a custom command walker ? instead of it saying the empire lost the at-at i want it to say the empire lost the atact. i have seen this done in a mod where the renamed the atte to the liberator.
Title: Re: how do i make a custom message for a custom walker when it is lost as a cp ?
Post by: Dark_Phantom on December 29, 2019, 04:24:25 PM
I think if you have a custom core.lvl it should take the name from there. It does for heroes anyway.
Title: Re: how do i make a custom message for a custom walker when it is lost as a cp ?
Post by: wsa30h on December 30, 2019, 02:58:38 AM
got it now just had to localize it
EhPortal 1.34 © 2024, WebDev