inactive tanks in bf

  • Thread starter Thread starter kilrogg
  • Start date Start date
K

kilrogg

Guest
Battlefield 1942 TFT based map.
Hi, wondering is it possible to make inactive tanks / vehicles in game, that u can make active trough jumping into them with a unit? I mean one sec they just stand there do nothing, then a unit from Either team can jump into it and use it - and when he jumps out it becomes inactive again. If possible, how to do it?

And, the engineer (tinker in this case) should be able to repair the tanks and other mechanical units.
But doesnt work - it just keep saying - Require more gold.
and not using any gold on this map, anyway to repair without gold?
 
I think satara would be the expert on the inactive vehicles thing.

you can change the repair cost for units in the unit editor. I think its one of the stats fields. Repair time can also be changed.
 
Oki, il go check with Satara then about inactive tanks..

but about the repair ability.. i have tried change som stats including:

Data- powerbuild cost
Data- powerbuild rate
Data- repair cost ratio
Data- repair time ratio
but non seem to change anything..
 
LOL I can't beleive you asked this question.

'Load Vehicle' ability is a dummy made from purge. It doesn't do anything.

Code:
Load Vehicle
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Load Vehicle 
        (Owner of (Target unit of ability being cast)) Equal to Neutral Passive
        (Number of units in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is Mechanical) Equal to True))) Equal to 0
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Target unit of ability being cast)) Equal to Mech Loader
                (Unit-type of (Target unit of ability being cast)) Equal to Armored Tank
    Actions
        Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Triggering unit)) and Change color
        Unit - Order (Target unit of ability being cast) to Load (Triggering unit)

Unload Vehicle
    Events
        Unit - A unit Is issued an order targeting an object
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order with no target
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Issued order) Equal to (Order(unload))
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Ordered unit)) Equal to Mech Loader
                (Unit-type of (Ordered unit)) Equal to Armored Tank
    Actions
        Wait 0.20 seconds
        Unit - Change ownership of (Triggering unit) to Neutral Passive and Change color

Unload Vehicle 2
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Unload (Air Transports)
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Casting unit)) Equal to Mech Loader
                (Unit-type of (Casting unit)) Equal to Armored Tank
    Actions
        Wait 0.20 seconds
        Unit - Change ownership of (Triggering unit) to Neutral Passive and Change color
[.code]
 
Theses Mech Loader and Armored Tank?
are they the vehicles that one can load into??

and the ability load vehicle, i used Purge, just renamed it.
Should the unit wich enter the tank have it or??

Are there anything more i have to fix before i can make all this work? moe abilities? units to rename?
 
ok, have all the triggers as posted.. but doesnt work.
Must the targetet mechanical unit have load (cargo), unload abilities?
 
I have com as far that i have the "load vehicle" on my unit, he can use it on a mechanical, he jumps in, and one can use it, but when the unit unloads (using unload (air) the unit jumps out, and the tank is still under ur command :/


and still the repair ability requires gold to repair?? is it possible to remove that?
 
yes i did.

Changed like every data for Repair (human)
put all cost and rates to 0, but still says - Require more gold when trying to repair in game.
 
Can you upload a small example map, for us to work on...
Just copy/paste the triggers and the object from your original map.
 
Attached a map with bouth the load vehicle trigger, and the current repair trigger.. hope it helps u to find the sulotion.
 

Attachments

care to tell me where you found these fields then?

Data- powerbuild cost
Data- powerbuild rate
Data- repair cost ratio
Data- repair time ratio


There are NO fields starting with Data in the unit editor, data fields are in the ABILITY editor.
 
my miss!

Argh.. sorrz was focusing to much on abilities that i totally missed the "unit" editor.
Anywayz repairing fixed.
 
You did everything Ok, you just needed one more small trigger.
Though, if you put more than one unit into your tank, and then unload one by clicing on its icon, the tank will change ownership and the rest of your units that were beeing transported will stay stuck inside a neutral passive tank.
Ill try to fix this without using variables, but it seems to be quite a task...
 

Attachments

Tried it out, works as it should, thx for help!
now i only need to get thouse tanks to spawn from time to time..

Event - every 100 sec of game time

Condition - ?

Action - Create 1 Light tank at region for neutral player.

But I want this trigger only to be possible if the tank is dead..
So it can be respawnd again.
how to do that?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top