Home   Help Search Login Register  

Author Topic: Different weapons in brief?  (Read 808 times)

0 Members and 1 Guest are viewing this topic.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Different weapons in brief?
« on: 03 Feb 2004, 10:04:53 »
Hi, how do I make it possible to choose between different weapons in the briefing? I know default is to change weapons between soldiers, but how do I add more to pick from? Do I type something in the description.ext?

Thanks in advance, yer the best  8)
Weeee...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Different weapons in brief?
« Reply #1 on: 03 Feb 2004, 11:15:36 »
Yes, it's all done in description.ext.   There are a couple of tutes in the Ed Depot, or you can just download the Tutorial Mission and use the description.ext there as a template - you don't reallyneed a tute for gear selection, it's very straightforward.

There is a weapon and ammo list under tutorials - references.
Plenty of reviewed ArmA missions for you to play

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Different weapons in brief?
« Reply #2 on: 03 Feb 2004, 13:09:52 »
Cool, thanks guba.  :)
Weeee...

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Different weapons in brief?
« Reply #3 on: 03 Feb 2004, 13:14:35 »
Ok, I understand that you should really go and find out yourself by looking in the ed-depot, but i really hate it when you ask a question and you get that as an answer.
Nevertheless it is the correct one.
Just this once.

You should have something like this in your description.ext



class Weapons
{
    class sebithaca
    {
        count = 2;
    };
   
};

class Magazines
{
    class sebithacashell
    {
        count = 20;
    };
    class pipebomb
{
   count = 6;
};
 class pcw_fnfalmag
{
   count = 25;
};
 class handgrenade
{
   count = 20;
};
};

I have it after the onloadmission = Blah, blah, blah bit at the top. The weapons listed there are from Sebnampack2 but the weapons you probably want are,

WEST:
Weapon Name  . . . . . . . . . . .Ammo Name
HK . . . . . . . . . . . . . . . . . . . . .HK
M4 . . . . . . . . . . . . . . . . . . . . .M4
M16 . . . . . . . . . . . . . . . . . . . .M16
M16GrenadeLauncher . . . . . .M16GrenadeLauncher
M60 . . . . . . . . . . . . . . . . . . . .M60
M21 . . . . . . . . . . . . . . . . . . . .M21
MM1 . . . . . . . . . . . . . . . . . . . MM1magazine
G36a . . . . . . . . . . . . . . . . . . .G36amag
XMS . . . . . . . . . . . . . . . . . . . .M4
Steyr . . . . . . . . . . . . . . . . . . .SteyrMag
LAWLauncher . . . . . . . . . . . ..LAWLauncher
CarlGustavLauncher . . . . . . .CarlGustavLauncher
AALauncher . . . . . . . . . . . . . .AALauncher
LaserDesignator . . . . . . . . . .LaserDesignator
Mortar . . . . . . . . . . . . . . . . . .Mortar
EAST:
Weapon Name Ammo Name
AK74SU . . . . . . . . . . . . . . . . .AK74
AK74 . . . . . . . . . . . . . . . . . . .AK74
AK74GrenadeLauncher . . . . .GrenadeLauncher
AK47CZ . . . . . . . . . . . . . . . . .AK47
AK47GrenadeLauncher . . . . .GrenadeLauncher
PK . . . . . . . . . . . . . . . . . . . . .PK
Kozlice . . . . . . . . . . . . . . . . . .kozliceball, kozliceshell
Bizon . . . . . . . . . . . . . . . . . . .BizonMag
SVDDragunov . . . . . . . . . . . .SVDDragunov
RPGLauncher . . . . . . . . . . . . .RPGLauncher
AT4Launcher . . . . . . . . . . . . .AT4Launcher
9K32Launcher . . . . . . . . . . . .9K32Launcher
6g30 . . . . . . . . . . . . . . . . . . . .6g30Magazine
EQUIPMENT:
Binocular
NVGoggles
Flare . . . . . . . . . . . . . . . . . . .Flare
FlareRed . . . . . . . . . . . . . . . .FlareRed
FlareGreen . . . . . . . . . . . . . . .FlareGreen
FlareYellow . . . . . . . . . . . . . . .flareYellow
SmokeShell . . . . . . . . . . . . . .SmokeShell
SmokeShellRed . . . . . . . . . . .SmokeShell Red
SmokeShellGreen . . . . . . . . . .SmokeShell Green
HandGrenade . . . . . . . . . . . . .HandGrenade
Pipebomb . . . . . . . . . . . . . . . .Pipebomb
Timebomb . . . . . . . . . . . . . . .Timebomb
Mine . . . . . . . . . . . . . . . . . . . .Mine

you can depbo missions and if they have a weapon select you can usually copy paste and add bits here and there.

That took all of 2 mins to write, and it didn't even hurt.
« Last Edit: 03 Feb 2004, 13:15:29 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Different weapons in brief?
« Reply #4 on: 03 Feb 2004, 13:15:34 »
Thanks... well that answer is OK by me but right now the ed depot is down right? So thank you very much :)

And good luck with your designer career btw

Oh, yeah. One more thing lol.

How do you make the weapons belong to either side EAST, WEST, GUER?

I don't want the EAST players to steal the WEST player's weapons.  ::)

Ah, I unpbo'ed a Resistance mission and found this:    

class 9K32Launcher
    {    // Russian AA Launcher
        count = 1;
};
    class AK47GrenadeLauncher
    {    // Guerrila rifle with grenade launcher
        count = 2;

This must mean that you put Guerrila and Russian and US before the name of the weapon?

Guess not... the // makes it just text :/
« Last Edit: 03 Feb 2004, 13:37:43 by Wildebeest »
Weeee...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Different weapons in brief?
« Reply #5 on: 03 Feb 2004, 15:19:28 »
Yes, the // makes it text like ; in an ordinary script.   Weapons don't have sides:  is this an MP mission?

The Ed Depot is essentially open but it's a bit temperamental and you have to fight a little to find what you need.   Link in my signature line.


@The-Architect, I understand your position.    However, I don't post answers like the one I did because of time constraints.   Your answer answers the question.   Well that's fine.  :thumbsup:   Mine provided the answer to the question; the potential to answer all future questions relating to description.ext; a background reading list to help with understanding the answer; a worked example; and helpful supplementary information namely where to find the several weapons and ammo lists.    All in four lines.      

There's a point of educational philosophy here.  Is it better to spoon feed somebody the direct answer to a direct question?   Or is it better to show them where they can find the direct answer plus a whole bunch of related useful stuff which will help them understand what's going on and also improve their mission editing knowledge in general?      
Plenty of reviewed ArmA missions for you to play

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Different weapons in brief?
« Reply #6 on: 03 Feb 2004, 18:58:16 »
Lol I know... but all depots seem to be down... or maybe it's just me who is stupid :)
Weeee...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Different weapons in brief?
« Reply #7 on: 03 Feb 2004, 19:01:55 »
Follow the link in my signature line and see what you can find - a lot of stuff is there but you have to work a little to get to it.   Many links are not working.    Should all be fixed soon though.
Plenty of reviewed ArmA missions for you to play

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Different weapons in brief?
« Reply #8 on: 04 Feb 2004, 10:11:29 »
Take a look at Chris's OFP Script Editor. It comes with a few useful Wizards which let you easy creates Briefings, Overviews and also description.ext files. It is really easy to use and gives you all tools at hand for making all necessarly files. It is also useful if you script, as it checks the syntax. It has also a command reference integrated.

I think the editor should be somewhere in the Ed depot but i dunno the link. But i can give you another for d/l

http://www.stormtroopers.ch/downloads/chofpse_setup_230.zip

:edit:
right click on it and select "save link target as..."
« Last Edit: 04 Feb 2004, 10:12:17 by myke13021 »