Flag as CP

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Flag as CP

Post by ryukaji »

Is there a way to change a CP to be a flag?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Flag as CP

Post by bobfinkl »

I believe you just edit the CP's odf to use the flag model.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

well yeah ive tried that but when i placed one in Zeroedit it was still a normal cp
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Flag as CP

Post by bobfinkl »

Did you try it ingame? A lot of changes don't show up in ZE but do ingame (and vice versa). If it doesn't work ingame then you either did something wrong in the odf or its for some reason hard-coded(unchangeable).
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Flag as CP

Post by Teancum »

Are you saying have a CP that acts like a flag, with a flag model and all? (in other words, it can be "captured" when someone's carrying it, etc). If that's the case, no - you can't do that.
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Flag as CP

Post by bobfinkl »

No, I think he just means a CP with a flag model.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

Yes, I was thinking that for the medieval mod that it would make more sense for a teams flag to be used as a "CP" and that when you capture one it changes to your flag, rather than the hologram light CP for star wars maps
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Flag as CP

Post by FragMe! »

You mean something like this (I know you would want to use your own geometry)
This is the same base being occupied by either team.
Hidden/Spoiler:
Image
Remember any changes you do the the control zone odfs must be put in your worlds odf folder not left in the common folder. It is also a good idea to rename them to something other than the default names.

One thing to note is the flag will not be cloth, the cloth is setup via and odf and the flag geometry (msh file) is the only thing being called for so it would never get it's cloth attributes defined.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

Oh so its got to go in the worlds folder, I see. Thanks Frag
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Flag as CP

Post by FragMe! »

Yes is the odf and msh folder, just the same as any other object you would add to your map

Edit:
Further fun things to do, or cool results by accident which ever you prefer
Hidden/Spoiler:
Image
Still can't do anything about red or blue ......... yet
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

OMG!! LOL thats amazing, howd you make it go up and down
Yodakid
Second Lance Corporal
Second Lance Corporal
Posts: 117
Joined: Sat Nov 22, 2008 5:43 pm
Projects :: Something old
Games I'm Playing :: TES Online AC Unity
xbox live or psn: No gamertag set
Location: Finland

Re: Flag as CP

Post by Yodakid »

FragMe! wrote: Still can't do anything about red or blue ......... yet
About cp colors, what do you think?
Hidden/Spoiler:
[attachment=0]Customcpcolor.JPG[/attachment]
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Flag as CP

Post by FragMe! »

Which lines did you change for that if I may ask.
And are those in as command posts or just props?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Flag as CP

Post by Caleb1117 »

Based on the mini-map, those are CPs. I thought that was impossible?
Yodakid
Second Lance Corporal
Second Lance Corporal
Posts: 117
Joined: Sat Nov 22, 2008 5:43 pm
Projects :: Something old
Games I'm Playing :: TES Online AC Unity
xbox live or psn: No gamertag set
Location: Finland

Re: Flag as CP

Post by Yodakid »

Well, I have have figured out that this does only work 50% because I can only set a deafult color that won't change when the cp is captured...
Anyways, here's the holo.odf
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "hologram"

[Properties]
Color = "0 200 4"
HoloType = "custom"
//HoloImageGeometry = "com_icon_alliance"
HoloVisibleDistance = 200.0
HoloHeight = 3.5
HoloSize = 2.5
HoloBeamIntensity = 1.0
HoloLightIntensity = 1.0
HoloImageIntensity = 0.5
HoloFlareIntensity = 1.0
HoloLightRadius = 8.0
HoloRotateRate = 0.2
HoloPopRate = 0.01
HoloFlickerRate = 0.01
HoloFlickerAlphaMin = 0.4
HoloFlickerAlphaMax = 0.8
HoloFadeInTime = 2.0
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: Flag as CP

Post by Master_Ben »

Why can you only get the nuetral color changed?

'cause the oroginal holo.odf looks like this with the rgb spaces for friendly enemy and nuetral colors too:
[GameObjectClass]
ClassLabel = "hologram"

[Properties]
Color = "0 0 0"
NeutralColor = "255 255 255"
FriendlyColor = "30 220 30"
EnemyColor = "240 30 30"
LocalsColor = "240 220 30"
HoloType = "aligned"
//HoloImageGeometry = "com_icon_alliance"
HoloVisibleDistance = 200.0
HoloHeight = 3.5
HoloSize = 2.5
HoloBeamIntensity = 1.0
HoloLightIntensity = 1.0
HoloImageIntensity = 0.5
HoloFlareIntensity = 1.0
HoloLightRadius = 8.0
HoloRotateRate = 0.2
HoloPopRate = 0.01
HoloFlickerRate = 0.01
HoloFlickerAlphaMin = 0.4
HoloFlickerAlphaMax = 0.8
HoloFadeInTime = 2.0
Sorry if this is hijacking.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Flag as CP

Post by Caleb1117 »

Yodakid wrote:Well, I have have figured out that this does only work 50% because I can only set a deafult color that won't change when the cp is captured...
Anyways, here's the holo.odf
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "hologram"

[Properties]
Color = "0 200 4"
HoloType = "custom"
//HoloImageGeometry = "com_icon_alliance"
HoloVisibleDistance = 200.0
HoloHeight = 3.5
HoloSize = 2.5
HoloBeamIntensity = 1.0
HoloLightIntensity = 1.0
HoloImageIntensity = 0.5
HoloFlareIntensity = 1.0
HoloLightRadius = 8.0
HoloRotateRate = 0.2
HoloPopRate = 0.01
HoloFlickerRate = 0.01
HoloFlickerAlphaMin = 0.4
HoloFlickerAlphaMax = 0.8
HoloFadeInTime = 2.0
So thus it appears the same to both sides? IE if it's green, both teams will see it as such, and if it changes sides, the color will remain, even if neutral.

Correct?

I guess it still is impossible. but that's pretty cool.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

I like the black/gray one thats pretty cool, but for the medieval project we need something more medieval as a cp dont you think
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Flag as CP

Post by FragMe! »

Here is a bit of a teaser, I will be making another tutorial type topic with some of the things I have found out about concerning CP's. But in the mean time I think you'll like this.
Hidden/Spoiler:
Image

Image

Image

Image
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Flag as CP

Post by ryukaji »

Wow this is becoming very interesting.... So you can get the flag to lower and raise new flag, but it cant be cloth, but this is still a cool discovery
Post Reply