Page 1 of 3

Deployable ammo droid, lockable grenades ?

Posted: Sat Jul 03, 2010 11:40 pm
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.

Re: Deployable ammo droid?

Posted: Sat Jul 03, 2010 11:52 pm
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).

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 12:58 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 2:39 pm
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

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 2:48 pm
by swado95
Would giving it an vehicle label work?

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 2:53 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 4:50 pm
by swado95
Ok ill try that when i can get the chance, isnt there something that lets u target friendly's though?

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:02 pm
by Aman/Pinguin
Indeed.

Code: Select all

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

TargetPerson    = "1"
TargetAnimal    = "1"
TargetDroid     = "1"
TargetVehicle   = "1"
TargetBuilding  = "1"

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:32 pm
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?)

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:34 pm
by swado95
Yes it is.

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:38 pm
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"

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:39 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Sun Jul 04, 2010 6:43 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Mon Jul 05, 2010 5:26 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Mon Jul 05, 2010 11:45 pm
by swado95
Seem complex. Is there some way i could spawn it under being an enemy vehicle.

Re: Deployable ammo droid, lockable grenades ?

Posted: Tue Jul 06, 2010 2:14 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Tue Jul 06, 2010 2:18 pm
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.

Re: Deployable ammo droid, lockable grenades ?

Posted: Tue Jul 06, 2010 3:42 pm
by SAMofBIA
mmmmk then, ill be sure not to do that now.

Re: Deployable ammo droid, lockable grenades ?

Posted: Tue Jul 06, 2010 5:03 pm
by swado95
I remember seeing deploy-able vehicles but would that lag the map to quickly?

Re: Deployable ammo droid, lockable grenades ?

Posted: Tue Jul 06, 2010 5:04 pm
by DarthD.U.C.K.
as long as you dont overuse the weapon it should be ok