Home   Help Search Login Register  

Author Topic: Tent names  (Read 1093 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Tent names
« on: 24 Sep 2003, 21:08:00 »
Hello.

Does anyone know the name the game uses for the tents on the west side? I checked the editors depot and it seems to have everything but the tents.

Thanks for the help ;D
"Everyone dies so deal with it and move on"

                                                      ME

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Tent names
« Reply #1 on: 24 Sep 2003, 21:52:44 »
Try this:

hint format ["%1",typeof Tent]

Where Tent is the name of the tent.

:beat: *Gets Shot* :beat:
« Last Edit: 24 Sep 2003, 21:53:01 by The real Armstrong »

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Re:Tent names
« Reply #2 on: 24 Sep 2003, 22:33:46 »
Hi

Thanks for the reply. However I dont understand how to use this info you have given me. I put this line into a trigger and then tried it in the Init line of a tent and both times it said" Unknown operator tent. Could you explain further?

Thanks for the help ;D
"Everyone dies so deal with it and move on"

                                                      ME

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Tent names
« Reply #3 on: 24 Sep 2003, 23:06:41 »
hey matey!

maybe YOU should do a lil' explaining too  :D :o :) WEST tent?

as far as I know, the tents from the "OBJECTS" menu are all sided to EMPTY (civilian, sort of).

Are ya trying to "CreateVehicle" a tent or what?  ???

Anyho'  the CLASS_NAMES which the game engine uses are these:

  "Camp"

  "CampEmpty"

  "CampEast"

  "CampEastC"

 and "MASH" (the medic tent).

 And to use these names, make a trigger with this code:

                         MyTent = "CampEmpty" camCreate getpos T1

 (where T1 is the NAME of your trigger - name it in the triggers "name" field - or the name of a gameLogic)


hope this helps ?!

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Tent names
« Reply #4 on: 25 Sep 2003, 00:41:50 »
The only tents being side-specific, are the ones from
editor-upgrade (or editor-update).

If you want to figure out their names, then best you
can do is:

place those objects on the map, save the map, open
mission.sqm with notepad and scroll down, until you find
'em.

:note - if you would even give them a name in the editor,
it might help ya speed up your scrolldown-search in the
mission.sqm.

Once you found them, you should see something like that:

Code: [Select]
         side="EAST";
         class Vehicles
         {
            items=1;
            class Item0
            {
               position[]={9723.226563,29.834999,3927.928955};
               id=1;
               side="EAST";
               vehicle="GAX180";
               leader=1;
               skill=0.600000;
            };
         };
      };
   };

Where: GAX180 is the name of this EAST mash tent,
while GAA180 would be the WEST mash tent.

All other names you need i'd suggest you to do it yourself,
'cause i don't wanna do all that "funky easy dirty work".

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Re:Tent names
« Reply #5 on: 25 Sep 2003, 00:46:04 »
Thanks for the help. I got it working using the class names

 ;D ;D
"Everyone dies so deal with it and move on"

                                                      ME