0 - gravity, is there a way???
Moderator: Moderators
-
1z2x3c
- 3rd Warning

- Posts: 259
- Joined: Mon Jul 16, 2007 3:22 am
0 - gravity, is there a way???
0 - gravity, is there a way???
- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: 0 - gravity, is there a way???
You could try messing with the jump physics of all of your units. You'd have to change a whole bunch of odfs.
Yeah, I'm pretty sure that would do it.
Yeah, I'm pretty sure that would do it.
-
1z2x3c
- 3rd Warning

- Posts: 259
- Joined: Mon Jul 16, 2007 3:22 am
Re: 0 - gravity, is there a way???
i would think there would be someting in the fx file or someting...
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: 0 - gravity, is there a way???
FX? You know those are just graphical effects, right?
- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: 0 - gravity, is there a way???
I'm about 95% sure that there is no universal gravity setting, but zero gravity conditions could fairly easily be emulated by messing with unit odfs. Come to think of it, you could even mess with grenade and mine odfs and get them to look like zero gravity, too.
Ooh, mines that float wherever you place them... I like that idea...
Ooh, mines that float wherever you place them... I like that idea...
-
1z2x3c
- 3rd Warning

- Posts: 259
- Joined: Mon Jul 16, 2007 3:22 am
Re: 0 - gravity, is there a way???
@teancum: fx file or someting...... couldnt quite think of what file it would be...
@authraw: i guess, but it would be alot of work, not willing, but i was thinking........ in space maps....... ..... .... ....
@authraw: i guess, but it would be alot of work, not willing, but i was thinking........ in space maps....... ..... .... ....
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: 0 - gravity, is there a way???
Space maps have gravity too. Or are you saying they shouldn't. Anyways, the only thing you might be able to do is fake no-gravity by editing every odf like authraw said. But that's not worth the effort honestly. That means every infantry odf, every grenade-type odf, and every related parent odf. In the end your map would be about a 500mb download.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: 0 - gravity, is there a way???
Thats what SetClassProperty() is for. Do it all in your lua and the added file size gets almost completely zipped away. It will work on units, however I am unsure if changing the weapon's gravity through SetClassProperty() will cause crashes in MP.Teancum wrote:...fake no-gravity by editing every odf like authraw said. But that's not worth the effort honestly. That means every infantry odf, every grenade-type odf, and every related parent odf. In the end your map would be about a 500mb download.
I'm not sure exactly how you want it. You could do a high, slow jump (may also crash in MP, does crash for the FC mod. For some reason only changing sideways jumps doesn't crash...), or give everyone an invisible jetpack.
If you want the jetpack, heres the basic ODF fields and values to get it working:
Hidden/Spoiler:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: 0 - gravity, is there a way???
Weaponclasses are unmodifiable with SetClassProperty, although you can change from one weapon .odf to another with a unit's SetClassProperty.[RDH]Zerted wrote:It will work on units, however I am unsure if changing the weapon's gravity through SetClassProperty() will cause crashes in MP.
- authraw
- 1st Lieutenant

- Posts: 445
- Joined: Mon Jun 26, 2006 3:45 pm
Re: 0 - gravity, is there a way???
You could also minimize the filesize by loading all of the units as class parents, changing only the jump values. Then you would just have to load them before you load your custom units in the lua.
-
1z2x3c
- 3rd Warning

- Posts: 259
- Joined: Mon Jul 16, 2007 3:22 am
Re: 0 - gravity, is there a way???
good ideas, but personaly, it was just an idea...
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: 0 - gravity, is there a way???
Well, what do you want? It seems like you had an idea you felt worth trying out. Innovation is what modding's all about. Just about every SWBF mod that spawned from here started out as "just an idea". Give it a shot. You might actually get something out of it.
As for a lot of work. Pfft!
Modding is work, unless you're just throwing random crap together.
As for a lot of work. Pfft!
