Vehicle Spawning

Discussion in 'Mapping' started by Satanchild666, Nov 27, 2008.

  1. Satanchild666

    Satanchild666 Banned

    Messages:
    968
    Likes Received:
    0
    Trophy Points:
    0
    Is there an entity that can make vehicles spawn? Because in the map I am currently making I need reinforcements to spawn for NF :S
     
  2. Blight

    Blight Member

    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    0
    My guess would be a point_template with an input to forcespawn the vehicle. I've tried using vehicle entities with the NF jeep model and NF jeep script but that doesnt seem to work
     
  3. Satanchild666

    Satanchild666 Banned

    Messages:
    968
    Likes Received:
    0
    Trophy Points:
    0
    How does that work?
     
  4. Blight

    Blight Member

    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    0
    Get the jeep prop working in hammer editor (I don't know how to do this),
    Give it a name,
    Make a point_template and set the prop as the template,
    Give the pont_template the 'forcespawn' input.

    More info about the point_template here: http://developer.valvesoftware.com/wiki/Point_template
     
  5. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    Ive tried to do this, i failed...

    the key problem is that a jeep prop cant decide what engine or armor it has, and thus fails

    to my knowledge it is impossible to get a drivable vehicle (or a vehicle that doesn't make you crash when you enter it/spawn it)to spawn in game with triggers at this time
     
  6. Satanchild666

    Satanchild666 Banned

    Messages:
    968
    Likes Received:
    0
    Trophy Points:
    0
    dev team should add more entities for vehicles. Because right now it just sucks ):
     
  7. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    It is impossible to place vehicles in the map yourself. Vehicle entities have been wanted for years, so don't think you're the first person to consider this.
     
  8. Satanchild666

    Satanchild666 Banned

    Messages:
    968
    Likes Received:
    0
    Trophy Points:
    0
    Then why wont they add it?
     
  9. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    Probably because it's difficult to code, has a huge amount of variables to take into account, and takes time to get fully working.
     
  10. Maxaxle

    Maxaxle Member

    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    0
    Oh yeah? What about command vehicles? And why don't you think spawning vehicles in Hammer works?
     
  11. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Command Vehicles have 1 type of armour, 1 type of engine, and are an entity to begin with. If a tank dies, game doesnt end. If a CV dies, game does end.
     
  12. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
    You can't build a command vehicle from a vehicle factory, and if you could, you couldn't build a vehicle factory without a command vehicle.
    Because Krenzo didn't code it.
     
  13. Maxaxle

    Maxaxle Member

    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    0
    Oh, right, the vehicle equipment glitch. Speaking of which, maybe the jeep entity should be a standard jeep (default settings the first time you play the game, as in plain armor and a basic engine with one plate of armor on each side).
     
  14. Foxy

    Foxy I lied, def a Forum Troll

    Messages:
    1,044
    Likes Received:
    0
    Trophy Points:
    0
    I think the default jeep is missing one or two plates.
     
  15. Kylegar

    Kylegar Specstax Rule

    Messages:
    2,170
    Likes Received:
    0
    Trophy Points:
    0
    I'll look into making placeable vehicles, but, at this time It's not possible.
     
  16. Satanchild666

    Satanchild666 Banned

    Messages:
    968
    Likes Received:
    0
    Trophy Points:
    0
    Why isn't it possible?
    Because of the upcoming version 2.2?

    Placable vehicles could give birth to some interesting maps.
     
  17. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Because of how complex vehicles are.
    You'd need a huge menu in hammer, but it could lead to hilarious vehicles, like a heavy with 50 plates of composite.
     
  18. Foxy

    Foxy I lied, def a Forum Troll

    Messages:
    1,044
    Likes Received:
    0
    Trophy Points:
    0
    With no weapons?

    Make a game where you had to escort it!
     
  19. Cyber-Kun

    Cyber-Kun Member

    Messages:
    1,200
    Likes Received:
    0
    Trophy Points:
    0
    If you are mapping, the vehicle creating thing doesn't need to be idiot proof as you can't be an idiot and mapping.
    You may end up creating a tank heavier than the tank normally supports but that is the only real problem I can see mapper wise.
     
  20. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    I don't know this for sure, but i've heard about a maximum amount of keyvalues for a single entity in Hammer. Even if you used scripts like the preset vehicle buy script system, it's still not as easy as it should be.
    Even then, you could break the game by going over the maximum amount of a certain setting.
     

Share This Page