need people to be invincible in cars.. but still die if the car dies..
also would be good for them to die as usual when shot etc out of the car..
making player invincible unless...
Re: making player invincible unless...
that should be easy enough if your modding is client side.
change this to something not outside or just try rem it out
Code: Select all
rem *** WillySeat ***
ObjectTemplate.create SeatObject WillySeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
Code: Select all
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
Re: making player invincible unless...
I never noticed that 'SeatIsOutside' command before.. I appreciate the willy has no roof but whats the purpose of that code? surely the collision mesh dictates whether someone is 'outside' ?
will try this though
will try this though
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: making player invincible unless...
When the "is outside" command is turned off, the collision for the soldier when in the seat is turned off which means he can never take damage from explosions or projectiles. The vehicle in question still does though. So you should be able to rem it out. But this isn't something that can be done with the active command. You will have to modify the objects.rfa file for your server to do this.
For example, it should look something like this after your done:
For example, it should look something like this after your done:
Code: Select all
ObjectTemplate.create SeatObject HEMTTSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
rem ObjectTemplate.seatFlags c_SeatIsOutside
I have cameras in your head!
Re: making player invincible unless...
It's no problem if this can be done SSM, as this definetly will be a CSM mod. Would be surprised if anyone managed to make the stuff fo0k works on SSM . Really, really surprised
Oh yeah, and I once again encourage people to tag their questions with [CSM] or [SSM] in the title, so everybody nows on a glimpse if the topic discussed is SSM or CSM. E.g. [CSM]Making player invincible unless...same goes for tuts, by the way. Always good to know on first glance if it's a CSM or a SSM tut.
Oh yeah, and I once again encourage people to tag their questions with [CSM] or [SSM] in the title, so everybody nows on a glimpse if the topic discussed is SSM or CSM. E.g. [CSM]Making player invincible unless...same goes for tuts, by the way. Always good to know on first glance if it's a CSM or a SSM tut.