Guest Posted January 5, 2007 Posted January 5, 2007 My friend and i were thinking, it would be sweet if u could just play the game co-op, but i think that would be hard to make.
Dark Dragon Posted January 5, 2007 Posted January 5, 2007 i think that depends on the script... an easy "teamwork to reach the end" wouldnt be hard to make...
rockstarrem Posted January 5, 2007 Posted January 5, 2007 I think he means the singleplayer missions. Yeah, that's going through everyones head though, but it most likely won't happen. You can probably script a singleplayer mission though.
Guest Posted January 5, 2007 Posted January 5, 2007 That kind of sucks that it probably won't happen, but i still can have fun with mta
erorr404 Posted January 5, 2007 Posted January 5, 2007 If you're talking about synced AI, that probably won't happen in the first release. It might in the future.
Guest Posted March 9, 2007 Posted March 9, 2007 it wouldnt be to hard to acript so that u have teams and u have to go round and kill the other teams if they done it like games like swat 4 with red team and blue teams then ur always gonna get the annoying team killers
MISTO Posted March 9, 2007 Posted March 9, 2007 (edited) When some players are in the same team, it could be a king of coop, isn't it? [...] EDIT: I meant "a kind", not a king... Edited March 10, 2007 by Guest
Guest Posted March 9, 2007 Posted March 9, 2007 i dont no. i havnt played the new mta because it is only the race version i dont like tha i like where u can get out of the ar and murder other players
50p Posted March 9, 2007 Posted March 9, 2007 ... if they done it like games like swat 4 with red team and blue teams then ur always gonna get the annoying team killers So there is anty team kill feature.
Guest Posted March 10, 2007 Posted March 10, 2007 ="50p So there is anty team kill feature. personally i think that would be to hard to script because it would require teking the damage out of the shots if they hit there own team and making them affect the other team but that would be dam hard to script
Ace_Gambit Posted March 10, 2007 Posted March 10, 2007 ="50p So there is anty team kill feature. personally i think that would be to hard to script because it would require teking the damage out of the shots if they hit there own team and making them affect the other team but that would be dam hard to script But what if damage is scripted in the first place (i.e. a method that overrides default damage) ? This code fragment was taken from the KotH tutorial. [lua] addEventHandler ( "onPlayerDamage", getRootElement(), "kothDamage" ) function kothDamage ( attacker, weapon, bodypart, loss ) local damage = loss * 1.25 local hpLeft = getPlayerHealth ( source ) - damage if ( hpLeft > 0 ) then if ( bodypart == 9 ) then killPlayer ( source, attacker, weapon, bodypart ) else setPlayerHealth ( source, hpLeft ) end else killPlayer ( source, attacker, weapon, bodypart ) end end end [/lua] You have a source that triggered the event and the attacker. All you have to do now is check if source and attacker are in the same team. If not, take damage...otherwise do nothing. Still think it's difficult to script ?
Recommended Posts