Jump to content

Home

"ignoring" friendly fire in single player


yangyan

Recommended Posts

Posted

Im not sure if this is the right forum, but im trying to make something that forces ally npcs to ignore your friendly fire, so if you spawn luke and start sabering him and there are other jedi around, they'll just ignore you and you wont get a "Mission Failed : You've turned on your friends". Is there like a script (icarus) thats run by default infinitly by the game so when you kill an ally the script automatically detects it, or is it hardcoded into the game? Or is there a script that tells the game to give you a mission failed when you turn on your allies? any help would be appreciated.

Posted

do you know which script controls it? ive been searching for an hour and the closest thing ive come to is common/mad_at_player.ibi but it doesnt have a SET_MISSIONFAILED, MISSIONFAILED_TURNED. All it does have it SET_ENEMY, player.

Posted

i did a search and looked for missionfailed and none of the files had missionfailed_turned in it. maybe it isnt controlled by scripting?

Posted

Well, crap, I can't seem to find the reference either. I seem to remember it being in the AI code somewhere but I can't seem to connect it to the mission failed menu being displayed other than thru the SET_MISSIONFAILED ICARUS command.

Posted

i downloaded survival mod 2 and played for a while, then I realised that the mod allowed you to kill your allies without failing the mission. sure they start attacking you but thing is you dont fail. i explored the scripts for a while but there doesnt seem to be any kind of script that controls it either. which means its built into the map or its something to do with npcs.cfg or something else

Posted

ok its probably not built into the map because i made a simple box room and spawned some rebels. turned on god mode and killed one, and soon enough I got a mission failed

Posted

ok! it is the map, or some script thats run by the map. cause I played my map on Survival mod and i got a mission failed, and I played on a normal survival mod map and i didnt get a mission failed.

Posted

I dont think they were intending it. I made another room and spawned a whole bunch of rebels and had tons of fun massacring them. Didnt get mission failed either. strangly I didnt do anything in the map except put info_palyer_start

Posted

I've noticed that killing friendlies doesn't usually fail you the mission, just hurting them. For example, I spawn in several rebels and start shooting them. I will soon get 'mission failed'. But if I saber them, killing them in one hit, I don't. Is this of any use?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...