A Question.

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
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

A Question.

Post by Lozza »

How do I put this into the odf, when the soldier runs into someone the enemy roll like when you get killed be a grenade? ( Dunno if I'm explaining this properly)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: A Question.

Post by DarthD.U.C.K. »

do you mean giving the soldier some kind of weapon that triggers an explosion on impact with enemys?
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: A Question.

Post by SW_elite »

I think he means that when you see an AI bot about to be hit by a grenade, sometimes they will roll away before it explodes so they dont get killed. He wants that to happen when you get to close to an enemy, so that they will roll away from you to get some distance instead of just standing there.

Am I right?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: A Question.

Post by DarthD.U.C.K. »

i though that first too, but hes talking about the rolling away when being killed by a grenade
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: A Question.

Post by Lozza »

Sw_elites right, I ment when you walk into them they role away and die. So is there a way?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: A Question.

Post by Fiodis »

You could make a melee .combo file that triggers a rolling state. This way, whenever anyone gets close to them they'd roll - maybe not directly away, though.
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: A Question.

Post by Lozza »

hmmmmm... Is there a way to make an invisible explosion on the player when he collides with something?

(of course make him invulnerable from explosions)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: A Question.

Post by DarthD.U.C.K. »

thats exactly what i said in my first post but nevermind.....

you cant trigger anything on collision directly but you can trigger an explosion via .comfo file, if you can trigger i constantly in the idle/runstate is another story. if that worked you coul give it strong push but tiny pushradius, this way it would only affect enemys really close to the player. and it wouldnt hurt the player.
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: A Question.

Post by Teancum »

Honestly it would help if we knew what you were wanting to do. There may be other ways of getting what you want done.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: A Question.

Post by Fiodis »

Or why you want to do it.
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: A Question.

Post by Lozza »

Teancum wrote:Honestly it would help if we knew what you were wanting to do. There may be other ways of getting what you want done.
I've explained my best, what else do you want me to say?

----
Player spawns
Sees a rebel
Runs into the rebel
Rebel dies

----

@Darthduck, ill look into what you mean with .combo (and yer I didnt read your first post correctly, sorry)
User avatar
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Re: A Question.

Post by [TFA]Padawan_Fighter »

You mean like an enemy from an old 2D side scroller? :P Lol...that's interesting.
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: A Question.

Post by Lozza »

[TFA]Padawan_Fighter wrote:You mean like an enemy from an old 2D side scroller? :P Lol...that's interesting.

Actually yes.
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: A Question.

Post by SW_elite »

Are you tring to make one of those ewoks with a bomb straped to them so that when they collide with anything, everything around the ewok goes BOOM?

Just a thought, cause I have SW:EaW...
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: A Question.

Post by Lozza »

SW_elite wrote:Are you tring to make one of those ewoks with a bomb straped to them so that when they collide with anything, everything around the ewok goes BOOM?

Just a thought, cause I have SW:EaW...
Maybe, but the ewok doesnt die with the bomb.
Post Reply