Author Topic: Parachutes  (Read 939 times)

0 Members and 1 Guest are viewing this topic.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Parachutes
« on: August 14, 2012, 10:37:34 am »
I was wondering how does Soldat determine whether to spawn a player with or without a parachute. Does it calculate the distance to nearest player colliding poly? If I for example disable all the Bravo spawnpoints except one and change it's X/Y so it would be placed high above ground will then Bravo players spawn with parachutes?

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: Parachutes
« Reply #1 on: August 14, 2012, 11:36:40 am »
If i remember, it has to be at a minimum certain distance from the poly directly below it. Not sure how much, possibly 100-200ish ingame length units (afaik, 1m=14-18px); there was somewhere a discussion about that.
To prevent parachutes you just need to have a poly (any kind) below that spawn point.

If the distance from the poly is correct, the players will spawn with a parachute.


Mind you, this was for older versions, and it is directly map related, has nothing to do with scripts.
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Parachutes
« Reply #2 on: August 14, 2012, 12:08:28 pm »
What corat said, player has to be enough high above nearest colliding poly to have parachute. I'd tell you how high exactly but honestly speaking i don't even know where too look for it in the code (I wouldn't be surprised if server doesn't give a single fu** about parachutes).
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Re: Parachutes
« Reply #3 on: August 15, 2012, 04:55:30 am »
Thx for the info. I was looking for a way to create some kind of airborne assault, where player would be spawned above enemy base. I guess changing the spawnpoint coords should do the trick.