Home   Help Search Login Register  

Author Topic: buildings FaQ - difficulties  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

ROBINO

  • Guest
buildings FaQ - difficulties
« on: 16 Sep 2003, 14:53:17 »
hi all and thanks for all the help you've given me previously.

i have noticed that for the FaQ on how to add building to your map, some of the listed 1.46 buildings have an underscore "_" as part of their name.  Typing in the exact same syntax as described causes OFP to crash to desktop with "unrecognised vehicle" error message - but this only happens with building that have the underscore in their name.

Does anyone know if the syntax listed in the FaQ is incorrect in some way ?

Offline rhysduk

  • Former Staff
  • ****
Re:buildings FaQ - difficulties
« Reply #1 on: 16 Sep 2003, 22:04:59 »
I have never been able to get that god damn tut to work ... lol

Sorry no help though ;D
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

ROBINO

  • Guest
Re:buildings FaQ - difficulties
« Reply #2 on: 07 Oct 2003, 14:42:47 »
*************************

Allow me to repeat the problem --
The editor does not recognise the building names that include an underscore "_" in thier name.  I am using the list of buildings and the method of planting them on the map that is described in the FAQ "buildings" section for a v1.46 editor.

its been a while now and no-one has been able to sort out this pretty serious problem.  You wouldn't have guess the FAQ to be wrong but if anyone can suggest what i'm doing wrong - or make a further contribution to the FAQ it would be most welcome.

ROBINO OUT

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:buildings FaQ - difficulties
« Reply #3 on: 07 Oct 2003, 17:30:47 »
If you're playing OFP version 1_46 then use the "CamCreate" command:


  :D Code is:

     MyHouse = "Houseafdum_mesto3" CamCreate (getpos T1)

...where "T1" is the name of a trigger (in where you could put the code).  ::)


Not all buildings have underscores though.... some use "Dum03" Dum09" etc.  :)

It's the CLASS NAME we must use (not the model name) of a building/vehicle.



In OFP 1.75+ most people use "CreateVehicle" instead of "CamCreate"
« Last Edit: 07 Oct 2003, 17:31:07 by Tomb »