How do I make any unit flee like a hero? [Solved]
Moderator: Moderators
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
How do I make any unit flee like a hero? [Solved]
I remember someone told me how to make any unite flee like a hero (e.g. collapse onto knees) But I can't find the "fleelikehero = 0" line that I thought I saw in the unit.odf............
Last edited by IronJaw on Mon Sep 28, 2009 9:02 pm, edited 1 time in total.
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
Re: Fleeing like a Hero
FleeLikeAHero = 1
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Fleeing like a Hero
1 = yes. Put FleeLikeAHero = "1" to make units kneeel on death.
0 = no. Put FleeLikeAHero = "0" to make units die normally (including heros). Example is BFX.
0 = no. Put FleeLikeAHero = "0" to make units die normally (including heros). Example is BFX.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Fleeing like a Hero
This should be moved to the Modding FAQ, very interesting.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Fleeing like a Hero
No, there isn't any reason to. It's just one odf parameter, and a fairly self-explanatory one at that. Besides, I think there's a link to a list of odf parameters in the FAQ already (not sure though).StarkillerMarek wrote:This should be moved to the Modding FAQ, very interesting.
EDIT: Yep, there is.
http://www.secretsociety.com/forum/down ... meters.txt
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Fleeing like a Hero
Oh, okay, there should be a topic started that lists certain things that are not in the odf guide in the documentaion, if there isn't one already.Xavious wrote:No, there isn't any reason to. It's just one odf parameter, and a fairly self-explanatory one at that. Besides, I think there's a link to a list of odf parameters in the FAQ already (not sure though).StarkillerMarek wrote:This should be moved to the Modding FAQ, very interesting.
EDIT: Yep, there is.
http://www.secretsociety.com/forum/down ... meters.txt
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Fleeing like a Hero
I sorta wanted to know where and in which .odf should this go in. There are at least two .odf's fore every unit, not to mention the .ords.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Fleeing like a Hero
well which units do you want to kneel or not kneel?
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Fleeing like a Hero
I would like to get all of both teams to kneel. But for testing purposes I would just like to get all_inf_rifleman to kneel.
Last edited by IronJaw on Mon Sep 28, 2009 9:01 pm, edited 2 times in total.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Fleeing like a Hero
all of both teams will kneel if you place it in the side default
like all_inf_default
or imp_inf_default
for just the rifleman, put it in all_inf_default_rifleman
anywhere below [Properties]
like all_inf_default
or imp_inf_default
for just the rifleman, put it in all_inf_default_rifleman
anywhere below [Properties]
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Fleeing like a Hero
Thanks!
Also, I want to change the weap_rifle to use the republic sniper rifle's laser. Which odf do I copy the lazer type from, and which .odf do I "paste" it it?
Also, I want to change the weap_rifle to use the republic sniper rifle's laser. Which odf do I copy the lazer type from, and which .odf do I "paste" it it?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Odf Help
from rep_weap_inf_sniperrifle to all_weap_inf_rifle.
also, copy rep_weap_inf_sniperrifle_ord to the all odf folder.
also, copy rep_weap_inf_sniperrifle_ord to the all odf folder.
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Odf Help
Ok, thanks, I would presume that if I wanted the damage to be "normal" I would just look for something to do with damage in the ofd and change it back to the original damage #?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Odf Help
yep, but thos values would probably be in the common side, so copy some code from com_weap_inf_rifle_ord to the ord that the rifle uses
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Odf Help
Just copy over the Republic sniper rifle's ordance file and reference it in your rifle's odf. If you have a Common folder in your Sides folder there's no need to copy classparents into individual side folders.IronJaw wrote:Thanks!
Also, I want to change the weap_rifle to use the republic sniper rifle's laser. Which odf do I copy the lazer type from, and which .odf do I "paste" it it?
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Odf Help
Yeah, but I find that if you copy all the stuff from the parents it makes editing easier say if you wanna have more than 1 type of rifle.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Odf Help
Ok, say you want to have more than one type of rifle. How does this make it easier than copying the Common folder (which you have to do anyway)? If you copy all the information from the parent odfs into the children, you may as well remove the parent references from the children, to avoid bugs later.
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Odf Help
I changed the sides\common\ofd com_weap_inf_rifle.odf to:
And I get the general laser shape right, but the damage is the same as a sniper rifle (one hit kill). It's not that I don't mind shooting an automatic sniper rifle, but I would die to much to feel fully content.
Hidden/Spoiler:
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Odf Help
that goes in the ord file, not the rifle file
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Odf Help
I got the laser and damage to work correctly. Thanks y'all. 
