thermal vision
-
zangoo
- Posts: 978
- Joined: 2007-09-01 03:42
thermal vision
ok so here is a new look on a old issue. first when i was trying to make a night map i replaced most of the sky.con for kashan with a night map sky.con, now this made the ground and everything look dark, but the vehicles and people would still glow cus of the light maps. so that is like thermal vision but it wouldnt really work cus it would always be on.
so if you used python to check if a player was in a chopper, then if python was to edit the sky.con and the player would have this effect and it would look like thermal vison.
but the only issue with this is, can python check if a player is in the gunner seat of a chopper and also could python edit the sky.con?
so anyone know anything about bf2 python?
so if you used python to check if a player was in a chopper, then if python was to edit the sky.con and the player would have this effect and it would look like thermal vison.
but the only issue with this is, can python check if a player is in the gunner seat of a chopper and also could python edit the sky.con?
so anyone know anything about bf2 python?
-
Mora
- Posts: 2933
- Joined: 2007-08-21 12:37
-
zangoo
- Posts: 978
- Joined: 2007-09-01 03:42
looking at python here is a line of code that looks like it would do what we need
EnterVehicle(playerObject, vehicleObject[, freeSoldier])
here is some info off the wiki
Player represented by playerObject has entered the vehicle represented by vehicleObject. "freeSoldier" is 1 if the player is a passenger of the vehicle and is able to use weapons/objects of his kit. i.e. seat 4(+) of a black hawk. --Kiff 11:21, 25 January 2006 (MST)
so it also looks like it would be able to do this only for the gunner.
EnterVehicle(playerObject, vehicleObject[, freeSoldier])
here is some info off the wiki
Player represented by playerObject has entered the vehicle represented by vehicleObject. "freeSoldier" is 1 if the player is a passenger of the vehicle and is able to use weapons/objects of his kit. i.e. seat 4(+) of a black hawk. --Kiff 11:21, 25 January 2006 (MST)
so it also looks like it would be able to do this only for the gunner.
-
=Romagnolo=
- Posts: 4765
- Joined: 2006-12-29 14:52
I cant understand why zangoo still is not a R-MOD !
[R-DEV]OkitaMakoto:"Cheers, you're the man, Okita"
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro." (yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro." (yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
-
=Romagnolo=
- Posts: 4765
- Joined: 2006-12-29 14:52
Yah, R-CON !
[R-DEV]OkitaMakoto:"Cheers, you're the man, Okita"
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro." (yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro." (yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
-
zangoo
- Posts: 978
- Joined: 2007-09-01 03:42
well i was talking to wookie scouty, said that python is not client side, and that it is not possible for the server to tell the client to change a .con file. so unless we find another way to change the sky.con this idea wont work.
edit again: ok so i was talking to him again, he said that you could use rcon_invoke to change the con file in the memory and then when the game is closed the file would be back to normal just like what we need. here is the code he said would do it
host.rcon_invoke(command)
so we need a dev that knows python to post and see if this is possible.
edit again: ok so i was talking to him again, he said that you could use rcon_invoke to change the con file in the memory and then when the game is closed the file would be back to normal just like what we need. here is the code he said would do it
host.rcon_invoke(command)
so we need a dev that knows python to post and see if this is possible.
Last edited by zangoo on 2008-04-26 04:54, edited 3 times in total.
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Don't expect a Dev to post without some kind of notification about it. They necessarily don't have time to read every single thread on the forums, remember?zangoo wrote:so we need a dev that knows python to post and see if this is possible.
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
baptist_christian
- Posts: 266
- Joined: 2007-06-20 21:51
-
zangoo
- Posts: 978
- Joined: 2007-09-01 03:42
-
Mora
- Posts: 2933
- Joined: 2007-08-21 12:37
-
zangoo
- Posts: 978
- Joined: 2007-09-01 03:42
yes
this is the way it works
i can change the color of everything but the players and vehicls as this is set by the lightmaps, so on a day map we have to use white hot, there is no choice in this, on a night map it is the same i can make the ground white but the vehicls and players will have to stay black so it has to be black hot.
this is the way it works
i can change the color of everything but the players and vehicls as this is set by the lightmaps, so on a day map we have to use white hot, there is no choice in this, on a night map it is the same i can make the ground white but the vehicls and players will have to stay black so it has to be black hot.
-
Mora
- Posts: 2933
- Joined: 2007-08-21 12:37
-
3===SPECTER===3
- Posts: 831
- Joined: 2007-05-05 01:13


Jaymz


