Home   Help Search Login Register  

Author Topic: Need adv. info on inserting res buildings  (Read 3852 times)

0 Members and 1 Guest are viewing this topic.

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #15 on: 03 Apr 2003, 05:31:27 »
Thanks for all the replies so far.  In my defence, the list of objects isn't obvious as to what it is unless you already know (IE searching for resistance buildings won't flag it)

Right.  Now I know what the building is called, but I've ran into another problem:  Creating it doesn't work right.  I can camcreate things like jeeps, trucks, tents etc no problem, but when I use ( example)
Ascaf= "leseni4x" camcreate [(getpos amarker select 0),  (getpos amarker select 1), (getPos amarker select 2)+5]  

it doesn't work.  Do I have to use some sort of folder description eg "/misc/leseni4x"  (that doesnt work)
?

The above code works to create jeeps and other things, but not seemingly anything in the resistance folder.
Sorry if this is a stupid question, I really have tried looking for it.

Oh- I forgot.  When I say 'doesn't work', I mean I cant see anything in the mission preview, but there are no error messages.  When I try with a jeep I can see it fine.
« Last Edit: 03 Apr 2003, 05:33:02 by hurlothrumbo »

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #16 on: 03 Apr 2003, 05:52:53 »
Ahhh I found the problem, the list of houses by planck are all labelled wrong!
Instead of Houseleseni2x it just says leseni2x!  
Or instead of reshousewhatever!

Thanks guys!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Need adv. info on inserting res buildings
« Reply #17 on: 03 Apr 2003, 07:34:48 »
Were there trees in 0.pbo too? I really need the trees list :-\.
« Last Edit: 03 Apr 2003, 07:35:01 by The real Armstrong »

titan

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #18 on: 03 Apr 2003, 12:46:12 »
i need help with the list on the o-pbohous95 file (lst and pics of all buildings). i tried  

object = "posed" camcreate getpos posed

(posed is a tower)

this doesnt work, when i replace "posed" with m1abrams it does work. So i think the list is either wrong or the names are different for the english version (as all the building names look forign)

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #19 on: 03 Apr 2003, 15:49:34 »
yes there are trees but I dont know what the names are.  The houses and stuff need the prefix house- or reshouse- to work but the other objects, I dont know what the prefix is :(

titan could try houseposed or reshouseposed, but I dont know what would help armstrong, sorry.

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #20 on: 03 Apr 2003, 15:52:32 »
titan, you're also using getpos for something you haven't created yet.  Try using a game logic called something else; for one called Adude -
 "object = "posed" camcreate getpos Adude"

titan

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #21 on: 03 Apr 2003, 17:36:33 »
atually the   getpos posed  wld work, cause posed was the name of my trigger!

also is it pos to create smething at a marker, i tried...

object = bla bla bla getmarkerpos posed  

(marker named posed) but it doesnt work, not even for units...any idea?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Need adv. info on inserting res buildings
« Reply #22 on: 03 Apr 2003, 17:43:00 »
There isn't an object called "posed".  Look again at the example

bomb="shell125" camcreate getpos SomeDude

There is a thing called shell125.   There is a thing called Abrams.  You have to tell the game what object to create.  

bomb="T72" camcreate getpos posed
« Last Edit: 03 Apr 2003, 17:45:10 by macguba »
Plenty of reviewed ArmA missions for you to play

titan

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #23 on: 03 Apr 2003, 18:18:09 »
there is a thing called a posed, its a small tower.

what i mean is how can u create smething at a marker
ive tried..
   
object = "reshouseposed" camcreate getmarkerpos here

getmarkerpos  is telling it to find the position of a marker called here.

this doesnt work, even if you tell it to create a bomb or smething there it still doesnt work!

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #24 on: 03 Apr 2003, 18:46:09 »
I got it to work with just getpos instead of getmarkerpos

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Need adv. info on inserting res buildings
« Reply #25 on: 03 Apr 2003, 21:26:32 »
The O.pbo when depboed contains 11 folders and a lot of textures.

The 11 folders are:

Anim - Animation files
char - Various characters and textures
divk - Ruin objects and texturtes
Guns Gun objects and textures
Hous - Building objects and textures
Misc - Miscellaneous objects and textures
Music - Music files
Road - Road objects and textures
Skal - Rock objects and textures
Tree - Tree objects and textures
Vehl - Vehicle objects and textures

The Anim folder contains no objects, only animation files.
The Music folder contains only  .ogg music files.

The object lists in the Editors depot relate to the remaining 9 folders thus:

O-PBOchar(10)........char folder list
O-PBOdivk(16)........divk folder list
O-PBOGuns(19)......Guns folder list
O-PBOHous(95)......Hous folder list
O-PBOMisc(93).......Misc folder list
O-PBORoad(66)......Road folder list
O-PBOSkal(15).......Skal folder list
O-PBOTree(41)......Tree folder list
O-PBOVehl(9)........Vehl folder list


All very logical really.

@hurlothrumbo

The file names in all the lists are labelled correctly, they are the object file names found in each folder contained in O.pbo.
« Last Edit: 04 Apr 2003, 00:34:00 by Planck »
I know a little about a lot, and a lot about a little.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Need adv. info on inserting res buildings
« Reply #26 on: 03 Apr 2003, 23:59:37 »
try this titan

something = "whatever" camcreate getmarkerpos "here"

getmarkerpos works with strings  ;)


titan

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #27 on: 04 Apr 2003, 00:03:27 »
you absolute genius! thankyou.

2 more things i need now 1)does anyone know what the name for empty veichles are.

2) when you do make a building or smething how do you rotate it so its at a certain angle?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Need adv. info on inserting res buildings
« Reply #28 on: 04 Apr 2003, 00:14:12 »
the name for empty vehicles is just the name of the vehicle, like bmp, if you need the crew you have to create them seperatly, its

soldierecrew

if I remember right and to set the direction use

setdir 0-360

depending on the direction you want.

hurlothrumbo

  • Guest
Re:Need adv. info on inserting res buildings
« Reply #29 on: 04 Apr 2003, 10:51:03 »

@hurlothrumbo

The file names in all the lists are labelled correctly, they are the object file names found in each folder contained in O.pbo.


Yeah I know what the structure is (now) but still don't know what the names are to create the objects
EG some stuff in the same directory has different prefixes.  How do you know what to call something to create it?