2. On resizing stuff, i know u use the geometry scale thing, but is there anything else involved? i vagualy remember something about altering the .msh or soemthing, but i can't remember
2 questions- Resizing a msh and custom powerups
Moderator: Moderators
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
2 questions- Resizing a msh and custom powerups
1.For my map that i'm making, i need a powerup dispenser that creates a powerup that increases your unit's speed for a short time. I know this was done with a force power(in the spoiler below), but i'm not sure how to apply this with a powerup. The blue words are what i think is what i'm looking for, but i'm not sure
although im slightly confused why the animation is choking...but this is apparently the odf for the burst of speed force power. Any help with this would be great
2. On resizing stuff, i know u use the geometry scale thing, but is there anything else involved? i vagualy remember something about altering the .msh or soemthing, but i can't remember
Hidden/Spoiler:
2. On resizing stuff, i know u use the geometry scale thing, but is there anything else involved? i vagualy remember something about altering the .msh or soemthing, but i can't remember
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: dos preguntas sobre resizing y powerups
I would change the soldier anim to like power up or grenade throw, and then just add an effect.
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: dos preguntas sobre resizing y powerups
2. I believe it involves going into the .msh and adding/changing GeometryScale (or whatever it is) to negative the scale in the odf. Example: 2.0 in odf. -2.0 in msh.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: dos preguntas sobre resizing y powerups
For the msh you need to create a nameofmsh.msh.option file with the following in it:
-scale 0.5
that makes it half the size.
If it is an object and you want it to look right in ZE you must add the following to the objects odf file under properties
GeometryScale = "0.5"
not totally sure the "s are required but most things do.
-scale 0.5
that makes it half the size.
If it is an object and you want it to look right in ZE you must add the following to the objects odf file under properties
GeometryScale = "0.5"
not totally sure the "s are required but most things do.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: dos preguntas sobre resizing y powerups
Put simply, you can't apply that weapon as it is to a powerup. If you were to try to create such a weapon as you describe, you'd have to do it using a .lua callback. And in that case you wouldn't have the speed change be affected until the unit respawned. (And it would affect every unit of that class, not a single unit).
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
is that all i need to do? Just make a .msh.option and put GeometryScale = "0.5" (to cut in half) in it? or is there anything else i should do?FragMe! wrote:For the msh you need to create a nameofmsh.msh.option file with the following in it:
-scale 0.5
that makes it half the size.
If it is an object and you want it to look right in ZE you must add the following to the objects odf file under properties
GeometryScale = "0.5"
not totally sure the "s are required but most things do.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: dos preguntas sobre resizing y powerups
That's all.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
sigh...not having much luck here. To try this out, i chose the rifle. i gave it the pistol animation, which worked, and tried to make it smaller, which did not work. here's what i did:
in rep_weap_inf_rifle.msh.option
and that's all
in rep_weap_inf_rifle
anyone see what my problem is?
in rep_weap_inf_rifle.msh.option
Hidden/Spoiler:
in rep_weap_inf_rifle
Hidden/Spoiler:
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: dos preguntas sobre resizing y powerups
First for weapons you don't have to put the line in the odf as that is only for seeing things correctly in ZE which of course you don't see weapons there.
Will get back to you on the other bit.
Will get back to you on the other bit.
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: dos preguntas sobre resizing y powerups
The .msh.option needs to look like this:
.25 is the same as 0.25 so doesn't matter actually.. Leave out the odf line, it's only needed when added in ZE as Frag said 
Code: Select all
-scale .25-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: dos preguntas sobre resizing y powerups
just tested it and it works, for the rep_weap_inf_rifle.msh there is a .option file already in the PC folder for the REP side make sure you add the -scale thing to that one not create a new one as it will get ingored.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
hmmm...well is it a problem if i have no .msh.option files anywhere? I looked in the PC folder in the Rep's msh folder, but i not only lack a msh.option for rifle, but for everything else too. Is that normal?
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: dos preguntas sobre resizing y powerups
Okay, not to take over, but I'm having problems resizing too.
My odf
My .msh.option:
I don't know if it works ingame, but it sure doesn't work in ZE.
Oh, and try using search for .msh.option and see what turns up, Silas.
My odf
Hidden/Spoiler:
Hidden/Spoiler:
Oh, and try using search for .msh.option and see what turns up, Silas.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: dos preguntas sobre resizing y powerups
Should be:Fingerfood wrote:Okay, not to take over, but I'm having problems resizing too.
My odf
Code: Select all
[GameObjectClass] ClassLabel = "prop" GeometryName = "tat2_bldg_wall_8M.msh" [Properties] GeometryName = "tat2_bldg_wall_8M" GeometryScale = "10.0" FoleyFXGroup = "stone_foley"
Code: Select all
[GameObjectClass]
ClassLabel = "prop"
GeometryName = "tat2_bldg_wall_8M.msh"
GeometryScale = 10.0 //this only applies to ZeroEditor not ingame
[Properties]
GeometryName = "tat2_bldg_wall_8M"
FoleyFXGroup = "stone_foley"- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
tried searching and came up with the BF2 Jedi creation docs. nothing else. is it possible to just create my own, or should i just reinstall the tools? 
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: dos preguntas sobre resizing y powerups
So if you look in the BF_Modtools/assets/sides/rep/msh (and msh/pc) you don't see any .option files?
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: dos preguntas sobre resizing y powerups
Impossible.. Probably the name says rep_inf_rifle.msh, and the FileType says OPTION.
Check if there is a rep_1st_weap_inf_rifle file, and rep_1st_weap_inf_rifle.msh file.. Also, you can just make your own one in Notepad.. Make sure it's an option file, and not a Text (.txt) file called blabla.option(.txt)
Try and see
Check if there is a rep_1st_weap_inf_rifle file, and rep_1st_weap_inf_rifle.msh file.. Also, you can just make your own one in Notepad.. Make sure it's an option file, and not a Text (.txt) file called blabla.option(.txt)
Try and see
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
lol wow. yeah, I checked the properties of the second rigle .msh I have, and discovered it was in fact an option file. I just added the line -scale 0.5 and it worked fine. thanks for the help there. Only a one thing to hopefully quickly wrap up.
Is there anyway to make a powerup that increases your speed temporarily?
Is there anyway to make a powerup that increases your speed temporarily?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: dos preguntas sobre resizing y powerups
Pretty sure I answered that about a page back.Silas wrote:Is there anyway to make a powerup that increases your speed temporarily?
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: dos preguntas sobre resizing y powerups
ah. accidently missed that when i made my reply. oh well.
