Jump to content

Flightster

Member
  • Content Count

    141
  • Joined

  • Last visited

  • Medals

Posts posted by Flightster


  1. I always used the semicolon (forgot to add it in my post) but it crashed me again, saying:

    File C:\users\myname\Documents\Arma 2 Other Profiles\]TG[Flightster\missions\missionname\saveLayout.sqf, line3: 'hint': "" encountered instead of '=

    ---------- Post added at 08:53 PM ---------- Previous post was at 07:39 PM ----------

    OMG, I found the problem! :yay:

    I had #include "savelayout.sqf" inside of my description.ext file.. I deleted that line to see if it would do anything, and tested it.

    To my surprise, it fixed all of the problems I was having :D


  2. 1) Set CTF_preserveLoadout=true;

    2) Create a 'AllWeapons' marker inside the wSpawn marker

    3) Start the mission (dedicated server) and have the player take both a SMAW launcher and SMAW rocket from the ammo crate that was spawned at the 'rockets' launcher.

    4) Move outside the wSpawn area (this triggers the storage of the loadout).

    5) Shoot a few rockets to see if it fills it up, kill myself

    On respawn, I have a full set of ammo for my primary weapon and 0 rockets


  3. This editor bloody hates me.. No matter what I try, it keeps crashing every time I attempt to put a simple line of text inside of my savelayout.sqf file.

    Here's what I have tried:

    _magazines = magazines player;
    _weapons = weapons player;
    
    Hint = "Loadout Saved"

    It's the hint that gives me trouble.. Even if my game doesn't crash, a hint doesn't show when I save the loadout


  4. Alright, got it to work.. The only problem is that it seems to not save rockets, any clue on how I could fix that? Also, I would like to have a player be notified once it saves by having a message pop up in the chat window.. How would I go about doing that? I tried putting the following inside my "savelayout.sqf":

    _magazines = magazines player;
    _weapons = weapons player;
    
    "Weapons and magazines layout saved." call XfGlobalChat;

    but my game keeps crashing because it doesn't match my "null0 = ammo1 addaction ["Save loadout", "savelayout.sqf"];" which I put in the ammo box's init space (in the editor), something along the lines of:

    File C:\users\myname\Documents\Arma 2 Other Profiles\]TG[Flightster\missions\missionname\saveLayout.sqf, line3: '.': "" encountered instead of '='

    Sorry for all the questions, but I really want to learn :)


  5. Hi guys,

    I'm currently in the process of making my very first PvP C&H map, and I am very interested in adding the AAS way (or something like it) of being able to save your loadout at the ammo box and having it saved for the entire duration of the game. I used the search option, and did find something.. The only problem is that it was a little too complicated for my "noob mind" to understand :p

    So if anyone is willing and able to help me out, and explain how I would go about doing this (the scripting, where to place it, how to get it to work in game, etc..), I would greatly appreciate it:)


  6. This is what I have been trying, btw:

    FOR DESCRIPTION.EXT

    //-----------------------------------------------------------------------------

    #include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp"

    //-----------------------------------------------------------------------------

    FOR INIT.SQF

    _Action = player addAction [

    "Team Status",

    "Scripts\TeamStatusDialog\TeamStatusDialog.sqf ",

    [

    ["Page", "Team"], //

    "AllowPlayerInvites" //

    /*

    "HideOpposition", // hide 'opposition' page & button

    */

    ],

    0, false, true, "" ];

    FOR STRINGTABLE.CSV (MAIN FOLDER)

    // Team Status Dialog strings:

    //Language,English,German

    #include "Scripts\TeamStatusDialog\stringtable.csv"

    FOR STRINGTABLE.CSV (SCRIPTS FOLDER)

    //Language,English,German

    //-----------------------------------------------------------------------------

    // Team Status Dialog strings:

    //-----------------------------------------------------------------------------

    STR_TSD9_01,Team Status,Team Status

    STR_TSD9_02,Close,Schliessen

    STR_TSD9_03,My team,Mein Team

    STR_TSD9_04,My group,Meine Gruppe

    STR_TSD9_05,Vehicle,Fahrzeug

    STR_TSD9_06,Opposition,Gegner

    STR_TSD9_07,Team,Team

    STR_TSD9_09,Group,Gruppe

    STR_TSD9_11,+/-,+/-

    STR_TSD9_12,#,#

    STR_TSD9_13,Name,Name

    STR_TSD9_15,Seat,Platz

    STR_TSD9_16,Role,Aufgabe

    STR_TSD9_17,Gear,Ausruestung

    STR_TSD9_18,Score,Punkte

    STR_TSD9_19,Command,Befehl

    STR_TSD9_20,Requires,Benoetigt

    // Pos=Position

    STR_TSD9_21,Pos,Pos

    // TL=Team Leader

    //STR_TSD9_22,TL Prox,TL Prox

    // Prox=Proximity

    STR_TSD9_23,My Prox,My Prox

    STR_TSD9_24,Target,Ziel

    STR_TSD9_25,Actions,Aktionen

    STR_TSD9_26,Pvt,Pvt

    STR_TSD9_27,Cpl,Cpl

    STR_TSD9_28,Sgt,Sgt

    STR_TSD9_29,Ltn,Ltn

    STR_TSD9_30,Cpt,Cpt

    STR_TSD9_31,Mjr,Mjr

    STR_TSD9_32,Col,Col

    STR_TSD9_33,A.I.,K.I.

    STR_TSD9_34,Dead,Tot

    STR_TSD9_35,Name unknown,Unbekannt

    // "some" describes ammo quantity

    STR_TSD9_36,some,some

    // "TL" = team leader

    STR_TSD9_37,TL,GF

    STR_TSD9_38,(My group),(Meine Gruppe)

    STR_TSD9_39,Vacant Seats,Freie Sitze

    STR_TSD9_40,has left your group,hat deine Gruppe verlassen

    STR_TSD9_41,has joined your group,ist deiner Gruppe beigetreten

    STR_TSD9_42,Your new Team Leader is,Dein neuer GF ist

    STR_TSD9_43,has resigned,hat aufgegeben

    STR_TSD9_44,Player,Spieler

    STR_TSD9_45,was kicked from the group,wurde aus der Gruppe entfernt

    STR_TSD9_46,soldier was removed from group,Soldat wurde aus der Gruppe entfernt

    // symbol (+) to indicate column uses combo controls

    STR_TSD9_47,+,+

    STR_TSD9_48,You are the new Team Leader,Du bist jetzt GF

    STR_TSD9_49,has been replaced,wurde abgesetzt

    STR_TSD9_50,The Team Leader is no longer an AI player,Der GF ist keine KI mehr

    STR_TSD9_51,New group,Neue Gruppe

    STR_TSD9_52,Join group,Beitreten

    STR_TSD9_53,Go TL,Werde GF

    STR_TSD9_54,New TL,Neuer GF

    STR_TSD9_55,Remove,Entfernen

    STR_TSD9_56,Kick,Kicken

    STR_TSD9_57,Recruit,Holen

    STR_TSD9_58,Invite,Einladen

    // "No", as in "No driver"

    STR_TSD9_59,No,Kein

    STR_TSD9_60,Passenger,Beifahrer

    STR_TSD9_61,was invited into group,wurde eingeladen

    STR_TSD9_62,soldier was recruited into group,Soldat wurde aufgenommen

    STR_TSD9_63,you have been invited to join group,du wurdest eingeladen

    STR_TSD9_64,Collapse all,Keine Details

    STR_TSD9_65,Expand all,Alle Details

    //-----------------------------------------------------------------------------


  7. I thought that might have been the main issue, thanks for the info mate :-)

    I'll look into the link you posted, and hopefully I'll find something.. Can't wait for when / if you release one for arma 2!

    ---------- Post added at 01:55 PM ---------- Previous post was at 01:53 PM ----------

    This is what I have been trying, btw:

    FOR DESCRIPTION.EXT

    //-----------------------------------------------------------------------------

    #include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp"

    //-----------------------------------------------------------------------------

    FOR INIT.SQF

    _Action = player addAction [

    "Team Status",

    "Scripts\TeamStatusDialog\TeamStatusDialog.sqf ",

    [

    ["Page", "Team"], //

    "AllowPlayerInvites" //

    /*

    "HideOpposition", // hide 'opposition' page & button

    */

    ],

    0, false, true, "" ];

    FOR STRINGTABLE.CSV (MAIN MISSION FOLDER)

    // Team Status Dialog strings:

    //Language,English,German

    #include "Scripts\TeamStatusDialog\stringtable.csv"

    FOR STRINGTABLE.CSV (SCRIPTS FOLDER)

    //Language,English,German

    //-----------------------------------------------------------------------------

    // Team Status Dialog strings:

    //-----------------------------------------------------------------------------

    STR_TSD9_01,Team Status,Team Status

    STR_TSD9_02,Close,Schliessen

    STR_TSD9_03,My team,Mein Team

    STR_TSD9_04,My group,Meine Gruppe

    STR_TSD9_05,Vehicle,Fahrzeug

    STR_TSD9_06,Opposition,Gegner

    STR_TSD9_07,Team,Team

    STR_TSD9_09,Group,Gruppe

    STR_TSD9_11,+/-,+/-

    STR_TSD9_12,#,#

    STR_TSD9_13,Name,Name

    STR_TSD9_15,Seat,Platz

    STR_TSD9_16,Role,Aufgabe

    STR_TSD9_17,Gear,Ausruestung

    STR_TSD9_18,Score,Punkte

    STR_TSD9_19,Command,Befehl

    STR_TSD9_20,Requires,Benoetigt

    // Pos=Position

    STR_TSD9_21,Pos,Pos

    // TL=Team Leader

    //STR_TSD9_22,TL Prox,TL Prox

    // Prox=Proximity

    STR_TSD9_23,My Prox,My Prox

    STR_TSD9_24,Target,Ziel

    STR_TSD9_25,Actions,Aktionen

    STR_TSD9_26,Pvt,Pvt

    STR_TSD9_27,Cpl,Cpl

    STR_TSD9_28,Sgt,Sgt

    STR_TSD9_29,Ltn,Ltn

    STR_TSD9_30,Cpt,Cpt

    STR_TSD9_31,Mjr,Mjr

    STR_TSD9_32,Col,Col

    STR_TSD9_33,A.I.,K.I.

    STR_TSD9_34,Dead,Tot

    STR_TSD9_35,Name unknown,Unbekannt

    // "some" describes ammo quantity

    STR_TSD9_36,some,some

    // "TL" = team leader

    STR_TSD9_37,TL,GF

    STR_TSD9_38,(My group),(Meine Gruppe)

    STR_TSD9_39,Vacant Seats,Freie Sitze

    STR_TSD9_40,has left your group,hat deine Gruppe verlassen

    STR_TSD9_41,has joined your group,ist deiner Gruppe beigetreten

    STR_TSD9_42,Your new Team Leader is,Dein neuer GF ist

    STR_TSD9_43,has resigned,hat aufgegeben

    STR_TSD9_44,Player,Spieler

    STR_TSD9_45,was kicked from the group,wurde aus der Gruppe entfernt

    STR_TSD9_46,soldier was removed from group,Soldat wurde aus der Gruppe entfernt

    // symbol (+) to indicate column uses combo controls

    STR_TSD9_47,+,+

    STR_TSD9_48,You are the new Team Leader,Du bist jetzt GF

    STR_TSD9_49,has been replaced,wurde abgesetzt

    STR_TSD9_50,The Team Leader is no longer an AI player,Der GF ist keine KI mehr

    STR_TSD9_51,New group,Neue Gruppe

    STR_TSD9_52,Join group,Beitreten

    STR_TSD9_53,Go TL,Werde GF

    STR_TSD9_54,New TL,Neuer GF

    STR_TSD9_55,Remove,Entfernen

    STR_TSD9_56,Kick,Kicken

    STR_TSD9_57,Recruit,Holen

    STR_TSD9_58,Invite,Einladen

    // "No", as in "No driver"

    STR_TSD9_59,No,Kein

    STR_TSD9_60,Passenger,Beifahrer

    STR_TSD9_61,was invited into group,wurde eingeladen

    STR_TSD9_62,soldier was recruited into group,Soldat wurde aufgenommen

    STR_TSD9_63,you have been invited to join group,du wurdest eingeladen

    STR_TSD9_64,Collapse all,Keine Details

    STR_TSD9_65,Expand all,Alle Details

    //-----------------------------------------------------------------------------

    Anything I should change?


  8. mmm..

    I can't seem to get the team dialog to work properly.. I did everything according to the readme file, but I keep having issues while testing.

    Problems:

    - Buttons are without text (as in: close, join team, new TL, etc)

    - I keep getting errors when I scroll - team status, those errors being: "No entry 'mpmission\__cur_mp.Chernarus\description.ext\ICE_ TeamStatusDialog\TSD9_Col_04_Row_01.ScrollBar' and (in chat) "MISSING STR_TSD9_* STRINGTABLE DATA"

    Yes, I'm a noob.. And yes, I have no clue.. Anyone of you have any idea what I might be doing wrong and how to fix it, or is anyone (that knows / uses this) willing to send me a complete and working file? Any help will be greatly appreciated :)


  9. Awesome, thanks a lot :)

    ---------- Post added at 11:32 AM ---------- Previous post was at 11:31 AM ----------

    mmm..

    I can't seem to get the team dialog to work properly.. I did everything according to the readme file, but I keep having issues while testing.

    Problems:

    - Buttons are without text (as in: close, join team, new TL, etc)

    - I keep getting errors when I scroll - team status, those errors being: "No entry 'mpmission\__cur_mp.Chernarus\description.ext\ICE_ TeamStatusDialog\TSD9_Col_04_Row_01.ScrollBar' and (in chat) "MISSING STR_TSD9_* STRINGTABLE DATA"

    Yes, I'm a noob.. And yes, I have no clue.. Anyone of you have any idea what I might be doing wrong and how to fix it, or is anyone (that knows / uses this) willing to send me a complete and working file? Any help will be greatly appreciated


  10. Hi guys,

    I was wondering how I would go about making it possible for players to join the team of another?

    I know Xeno's domination has this option, where a player would be able to go to the "show status" option, join a team and then markers would show up on screen indicating the position of all team mates..

    I would like to do something like this, but I don't really know how.. I only want people to be able to join teams, not be able to change the settings (grass, view distance, etc).


  11. Hi guys,

    I just recently started making maps (using [sBS]mac's pack) and just found out that you could acces the 3D editor, something that would have made my life a little bit easier seeing as my map is almost done and I really could have used some 3D action while trying to place objects in my map :rolleyes:

    Well, let's get to the point:

    Would it be possible to continue editting my mission (made in 2D) in 3D mode if I somehow moved my file to a different folder? If so, which one would that be and how would I go about it?

    It would make my life a little easier and it would defenitly help with a lot of things :)


  12. I don't really get it either, but overall it sounds (and looks) like a great way to have a little fun outside of the normal modes.

    The only issue I have is that the servers offering this mode are aussie... Nothing against australians, but it doesn't really help a lot when you get kicked for high ping after 5 minutes of trying to figure out how it all works.. So hopefully there will be other servers offering it soon?

×