RDCNemesis Posted July 3, 2011 Share Posted July 3, 2011 Hi I want to be able to remove a fence panel after i have reached a certain point like area 7 so as to make the journey back shorter. I have looked in the other topics and the pdf by wolfsong but not sure how to set this up. any help would be awesome thanks Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 3, 2011 Share Posted July 3, 2011 This may only work for actors not sure: <element type =" DisableUnit" name_id="fence_01"/> You could remove the fence panel altogether and place a dynamic vehicle there, set it to indistructable, then hide vehicle when needed. Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 Tinker Thanks as always, i will give this a try, failing that i will see how to do the vehicle thing Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 Tinker Crashes every time, i named the fence panel "fence1" Crash in application version: grpcrc1.35 data\lib\managers\eventmanager.dsf(-1): cant find member: disable in type <Unit> Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 3, 2011 Share Posted July 3, 2011 Hmm seems to be for actor groups. If I remember in graw2 you add a location around the object and add a command of remove world this removes any objects inside the location, but sure it is not valid in graw1. Maybe someone will know more about this. But still simple use of a vehicle and hide it when needed would do for now. Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 thanks Tinker I will try to find the scripting Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 Sorry Tinker When you say a "dynamic vehicle" is that any vehicle in dynamic or are the dynamic vehicles in vehicles im typing this thinking "What a silly question" Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 Tinker Sorted many thanks Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 3, 2011 Share Posted July 3, 2011 Some vehicles are just props in the static layer. These you cannot hide, so make sure it is from the dynamic layer. As it is dynamic, you could blow it up, so have to make it indistructable. Just add a basic hemtt or m1078 start game <element type="ActivateVehicle" vehicle_id="blocker_01" start_time="2.0"/> now I think you need to SetSlot here and change it to make it indistructable, have to check this bit. But when needed: <element type="RemoveVehicle" vehicle_id="blocker_01" start_time="0.2"/> Noted post above, good to know. Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 3, 2011 Author Share Posted July 3, 2011 Ive put a hemtt in the whole and ive not seen one of those destroyrd by gnades so fingers crossed if during test it does then i will have to make indestrucable lol whole i meant hole Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 3, 2011 Share Posted July 3, 2011 Add the line you used for the heli: <element type="ActivateVehicle" vehicle_id="blocker_01" start_time="2"/> <element type="SetIndestructable" name_id="blocker_01" start_time="3"/> when needed: <element type="RemoveVehicle" vehicle_id="blocker_01" start_time="0.2"/> Quote Link to comment Share on other sites More sharing options...
AmEyeBlind Posted July 3, 2011 Share Posted July 3, 2011 hi, when i remember right its not possible to set a vehicle to indestructible. you could set a dynamic to indestructible that i know for sure. but also a fence can work, but be aware that it can only be the wooden fences. there are some more probs what can be taken out during the game, but i dont remember them all. also regarding the name / crash thing. for some probs and statics you have the rule "if you name one you need to name all" what type of fence where you using? a shanty fence? those cant be taken out. i always used palacio doors, wooden fences or dynamics to block shortcuts well anyway btt so when you want to take out a wooden fence to create a shortcut you need to use this line of code. <element type="SetSlot" name_id="your name here" slot="0" start_time="0"/> that will remove your fence and you will have a shortcut. if you want to use a dynamic its a bit more complicated. since you cant name a dynamic in the editor you will need to assign a name to it in the world.xml directly. and it needs to be set to indestructible to prevent players from moving it with nades. hope that helps you ps if you want a dynamic whats set to indestructible to be set to normal condition again you can use this line of code. <element type="SetSlot" name_id="your name here" slot="16" start_time="0"/> Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 3, 2011 Share Posted July 3, 2011 Excellent, thnx for the update. Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 6, 2011 Author Share Posted July 6, 2011 Hi Tinker Finally found the map that i first saw this in under events <element type="SetIndestructable" name_id="fp1" start_time="4"/> In the area i want to trigger the disappearance (area6) <element type="SetSlot" name_id="fp1" slot="0"start_time="2"/> fp1 is what i called the fence panel start_time is set to 2 so when i walk into area 6 after 2 seconds the fence panel disappears hope this helps Quote Link to comment Share on other sites More sharing options...
Tinker Posted July 6, 2011 Share Posted July 6, 2011 Thnx for posting, sure it will be helpful down the line for someone. Yeah, these set slots are the things I never really used before, looks easy now you know how eh? Quote Link to comment Share on other sites More sharing options...
RDCNemesis Posted July 10, 2011 Author Share Posted July 10, 2011 AmeyeBlind Thanks for the heads up about the indestructable i wondered why when i set the vehicle to indestructable i could still blow it up It will be of use on my next map thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.