Invisibilty region and variable playerflyheight

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

Post Reply
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Invisibilty region and variable playerflyheight

Post by ArkAngel »

alright so I'm making an area of my map that I need hidden from a certain point of view. is it possible to have a flat region or something, that when you look directly at it it will seem like there are no objects behind it and just show terrain? (I need it to cover a BIG area)

also, is it possible to have a region or something that would allow a player with a jet pack to be able to fly higher than in other areas?
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: invisibilty region and variable playerflyheight

Post by FragMe! »

For the first you could try using portals and sectors, I know I have done something like that y accident while I was playing around with them. Check the FAQ for a better description than I can try to type here.

For the second the flyheight is global for the map I believe so don't think you can change it that way but you may try boundries and ban jet pack types
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: invisibilty region and variable playerflyheight

Post by ArkAngel »

well the main reason I'm doing this is because I'm making a hidden easter egg-esque part of my map for my clan and friends to figure out how to get to, but if they glitch they can see it from anywhere on the map. That would be where that "invisibility cloak" would come in play, and to get to it you'd need to fly up in a jetpack on a certain path, which would be the player height stuff. I don't realyl care about the player height because I can get around that, but the invisibility stuff would be perfect

I was gonna surround it in death regions, and "force" you to go the right way, but once you see it it's kinda ruined :(
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Invisibilty region and variable playerflyheight

Post by SAMofBIA »

hmmm, you could always use a billboard! surround your easter egg with billboard (like fake tress and stuff like that (used in naboo and elsewhere)) it would be perfectly hidden and you could walk through the billboards to find it.
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: Invisibilty region and variable playerflyheight

Post by Culvar »

SAMofBIA wrote:hmmm, you could always use a billboard! surround your easter egg with billboard (like fake tress and stuff like that (used in naboo and elsewhere)) it would be perfectly hidden and you could walk through the billboards to find it.
The billboards(the Yavin ones atleast) look hideous and have epic collision.
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: Invisibilty region and variable playerflyheight

Post by ArkAngel »

yeah sam, the point is so people don't see anything - I think the billboards would make it stick out far more than just leaving it there lol.
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Invisibilty region and variable playerflyheight

Post by SAMofBIA »

there are more than just yavin billboards that dont have collision at all. plus you could retexture them to look just like you terrain.

(ex: legend of zelda hyrule field map, it uses a billboard to make you think that there isnt the entrance to the epic cavern in the ground there. many billboards are in the epic cavern too.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Invisibilty region and variable playerflyheight

Post by SW_elite »

If its just one spot on your map you dont want the player to see the egg from then create a region that when entered destroys the egg before anyone can see it, then respawn it when they leave the region. Although it isnt exactaly what you want it might be good enough for a while?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Invisibilty region and variable playerflyheight

Post by lucasfart »

Thats a good idea SW_Elite, although i kinda thought it would be better if you started the game with the easter egg destroyed, and only spawned when you enter a region, so that they can't see it until they get a specific distance from the object.
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: Invisibilty region and variable playerflyheight

Post by Culvar »

Set the map to have a short view distance and don't have an LOD model for the easter egg?
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Invisibilty region and variable playerflyheight

Post by SAMofBIA »

hmm, ide agree with lucasfart and SW_elite on this one now. it would be the most effective.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Invisibilty region and variable playerflyheight

Post by SW_elite »

Another idea I have is, make the egg so it's on it's own side, give it the same cloak ability that the bothan has and make it use that ability somehow, when you enter the region where you don't want the egg to be seen from.
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Invisibilty region and variable playerflyheight

Post by SAMofBIA »

hah, an egg with invisibility, whats next... :funny2:
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Invisibilty region and variable playerflyheight

Post by lucasfart »

SW_elite wrote:Another idea I have is, make the egg so it's on it's own side, give it the same cloak ability that the bothan has and make it use that ability somehow, when you enter the region where you don't want the egg to be seen from.
I think that would be extremely complicated when there is no need for it to be so. It would be a lot simpler to leave it as a prop that is spawned/destroyed depending on where you are in the map.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 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: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Invisibilty region and variable playerflyheight

Post by myers73 »

this is supposed to be multiplayer compatible, correct? if so then any functions that hide it, determined by the region you are in will not work.
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: Invisibilty region and variable playerflyheight

Post by ArkAngel »

see, the thing is the easter egg isn't just ONE thing, its nearly ALL the extra space of my map. I'm making a map which is fairly small, just a battle on a big bridge and the extra huge area of the map is all one big easter egg lol

and yes, the egg is only really useful in multiplayer
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Invisibilty region and variable playerflyheight

Post by SW_elite »

Well in that case destroying the egg wont work either... What happens if someone is close to the egg (trying to get inside), and someone else walks into the region and the egg gets destroyed?

For one, they person trying to enter the egg will get extremely confused and maybe annoyed.
Post Reply