Deployable ammo droid, lockable grenades ?

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

User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Deployable ammo droid, lockable grenades ?

Post by swado95 »

Can u make a deploy able ammo droid.


Sry i already have lot of stuff up so im fitting another question under this.

Would it be possible to have a special grenade that rocket launchers could lock on to. Almost like a tracking device. So u could stick it to a guy then even if hes moving u can easily hit him.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Deployable ammo droid?

Post by AQT »

swado95 wrote:Can u make a deploy able ammo droid.
If that is a question, then yes. If you are asking how, use the stock auto turret dispenser ODF as a reference and change the OrdnanceName to com_item_weaponrecharge (the ODF name of the stock ammo droid).
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Ill test that out later.

How bout the grenade? I almost want it to be a lazer target for rockets. hi
For example I see guys in a bunker and i cant take them all out so i shot it into bunker, then a rocket guy sees lock-on and shoots rocket into bunker killing them.
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: Deployable ammo droid, lockable grenades ?

Post by FragMe! »

Can only lock on to human. droid, buildings, animals and vehicles, cannot lock on to ordnance.
Now I know there is orbital strike but it really just acts like a grenade, you throw the grenade then where ever it lands it explodes, same thing with orbital for the most part the effect is just different.

You could also equate it to the wookiee floating turret, you can get target info on the hud but I don't believe you can lock on to it with a rocket when it is the enemies let alone if it is friendly
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Would giving it an vehicle label work?
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: Deployable ammo droid, lockable grenades ?

Post by FragMe! »

not sure if you could use a vehicle as ordnance, I guess you could try and find out, still have the problem of friendly locking on to it.

Playing and crashing is sometimes the best way to find out if something works. Make sure you do it on a test map that you don't mind deleting when it all goes wrong, I know this one well.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Ok ill try that when i can get the chance, isnt there something that lets u target friendly's though?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Deployable ammo droid, lockable grenades ?

Post by Aman/Pinguin »

Indeed.

Code: Select all

TargetEnemy     = "1"
TargetNeutral   = "1"
TargetFriendly  = "1"

TargetPerson    = "1"
TargetAnimal    = "1"
TargetDroid     = "1"
TargetVehicle   = "1"
TargetBuilding  = "1"
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: Deployable ammo droid, lockable grenades ?

Post by DarthD.U.C.K. »

i think making the beacon/grenade neutral would be the best way because the rocket would often have multiple targets if they'd target enemy or friendly droids or persons etc. (and the point is to make them only target the grenade isnt it?)
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Yes it is.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Deployable ammo droid, lockable grenades ?

Post by Aman/Pinguin »

Though, he's planning to give the grenade a vehicle label, so this would be the best setup if he gets it working.

Code: Select all

TargetEnemy     = "1"
TargetNeutral   = "0"    //or 1
TargetFriendly  = "0"

TargetPerson    = "0"
TargetAnimal    = "0"
TargetDroid     = "0"
TargetVehicle   = "1"
TargetBuilding  = "1"
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Deployable ammo droid, lockable grenades ?

Post by Maveritchell »

In a normal game setup, AI will not target neutral objects to destroy them intentionally. The AI goal "deathmatch" (which is active 90% of the time) only tells them to target enemy entities.

You could script something like what you're talking about to happen, but not only would the scripting be unnecessarily complex for a single weapon, it seems like you're taking a redundant route to get to your goal - locking on to a moving target. You can do that without the aid of anything extra.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Its not as much a locking on to targets as much is tricking the AI to taking out targets you want. Also i would make the missile launcher a lot more powerful and a lot accurate so you need team work to use properly.
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: Deployable ammo droid, lockable grenades ?

Post by SAMofBIA »

you could make the grenade into a class of its own, make it neutral, and then make a custom rocket launcher that can only lock onto said neutral grenade.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

Seem complex. Is there some way i could spawn it under being an enemy vehicle.
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: Deployable ammo droid, lockable grenades ?

Post by SAMofBIA »

hmmm im not sure, i would ask people more experienced by PM such as maveritchell or some others. so you wouldnt be getting some crap from people who dont listen to those higher up.
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: Deployable ammo droid, lockable grenades ?

Post by Teancum »

SAMofBIA wrote:hmmm im not sure, i would ask people more experienced by PM such as maveritchell or some others. so you wouldnt be getting some crap from people who dont listen to those higher up.
Bad idea. I think I can safely speak for Mav and the other modders by saying we don't want our Inboxes flooded with PMs like this. We try to help where we can. PMing us isn't a good idea because then when someone wants the same answer down the road they don't find anything in a search of the forums.

To be honest, the community on the whole is extremely helpful. If a question doesn't get answered it's usually one of two things: either the person asking the question doesn't know enough about how things work to understand the answer given, or the people helping don't have any idea how to do what the person asking wants.
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: Deployable ammo droid, lockable grenades ?

Post by SAMofBIA »

mmmmk then, ill be sure not to do that now.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 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: Where I whant to be.

Re: Deployable ammo droid, lockable grenades ?

Post by swado95 »

I remember seeing deploy-able vehicles but would that lag the map to quickly?
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: Deployable ammo droid, lockable grenades ?

Post by DarthD.U.C.K. »

as long as you dont overuse the weapon it should be ok
Post Reply