Jump to content

Need Help With User Missions?? Ask Your Questions Here


MrADATS
 Share

Best answer

Please read before posting...

When you post a question here please start with " @yourdonefor" so I receive a notification that you have posted a question. Its hard for me to monitor all of the necessary sections of the forum and doing this will definitely make me aware of your post so I can answer your question faster.

 

 

 

 

 

@_Catweazle_63

Share this post


Link to post
Share on other sites

  • Game Master

How do you add bridges properly? I can't seem to be able to do it.

Share this post


Link to post
Share on other sites

Hello @GentlespieSo you are having problems placing bridges. Is it the problem of selecting the bridge itself or is it a problem of where the bridge is being placed. if you could, would you please send me a screenshot of the problem? i need more evidence/screenshots to help me solve your problem. Could you also upload your mission in which you want the bridge so I can help diagnose your problem easier.

Edited by yourdonefor
medal medal medal medal

Share this post


Link to post
Share on other sites

  • Game Master

Thanks for responding the problem is where the bridge is being placed, basically im trying to add the bridges onto the map of Ruhr.

Share this post


Link to post
Share on other sites

@Gentlespie OK If this is a mission you want to place a bridge please place a ground vehicle or something else there where you want the bridge. Then upload your mission to me. Doing that would allow me to see the coordinates in which the bridge will be placed. Then go into cdk and find the bridge you want then reply and tell me the cdk name. Example cdk names are "wood_brdge" "uk_bunker_heavy" your bridge should be under the category of "structures"

Edited by yourdonefor
medal medal medal medal

Share this post


Link to post
Share on other sites

  • Game Master

OK i selected a few locations for bridges with the type on the structure class, if its possible tell me how you orientate the bridges so they look at the right direction and how do you resize them so they actually connect between the 2 points on the road/rail.

PilotageCustom.blk

Share this post


Link to post
Share on other sites

  • 3 weeks later...

Hello.

 

There is a problem in completing an objective in which I need help on. I wanted to complete the mission "mission_destroy_bomber_01" by having "enemy_bomber_01" killed. Everything looks fine in CDK but when I got in game, I killed the bomber but the game didn't think I did, the mission remained incomplete and I couldn't start the next objective. This is a screenshot I made. I experimented with "unitWhenKilled", "unitWhenStatus" and "unitWhenCountMatches", none worked. So I'm wondering if there's something I missed. This is my newest file.

2017-08-27.png

Bomber_Intercept.blk

Share this post


Link to post
Share on other sites

Hello @RANDOM_P4 when you set "UnitWhenKilled" I think it should be set to a group of bombers but im not completely sure.. I have a mission in which you destroy waves of tanks and the objectives move forward so i will look at that code and will help figure something out for you:)

medal medal medal medal

Share this post


Link to post
Share on other sites

  • 1 month later...

Hi, i'm in dire need of help.

So, i was using the CDK today, then when i was going to save, a ERROR popped up, it was saying the following (in the console, with the red color of death):

[MissionSettings] Target [unit] '' not found!

 

EDIT: A error appeared? Have you built a super great mission you took months to make? Can't find the cause of the problem? Just start a new mission, all from scratch, and say bye bye to all the progress you've made in so many months! Now, kill yourself! Have a great day!

medal

Share this post


Link to post
Share on other sites

Hello @Johny_Ryder could you upload a screenshot of the issue or could you upload your mission please? I think its just like java.. if you misspell something like a name of a unit, the game will freak out at you. If you upload your mission that if not working I can manually look at the code and diagnose your issue easier.

medal medal medal medal

Share this post


Link to post
Share on other sites

Hello.  I am trying to edit a user mission but I am having problem.  I am trying to add the Daimler Armored Car to the user mission but I do not know the cdk name.  Could you please tell me the cdk name of the Daimler Armored Car that was added in 1.71 A New ERA?

Edited by Ravenpaw3
medal medal medal

Share this post


Link to post
Share on other sites

  • 3 weeks later...

I'm working on a mission in which you are required to destroy the enemy team's tanks (not including infantry and planes which I am including) within 30 minutes, or 1800 seconds. I am trying to find a trigger to check if the number of enemy tanks alive is zero, but I can't seem to figure it out. It will be single player, so none of that multiplayer stats nonsense is necessary. I'll put the link here so you can check it out.

 

https://live.warthunder.com/post/667817/en/

medal medal

Share this post


Link to post
Share on other sites

Trying different things with no success...

What code/commands are needed for air race yellow waypoint rings that when passing through X_waypoint, the ring dissapears and then appears at X_waypoint+1?

 

any help appreciated, thanks

 

thomas

Share this post


Link to post
Share on other sites

Got the Waypoints figured out I guess.

Now having a bit of trouble making the 'Air Race' Spawn to Keep reinitializing the 0.01 speed with the countdown & GO!.

Only does it once when you first spawn....then acts like regular spawn...normal speed & no countdown.

 

Any help Appreciated.

 

I have the code here (and it's only the Air Race code)..but still a bit long:

PylonAirRace{
    isCategory:b=yes
    is_enabled:b=yes

    start_mission_straight{
      is_enabled:b=yes
      comments:t=""

      props{
        actionsType:t="PERFORM_ONE_BY_ONE"
        conditionsType:t="ALL"
        enableAfterComplete:b=no
      }

      events{
        periodicEvent{
          time:r=0
        }
      }

      conditions{
      }

      actions{
        unitSetProperties{
          object_marking:i=0
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
          object_type:t="isActive"
          targetableByAi:b=no
          cannotShoot:b=no
        }

        triggerEnable{
          target:t="a_player_is_active_requirement"
        }

        beginRaceMode{
          checkAreaPrefix:t="race_wp_"
          waypointsPrefix:t="race_wp_"
          winners:i=1
          doubleWaypoints:b=yes
          waypointScale:r=0.1
          laps:i=1
          respawnVerticalOffset:r=25
          respawnForwardOffset:r=0
          statisticsScreenAfterFinish:b=no
          reverse:b=no
          tankRace:b=no
          isPathClosed:b=yes
          defaultTimeToDisableWeapon:r=60
        }

        missionSetTimeSpeed{
          speed:r=0.01
          realtimeTriggers:b=yes
        }
      }

      else_actions{
      }
    }

    race_shooting_enabled{
      is_enabled:b=yes
      comments:t=""

      props{
        actionsType:t="PERFORM_ONE_BY_ONE"
        conditionsType:t="ALL"
        enableAfterComplete:b=yes
      }

      events{
        timeExpires{
          time:r=10
        }
      }

      conditions{
      }

      actions{
        unitSetProperties{
          object_marking:i=0
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
          cannotShoot:b=no
        }
      }

      else_actions{
      }
    }

    a_player_is_active_requirement{
      is_enabled:b=yes
      comments:t=""

      props{
        actionsType:t="PERFORM_ONE_BY_ONE"
        conditionsType:t="ALL"
        enableAfterComplete:b=yes
      }

      events{
        periodicEvent{
          time:r=0.1
        }
      }

      conditions{
        unitWhenStatus{
          object_type:t="isActive"
          check_objects:t="any"
          object_marking:i=0
          target_type:t="isAlive"
          check_period:r=1
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
        }

        unitWhenInArea{
          math:t="3D"
          object_type:t="isActive"
          object_marking:i=0
          check_objects:t="any"
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
          target:t="race_wp_00"
        }
      }

      actions{
        triggerEnable{
          target:t="race_start_timer"
        }
      }

      else_actions{
      }
    }

    race_start_timer{
      is_enabled:b=yes
      comments:t=""

      props{
        actionsType:t="PERFORM_ONE_BY_ONE"
        conditionsType:t="ALL"
        enableAfterComplete:b=yes
      }

      events{
        periodicEvent{
          time:r=1
        }
      }

      conditions{
        varCompareInt{
          var_value:t="start_timer_int"
          value:i=0
          comparasion_func:t="notLess"
        }
      }

      actions{
        varAddString{
          value:t="@start_timer_int"
          digits:i=2
          var:t="start_hint_id_str"
        }

        playHint{
          hintType:t="custom"
          name:t="@start_hint_id_str"
          action:t="show"
          shouldFadeOut:b=no
          time:r=-1
          priority:i=0
          isOverFade:b=no
          shouldBlink:b=no
        }

        varModify{
          operator:t="subAB"
          value:r=1
          var:t="start_timer_int"
        }

        varSetString{
          value:t="hints/ffa_race_starts_in_"
          var:t="start_hint_id_str"
        }
      }

      else_actions{
        missionSetTimeSpeed{
          speed:r=1
          realtimeTriggers:b=yes
        }

        unitSetProperties{
          object_marking:i=0
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
          ignoreCollisions:b=yes
        }

        wait{
          time:r=3
        }

        playHint{
          hintType:t="custom"
          name:t=""
          action:t="hideCur"
          shouldFadeOut:b=no
          time:r=-1
          priority:i=0
          isOverFade:b=no
          shouldBlink:b=no
        }

        triggerDisable{
          target:t="race_start_timer"
        }
      }
    }

    RaceWaypoints1{
      is_enabled:b=yes
      comments:t=""

      props{
        actionsType:t="PERFORM_ONE_BY_ONE"
        conditionsType:t="ALL"
        enableAfterComplete:b=yes
      }

      events{
        periodicEvent{
          time:r=0.1
        }
      }

      conditions{
        unitWhenInArea{
          math:t="3D"
          object_type:t="isActive"
          object_marking:i=0
          check_objects:t="any"
          object:t="sp"
          object:t="spb"
          object:t="PlayerA"
          object:t="PlayerB"
          target:t="race_wp_00"
        }
      }

      actions{
        missionMarkAsWaypoint{
          visible:b=yes
          primary:b=yes
          oriented:b=no
          ignoreDifficulty:b=yes
          scale:r=0.2
          target:t="race_wp_01"
          team:t="Both"

 

Share this post


Link to post
Share on other sites

  • 1 month later...

Just got an error: 'Bad Parameter' that shows up when pressing start in custom battles (in the game).

Wondering where I could find the log file that explains what parameter is incorrect in the WT game folder (using Steam).

 

tma1973 

Share this post


Link to post
Share on other sites

  • Senior Technical Moderator
5 hours ago, tma1973 said:

Just got an error: 'Bad Parameter' that shows up when pressing start in custom battles (in the game).

Wondering where I could find the log file that explains what parameter is incorrect in the WT game folder (using Steam).

 

tma1973 

AFAIK you can't. It just means there's something with your mission. I think you have to review it manually.

  • Upvote 1

Share this post


Link to post
Share on other sites

On 12/1/2017 at 9:56 AM, LordMustang said:

AFAIK you can't. It just means there's something with your mission. I think you have to review it manually.

Thanks for the reply LordMustang,

In the mission editor, would this be under the 'Mission' tab or (same window) under my 'Triggers' tab?Untitled-1.thumb.jpg.301b626cb37205186dd

 

t

Share this post


Link to post
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Hello,

Tried the above and also did a search for more info on this but came up empty handed.

This error is driving me nuts lol.  I've been ussing the Miss. Editor for a short while with really no problems.

Is there a log file I can check this error?

 

* I did narrow it down now where when under one of my main ReSpawn Tiggers, adding another condition (unitSetStatus) and Action (unitRespawn), I get this error.  If I disable it, no more error.

When the error pops up (happens only when you click 'ready' then click 'start' ...starts to load and the error comes up.  Under the error there is some sort of I.D. (#?)

I've also uninstalled then re-installed the CDK package.

Any help would probably save my sanity ;)

Thomas

Edited by tma1973

Share this post


Link to post
Share on other sites

  • Senior Technical Moderator
On 3-1-2018 at 11:46 AM, tma1973 said:

Hello,

Tried the above and also did a search for more info on this but came up empty handed.

This error is driving me nuts lol.  I've been ussing the Miss. Editor for a short while with really no problems.

Is there a log file I can check this error?

 

* I did narrow it down now where when under one of my main ReSpawn Tiggers, adding another condition (unitSetStatus) and Action (unitRespawn), I get this error.  If I disable it, no more error.

When the error pops up (happens only when you click 'ready' then click 'start' ...starts to load and the error comes up.  Under the error there is some sort of I.D. (#?)

I've also uninstalled then re-installed the CDK package.

Any help would probably save my sanity ;)

Thomas

Some triggers don't work in multiplayer missions. That might be the case. You can't really fix this. Maybe there's an error in that trigger somewhere?

Share this post


Link to post
Share on other sites

17 hours ago, LordMustang said:

Some triggers don't work in multiplayer missions. That might be the case. You can't really fix this. Maybe there's an error in that trigger somewhere?

Well not sure but it really seems like when I add a unit then use condition status unit and unit type: iskilled, Action unitRespwn (unit type: is killed) and a respawn area/point, I get the Bad Parameters error.

If I go back and either disable these entries or delete them the error doesn't show up.

I could post a log file, but not sure which one would show this error...

 

thomas

Share this post


Link to post
Share on other sites

  • Senior Technical Moderator
39 minutes ago, tma1973 said:

Well not sure but it really seems like when I add a unit then use condition status unit and unit type: iskilled, Action unitRespwn (unit type: is killed) and a respawn area/point, I get the Bad Parameters error.

If I go back and either disable these entries or delete them the error doesn't show up.

I could post a log file, but not sure which one would show this error...

 

thomas

There's not really a point for a log as this isn't a clientside issue. Like I said previously, certain triggers don't work/are disabled for multiplayer missions, resulting in the bad parameter error. You'll have to remove them and create a workaround with other triggers I think.

Share this post


Link to post
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...