Jump to content

GenPattonX

Member
  • Content Count

    50
  • Joined

  • Last visited

  • Medals

Everything posted by GenPattonX

  1. I know i once did this in a mission a while ago but since i am missing loads of addons for that i can't acess it :( So i am trying to remember what was the init line that i used to get a unit appear at a dot marker location, i am trying these: unit DoMove GetMarkerPos "markername" - i don't want the unit to move, i want them to just appear at the marker location s1 setpos (getpos H1) - where H1 is an invisible H placed at the point i want but the thing is, i don't want to use a invisible H, i want to use a marker ! plz help i know this is simple but i can't figure it out :(
  2. GenPattonX

    editor addons

    in my search i have found these: gunslinger's editor Editor103 by Mikero Editor Addon v1.11 - Kegetys i would like to know if there are anymore, but most of all is there one that is more complete or that actually contains what all the others have? I want to have all the objects in the game and more but i dont want to have my mission editor filled with duplicated or triplicated addons... -.- plz help
  3. I have to say that script sounds great, but i don't know how to script... I'm not going to ask anyone to do it for me unless they don't mind and if it's fairly simple. Otherwise i am just going to hope for suggestions based on triggers, while i search the forum and the web at the same time. thx anyway ---------- Post added at 03:37 ---------- Previous post was at 03:24 ---------- I found a discussion about triggers activated by this code: (player distance thistrigger) < viewDistance So i decided to try it for my situation, combined with another code: not alive Tank1 and (Tank1 distance this trigger) < 500 It works. Again, i knew it could be done with a simple code in a trigger, i guess i am creating very simple and noob missions because i just dont see the need for scripts XD I am still open to suggestions by the way, anything smarter i am whilling to learn. thx anyway
  4. Hi I am trying to do the following exercise: There are two bases, A and B. And one patrol unit (lets say Tank1) in the area between bases. I would like that if the tank gets destroyed closer to one of the bases, only units from that base would come for help. So if Tank1 gets destroyed closer to base A, only units from that base will be alerted, and none from base B. I humbly tried like i explain below, it didn’t work but I am posting it anyway because maybe there is just something i need to add or something little i have to change, although i am open to script suggestions, i would like to avoid using any for now, i have been told its a better solution for most of situations, but plz if i can get it by using triggers or gamelogic it will be easier for me at the moment. I used two triggers, each one covering half of the area between bases. I set both triggers to meet this condition in order to activate: Not alive Tank1 I grouped the triggers with Tank1 and syncronized one trigger with the starting waypoint of a unit in Base A and the other trigger with the starting waypoint of a unit in Base B. I grouped the triggers with Tank1 and set them to be activated by “Presentâ€, because i was thinking this would mean the triggers would only activate if Tank1 was in the trigger area when destroyed. So the other trigger wouldn’t activate, simpy because Tank1 wasn’t destroyed in its area. And if Tank1 was destroyed not in both of the triggers area, then none would activate… But i was wrong, both triggers activate when Tank1 gets destroyed, either when he is in or out of the triggers area. So plz help and thx anyway
  5. thx for your reply i just learn a few more things from it and i bet it will work if i try it, but i managed to solve it. I guess the last trigger which is the one that is suppose to alert other units just need to respect these conditions: patrol1 knowsabout player > 1 and alive radiomanpatrol1 so if i kill the radioman, the trigger wont activate, and that way i won't have to deal with enemy reinforcements XD i knew this had to be simple, i was getting so frustrated -.- i guess i dont need that "busted = true" for anything thx anyway
  6. Hi If u want a long story short just jump to: “So actually the deal is†or “Next is the part which isn’t working†I am trying to build this "search and destroy" mission during night time and i wanted that any enemy patrols guarding the area, specially those isolated would be able to do a little more then just engage the player, for instance try to alert other units or call in for reinforcements. Has i have said on other posts i don’t know how to script and i am still very ignorant on how to do most things through triggers and game logic, i just don’t understand how people know what to put in the conditions fields, activation, etc, so the OFP engine knows what we want. Anyway i am trying to get a patrol to be able to alert other units after spotting the player or enemy units. The first way i know to do this is by using a trigger which covers a large area, or the all mission area and have it detected and activated by the respective unit sides. But i don’t like this because if somehow one unit is not in the trigger area, it just won’t get activated and that is just ridiculous, so i wanted to do it using gamelogic, or maybe find a way to activate my conditions without having to have an area. Obviously i had no idea how to, so what i did was to go look at some of the original campaign missions i have unpbo in the mission editor and try to find any thing i could use. That’s what i usually do, i just look at how the game creators created the missions and try to understand how they used triggers, commands and why they used them for. Also, before the patrol alerts other units i also want it to fire a flare to iluminate the area, and only 8 or 10 seconds later, they can sound the alert or call reinforcements, IF they are alive. So actually the deal is: A patrol spotts an enemy unit. At the moment they engage a grenadier fires a white flare. 8 or 10 seconds later they alert other units, IF they are alive. So this is what i have tried: 1) Trigger activation: none, once, present, countdown (0,0,0) Type: none Text: spotted1 condition: patrol1 knowsabout Player > 1 ««««« (I’m not sure if i should change this value) on activation: busted = true I am not sure if the “knowsabout†command is appropriate here, i am assuming once the patrol spotts the player it activates that other condition: “busted = true†That condition i copied from a trigger used in one of the missions of the Russian campaign, i guess it’s like na alarm, not sure if it’s appropriate too. So after this trigger has met its condition and activated the command, it allows a gamelogic object to activate its waypoints, so they are synchronized. This gamelogic is the one responsible for having the grenadier fire the flare. (Patrol consists of 4 soldiers - group leader is named: patrol1; and the grenadier is named: radiomanpatrol1) – radioman because he is the one suppose to activate the trigger that will activate other units into an alert state, if he is alive. 2) GameLogic waypoint "AND" timeout: (1,1,1) condition: true on activation: patrol1 fire ["GrenadesMuzzle","Flare"]; waypoint "AND" timeout: (20,20,20) condition: true on activation: patrol1 fire ["GrenadesMuzzle","Flare"]; Sometimes the patrol grenadier doesn't fire the flare, instead he just engages like the others, i know this can be solved just by having a flare script to do the job (i donwloaded one), but i really want one of the patrol soldiers to do it, wonder if someone has any idea for this small issue. Next is the part which isn’t working but i don’t understand why, i think the conditions i have placed make perfect sence but i even tested it with a setdammage command for a bmp and it never exploded so i know the trigger wanst working. 3) Trigger activation: none, once, present, countdown (8,8,8) Type: none Text: radio alert patrol1 condition: busted = true and alive radiomanpatrol1 on activation: t1 setdammage 1 plz help and thx anyway
  7. yes a little well my ignorance about scripting and triggers and gamelogic commands is all my fault, i actually downloaded from various sites tutorials on how to script for OFP, and stuff about triggers, etc but i just never really had the time for it. The problem is that when i do have time i just try to create missions even though i know i probably will get stuck at some point XD but still plz someone tell me what is wrong with my last trigger: condition: busted = true and alive radiomanpatrol1
  8. Nikiller thank you for your time, i wasn’t expecting someone to write me a script, but i guess it wasn’t that complicated for you… As much i appreciate your help here is my problem with your script: As soon as i attack the patrolling unit, the reinforcements immediatly come. I wanted to have a time of about 10 secs before any unit could be called in for help, because if i could kill the all patrol in time, that wouldn’t happen. Or instead of killing the all patrol, maybe just one specific soldier, like the “radio manâ€. If u kill him, the unit can’t call for help. I have a few questions about your demo too: how come u don't need to name the units? how the game knows who is suppose to launch the flare and who comes as reinforcements? How u didn’t need to synchronize anything? I don’t get it why the reinforcements don’t simply follow their waypoints since they don’t have to wait for any other unit or trigger. Lastely how the game knows its suppose to execute the script, i don’t see anywhere something saying: exec “scriptname.sqs†I still wonder if i can’t just do it the way i was trying, i would still like to know what is wrong with my 3rd step, that last trigger: condition: busted = true and alive radiomanpatrol1 isn’t this condition correct and enough to do what i want? It’s suppose to trigger other units as reinforcements if the patrols spotted na enemy (busted = true), and if the radioman is alive. Plz help and thx anyway
  9. ok this is a 3 questions thread: 1) Ok it seems that ICP units can fire from alot more distance then vanilla units and some addon units i have, this is a problem because it creates very unfair situations in battle so i am wondering if i can edit the fire range of an addon? 2) I have some AT cannons stationed behind some trenches but they soon get distroyed, not because of any tank or RPG, but because those ICP soldiers with AK's can destroy them from like 150 meters! I would like to be able to increase the armor of my poor cannons... 3) I have this "roadsConnectedTo" reference which i once found when searching for commands but i can't seem to find anywhere a discussion about it anymore. If i remember correctly this could connect all "road" objects that one placed in the map editor, which would then create a road and could even connect that with the original roads from the map... is this right? Is this possible? But how do i use that command? I just want to know if i can get the AI to follow a road that i created in the map editor with road object addons. plz help
  10. 1) I did the following experiment: I removed weapons and mags from vanilla and others res units in the mission and gave them ICP weapons. It seems that the ICP units are not the problem its just their weapons, if all units in the mission have ICP weapons they all engage at the same distance possible - guess problem solved. 2) I edited the config.cpp of my AT cannon addon and found where i could increase its armor - problem solved too 3) no comments, my bad XD
  11. i need to have some soldiers fire at a location/direction, or maybe a target, depending what that might be. i tried this: unit1 doTarget unit2; this fire "M16"; i also read that one could place game logic items, then have unit1 fire on the items I've just placed, using the Unit1 DoFire Unit2... i tried this but it didnt work :( actually how does one use gamelogic?
  12. one question, to create those scripts, did they do it by hand or they used a in game program? I mean how do u know how a scene looks in game if u are writing in a notepad?
  13. im surprized u say its complicated or hard... remember that last cutscene in the resistance campaign where Victor Troska dies? They had several soldiers and some tanks firing at him, but actually i dont think they target the player at all they just seem to fire at a location or direction, u can see the tanks firing too. So i tried to unpbo the resistance campaign, got the missions into the editor, but something is terribly wrong, i can load every mission fine, but the cutscene missions show the map completelly blank, no units, no triggers, nothing.... did they do that because they don't want us to be able to see how they created the cutscenes and which commands and stuff they used for them? Anyway it seems that in the cutscene where they kill Victor they just used some simple commands.... does anyone know how to open their cutscene missions?
  14. hi I am trying to get some soldiers stay behind a series of sandbag wall fortifications and trenches, but because there is a limit for the amount of individual units i can place in the map, i need to have my soldiers in a group. Probably you could say that the "line formation" would solve my problem but it doesn't, i need to have some soldiers stay at very specific positions along my walls, so i want them to ignore formation. I tryed these: this setUnitPos "up"; doStop this; the first command obviously is so the AI wont go prone once the battle starts, which would be dumb because they have to stay up to defend and target the enemies. The last command i was hoping it would allow me to force a soldier to stay at a specific location, so not in formation, but still in a group, but it doesn't work :( plz help one more thing: anyone knows the command or something that makes a unit to watch or look at a specific direction?
  15. thx guys for replying i got my problem solved with the following set of commands: doStop this; s1 setpos getmarkerpos "d1"; this doWatch (object 129150); this setUnitPos "up"; the 1st and 2nd command combined forces a unit to stay at a marker location, so i just place the marker behind my trenches and its done XD thx to all
  16. Thread title is pretty much self explainatory, i have downloaded ICP and RHS tank pack but once i noticed that i could hear a T72 from across the Nogova island i got disappointed. It's ridiculous, i can't use them in any mission if i can't change that. So i would like to know if its possible to change the sound range or whatever from a vehicle. I have unpbo the icp_t72 pbo file to get acess to its files but i have no idea where to go. Maybe config.cpp file? But i have no idea what to edit... has anyone any idea what to do? can anyone help me? should i post a screenshot of the files? or should i list them here? thx anyway
  17. yes i was just about to go edit my previous reply to say that i found it: s1 setpos getmarkerpos "m1" thx anyway XD
  18. hum... i think i didnt need to group the unit with the marker when i did it... this works but I'm still curious to know if somebody else has another suggestion, thx anyway
  19. to zulu1: that Gen.Barrons cover script was a good idea i tried it out, it can work for me since all my units holding the trenches are suppose to die so i dont need them to move anywhere to gammadust: after years of playing this game and creating missions i am still very noob about alot of things... i mean i need more info about what u said, i dont know how to use those moves: "doMove or moveTo" and "doWatch and doTarget" u probably didn't write anything because it must be obvious, but not to me :( sorry pz tell me how do i use those moves, it should be something like: this doMove "something"; or doMove "something" this; right? plz let me know ---------- Post added at 04:34 ---------- Previous post was at 04:03 ---------- ok i did some search to find examples of those moves i think i got it: _ESoldier1 doTarget _WSoldier1 this doMove (getMarkerPos "Marker1") but if u want to help me further i thank you ---------- Post added at 06:27 ---------- Previous post was at 04:34 ---------- ok im actually back to zero... Gen.Barrons cover script only seems to work for vanilla units, i mean when i use the script for a Resistance original soldier it works, but when i use it for addon units it doesn't work, and on my mission i am using DMA and EG resistance soldiers... so.... i am still trying to figure out what to do...
  20. yes i wanted to do that, but i can't find the tanks addons from the original game, except for "bmp2.pbo", i guess i will try with that one, thanks again.
  21. hey there for as long as i can remember i have had this error: - cannot load missions: missing addons "addon ID" - i know this hasnt only happened to me, i did some search about this a few years ago but with no sucess and now recently i was curious to know if someone has found a solution, i searched again for a bit, but i think i found even less "info" then before. However i remember once reading something about "ghost addons"... i think the idea was that when we delete some addons, there is always some reference to it that remains and creates the error pasted above. And even when we are creating a mission and place some addons in the map, but later delete them, their reference still exists in the mission files. But I'm not sure about this, now as personnal experience i always tryed to understand what was happening or how was it happening, but i don't think i ever have... The error seems to suggest that some addons are missing in the "addons folder" from whatever directory one might have and so one only needs to find the missing addon. But the curious thing i noticed was that i needed to do the complete oposite: i had to remove the addon from its folder so the mission could load. o_O I would like to highline this point: instead of having to find the missing addon, i had to remove it from my addons folder! Maybe it was creating a conflict with other addons or something? What i hate is that this doesn't only happen with my missions i create in the editor, but also in the Resistance campaign for example, even when i want to watch a cutscene, it wont load because of this error. Here are the most common IDs i get: cannot load missions: missing addons: fml_civilians cannot load missions: missing addons: csj_vespa cannot load missions: missing addons: jawa250mod cannot load missions: missing addons: ashbmp2snow actually that last one could be for any of the "ash" addon pack vehicles Well what i would like to know is if someone has found a solution for this or not. I know this doesn't happen with all addons but still i wonder how people manage to avoid this error when creating mods and missions... I am very ignorant concerning programming and even scripting or editing files, but sometimes struggling to understand what was happening i started to think that maybe the problem was that whoever made a specific addon, may have failed to write something in it that would allow the game to recognize or do something (this is where i am ignorant), but because they didn't, there is an error. I have read that one should open the mission.sqm file of the mission and confirm in it if the addons are all there, or if there are any that aren't suppose to be there, but it doesn't make any sence to do that for any of the original game missions right? So how do i still get the error when trying to load the resistance campaign as i said? I am surprized about how little attention this situation seems to have had, i mean as i wrote before i did some search but never found anyone who were really trying to understand this, and again noone seems to have found a solution... maybe i am wrong? plz reply guys
  22. then i think its "SoundEnviron" that i want to change, thank you so much.
  23. Ok so i guess i should change the first value, but i have no idea how much... and what values can i enter... And the config.cpp is much more complex, there isn't just one "line" where i can find the term "sound", i mean don't i have to change the sound value on every line that deals with sound? I could find that "soundEngine" line in: class CfgVehicles soundEngine[]={"\ICP_t72s\sound\engine.wav",22,1}; but there was also these, which i need to know if i should edit or not: soundEnviron[]={"\ICP_t72s\sound\treads.wav",0.916666,0.800000}; soundGear[]={"\ICP_t72s\sound\gear.wav",0.1,0.8}; further in this "class CfgVehicles" there was still the sound lines for several tank models: class ICP_T72B:T72 soundEngine[]={"\ICP_t72s\sound\engine.wav",22,1}; soundEnviron[]={"\ICP_t72s\sound\treads.wav",1.516666,0.800000}; soundGear[]={"\ICP_t72s\sound\gear.wav",0.1,0.8}; and for: class ICP_T72BIS: T72 class ICP_T72BISERA: T80 and at the end of the config.cpp there was still this: class CfgSounds class ICP_T72ASPSound sound[] = {"\ICP_t72s\sound\asp.ogg",db+200, 1}; so do i have to edit the "class CfgVehicles", and the sound lines for each tank model, and then "class CfgSounds" or i don't need to edit all of them, maybe just the "class CfgSounds"? plz help
  24. guys i wanted to download an MI-8 pack from here: http://ofp.gamepark.cz/index.php?oblast=addons&search=mi8 but every single one of the available downloads give me 0 KBs rar files O.o and as the title says i can't download anything from: http://operationflashpoint.filefront.com/files/Operation_Flashpoint_Resistance/Addons;2207 but yesterday i downloaded lots of addons from ofpr.info, but today i can't download anything O.o every single download file comes with 0 KBs haaaaaaaaa plz help, is there something wrong with my computer, or my browsers, or is it the sites?
  25. ok so i have been downloading some tank models, but when i test them against the original game tanks, like T72, T80 and Abrams, some of the models can destroy a T72 or even a T80 with just one hit O.o the M1A2 SEP 3.0 for example, (u can find it here:http://ofp.gamepark.cz/index.php?showthis=9862) its an addon for new abram models and they can destroy a T72 with one hit, maybe also a T80 im not sure atm. I think this is incredibly overpowered and it would speed up tank battles in missions a lot - for me this is no fun :( can i change the addon by editing one of its files but i have no idea which - maybe config.cpp? i dont know
×