Home   Help Search Login Register  

Author Topic: How Do I Create An Armoured Unit During Game Play  (Read 557 times)

0 Members and 1 Guest are viewing this topic.

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
How Do I Create An Armoured Unit During Game Play
« on: 02 Sep 2003, 19:58:08 »
How do you create an armoured unit with only a gunner and with working AI during game play, without having another unit on the map as leader?  ???
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

deaddog

  • Guest
Re:How Do I Create An Armoured Unit During Game Play
« Reply #1 on: 02 Sep 2003, 21:38:41 »
All vehicles created in game are empty.  You'll also have to create a crew (using createunit) and put them in the vehicle.

Quote
without having another unit on the map as leader?

If you are refering to the fact that there must be a groupname when using createunit then do this:

place a soldier on the map and give it a group name and then deletevehicle it:

tank1=group this;deletevehicle this

Now use tank1 as the groupname when using create unit.  The group name is still valid after that unit is deleted.

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
chears for the advice deaddog
« Reply #2 on: 02 Sep 2003, 22:02:29 »
chears for the advice deaddog, but the situation at hand is that i've made a flashpoint comand and conquer type map and the armoured unit serves the job of ground mounted defence turrets, which means i need an unlimited supply of them, but as you well know you can only get twelve to a group, and i would prefur to not have sevral leaders or, "_counter" commands manning that post. But thanks for your time anyway.
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

deaddog

  • Guest
Re:How Do I Create An Armoured Unit During Game Play
« Reply #3 on: 02 Sep 2003, 22:26:47 »
No problem.

I've played a lot of C&C and I never needed unlimited turrets :)  OFP has a unit/group limit anyway:  63 groups max per side.  It would be pretty easy to monitor about 5 groups of 12 units each, giving 60 "turrets".  That's a lot of turrets :)  Having several group leaders would not make a bit of difference.  If you set the fuel state of each tank/turret to zero, they are not going anywhere anyway.

BTW, I like the idea of a C&C type RTS game.

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
I Suppose So...
« Reply #4 on: 02 Sep 2003, 22:38:28 »
Chears again deaddog, i suppose your right when you put it that way.

I got the idea for the map when i played the "red hammer" - ambush map where you have to set up tanktraps. so i got some scripts from there aswell. except i edited them so the buildings raise from the ground, with working money scripts aswell.

It works in multiplayer  for all West, East and Res, BUT i have not progremed AI

If you want i could drop you a copy when its done, and you can mess around with it a bit.

BUT BE WARNED my scripts are messy
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]