yangyan Posted July 17, 2005 Posted July 17, 2005 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.
razorace Posted July 17, 2005 Posted July 17, 2005 I beleive the actual behavior event is hardcoded but the menu/script that it calls when this happens is editable.
yangyan Posted July 18, 2005 Author Posted July 18, 2005 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.
yangyan Posted July 18, 2005 Author Posted July 18, 2005 i did a search and looked for missionfailed and none of the files had missionfailed_turned in it. maybe it isnt controlled by scripting?
razorace Posted July 18, 2005 Posted July 18, 2005 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.
yangyan Posted July 19, 2005 Author Posted July 19, 2005 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
yangyan Posted July 19, 2005 Author Posted July 19, 2005 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
yangyan Posted July 19, 2005 Author Posted July 19, 2005 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.
razorace Posted July 19, 2005 Posted July 19, 2005 Try checking the worldspawn options on the Survival Mod, it might be in there or something.
razorace Posted July 23, 2005 Posted July 23, 2005 Uh, I mean part of the physical map .bsp. You can decompile it using the editor and then look at the worldspawn map entity settings.
yangyan Posted July 23, 2005 Author Posted July 23, 2005 yeah there was already a sample map in the pk3. didnt have any other things in worldspawn
razorace Posted July 24, 2005 Posted July 24, 2005 Well, I'm out of ideas. Maybe try emailing the creators?
yangyan Posted July 24, 2005 Author Posted July 24, 2005 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
riceplant Posted July 24, 2005 Posted July 24, 2005 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?
yangyan Posted July 26, 2005 Author Posted July 26, 2005 but they start attacking you as soon as they see you kill one of them.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.