Home   Help Search Login Register  

Author Topic: How do u add buildings with out .......  (Read 1763 times)

0 Members and 2 Guests are viewing this topic.

US-NATO_Term

  • Guest
How do u add buildings with out .......
« on: 29 Sep 2002, 22:57:08 »
I know there is something that teaches u how to add buildings with out an editor upgrade but i dont know hwre it is. So how do u add buildings in a game with out using editor upgrades, cz i wanna make a map with buildings that everyone can play with out any addons :) plz  :gunman: :help:

vektorboson

  • Guest
Re:How do u add buildings with out .......
« Reply #1 on: 29 Sep 2002, 23:05:58 »
That's very nice because I hate the Editor Addons as they fill the listboxes with stuff that I never need!

The command you need is createVehicle, look for it in a reference. What you need is a complete list that lists all class names of the buildings (i.e. the unofficial comref which has an object class tree)

US-NATO_Term

  • Guest
Re:How do u add buildings with out .......
« Reply #2 on: 29 Sep 2002, 23:45:31 »
anyone know where the tutorial is on this site, cuz i remeber readin it once but back then i didnt understand that stuff. and i remeber it giving all the buildings with names and pics for them

Chudley

  • Guest
Re:How do u add buildings with out .......
« Reply #3 on: 29 Sep 2002, 23:51:30 »
I have the unofficial ComRef in .pdf format (Adobe Acrobat).

Gimme your e-mail and I'll send it by the way.

Or I THINK it's in the tutorial section of the editing depot.
:D

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:How do u add buildings with out .......
« Reply #4 on: 30 Sep 2002, 06:07:23 »
What you want to do is grab the Resistance House list to get the names of buildings.

Then you simply use:

bld = "buildingname" createvehicle position

To put the building where you want it. You can also use:

bld setdir direction

to rotate it to your satisfaction ;)

US-NATO_Term

  • Guest
Re:How do u add buildings with out .......
« Reply #5 on: 30 Sep 2002, 23:41:34 »
where do u put that line in?? plz dont say a script. plz say a trigger or something? would it be a gamelogic trigger?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:How do u add buildings with out .......
« Reply #6 on: 30 Sep 2002, 23:50:45 »
Preferably put it in the init so it shows at the start of the mission without a delay.

You can of course alter the sqm file, changing the vehicle to that of a house name and the house name will show instead of the unit you placed in.

US-NATO_Term

  • Guest
Re:How do u add buildings with out .......
« Reply #7 on: 01 Oct 2002, 23:17:07 »
annnnnnnnnd how do i do that lol

_54th_Yoshi

  • Guest
Re:How do u add buildings with out .......
« Reply #8 on: 01 Oct 2002, 23:23:12 »
Has anyone figured out how to add street lights with out the use of an addon? I have been looking for how to do it, but i can't find it.

Guru

  • Guest
Re:How do u add buildings with out .......
« Reply #9 on: 04 Oct 2002, 07:02:14 »
well i use civillians placed where i want building to be, then save.
-
then alt-tab out of editor
-
goin to mission folder u just saved
-
and find mission.sqm
-
open it with note pad and find ur civilian in the list and change the vehicle name ie:civilian an change it to building name.
 once u find that list of names of coarse
-
thens save.
-
then go to the editor again using alt-tab
-
and load mission again, so it changes the civy to a building
thats it!!!
-
how ever if u double click the building an hit ok it will change him back to a civy----- which means u gotta go back in an change the .sqm again thats all.
-
hope that explains it ;D

US-NATO_Term

  • Guest
Re:How do u add buildings with out .......
« Reply #10 on: 05 Oct 2002, 16:27:29 »
sweeeet   8) thx,  :cheers: :toocool:

US-NATO_Term

  • Guest
Re:How do u add buildings with out .......
« Reply #11 on: 05 Oct 2002, 23:55:45 »
works like a charm man, u da man!!!!! 8)