Jump to content

Hoppah

Members
  • Posts

    7,379
  • Joined

  • Last visited

  • Days Won

    292

Everything posted by Hoppah

  1. I hope 16T will release the deluxe freeplay ground in .jpg format(or any other format which can be opened with Photoshop), so I can edit it for the hospital, fire station and police station. Otherwise, there won't be an edited deluxe freeplay. I am still working on scripts and I don't work with a deadline, because I don't want to hurry. Some news: I am not going to edit the multiplayer map for v1.2. That map won't contain the hospital, fire station and police station yet. Because it's too much work... Hoppah.
  2. So, you have transported all injured people to the hospital (= objective finished?) and the mission won't end? Are you sure there are no victims left?
  3. It's no problem you use my script. Actually, I'm very happy someone is trying to make a new mission too. That's why I've fixed your script: - You have to edit objectives.xml (in the Lang folder) for the objectives, but you can also use this what is easier for you I think: const char TRANSPORT_INJURED[] = "Bring all injured people to the hospital!"; - Your mission is for your own mod or are you adding the mission to my LA mod. If you're making this for your own mod you don't need this: void OnSquadVehicleArrived(Vehicle *v) { if (v->HasCommand("GoToPolicestation")) { v->RemoveCommand("GoToPolicestation"); } if (v->HasCommand("GoToHospital")) { v->RemoveCommand("GoToHospital"); } } Because the vehicles in your mod don't have the commands GoToPolicestation and GoToHospital then. I've also made the script more neatly by adding Tabs when you are opening a code ( symbol: { ). This way you can check your script for mistakes much easier. So, this should be your final script: const char TRANSPORT_INJURED[] = "Bring all injured people to the hospital!"; object Mission01 : MissionScript { Mission01() { System::SetEnv("e3_doocclusion", 0); } ~Mission01() { System::SetEnv("e3_doocclusion", 1); } void Start() { Audio::PlaySoundtrack("3", 0.1f); Mission::AddObjective(TRANSPORT_INJURED); } MissionState GetMissionState() { if(Mission::IsDefaultLogicNegative()) return MISSION_FAILED; if(Mission::GetCounter("Injured Persons") + Mission::GetCounter("Dead Persons") == 0) { if(!Mission::IsObjectiveAccomplished(TRANSPORT_INJURED)) Mission::SetObjectiveAccomplished(TRANSPORT_INJURED, true); } else { if(Mission::IsObjectiveAccomplished(TRANSPORT_INJURED)) Mission::SetObjectiveAccomplished(TRANSPORT_INJURED, false); } if(Mission::IsDefaultLogicPositive() && Mission::AllObjectivesAccomplished()) return MISSION_SUCCEEDED; return MISSION_RUNNING; } }; //By Hoppah Note; when you use this // in front of a line, emergency 4 won't 'read' that line, so you can add additional information like //By Hoppah or //By Winger.
  4. I can't remember when I've posted that picture, but I'm sure I said it was taken in the editor. So it's a made up scene and not a future in v1.1 or v1.2.
  5. I still need to update the sosi download. This version doesn't work in multiplayer very good. I will do this next week.
  6. Great. :1046275747_biggthumpup: It's so great to hear that people buy Emergency 4 only because of my mod.
  7. I think you have this error because: - You don't have installed your latest graphic drivers (that really solves alot of problems). - Or because you don't have DirectX 9.0c (required for Emergency 3 I thought). - Or because patch 1.3 isn't installed (required for the latest version of my mod). Sometimes a reinstall of Emergency 3 works too. Good luck, Hoppah
  8. Time to post some news: I am still working on the scripts and they're almost finished. I had a problem with one of the scripts and I had to fix that with another code which you wont really like, because the problem was driving me crazy. The problem was that an ambulance doesn't want to park directly behind another ambulance in the fire station. Result: You could't park more than 1 vehicle in a bay, because the second (or third) vehicle parks wrong behind the first. I have fixed this with replacing the vehicle directly behind the other vehicle, so the vehicle doesn't drive to the parking lot (it drives to the back of the station and will be replaced then). The 'fix' is working good and I hope to fix this in the future, Hoppah
  9. The map name in the editor is not very important. You have to save your map as a new .e3m file. When you want to play your map you have to edit at least the following files: - Lang/en/missions.xml (mission briefing and name) - Specs/vehicles.xml (add mission number to each vehicle) - Specs/campaign.xml (mission index, budget, path to .e3m file) Mission conditions are used to calculate your score (percentage) when you finish a mission. You can't write scripts with the editor, you need to understand scripting to make your own scripts. Scripting is mostly copy/paste from other scripts, but you need to understand what everything means. When you want to request a script on a forum people need to know at least the following things: - Objectives (example: extinguish all fires) - Fail Objectives (example: 2 death civilians = mission failed) The most important thing is that you never edit a file in the Data folder, but copy everything into a new mod. Example: when you want to edit vehicles.xml copy that file to "Emergency 3/Mods/[YOUR MOD]/Specs/". Create new folders if neccesary. Tips: - Compare with other mods. That helps alot. - Try to find things yourself instead of asking someone. You will learn more from that. Good luck, Hoppah
  10. You can try to edit the Emergency 4 configuration (.cfg) file. Open em4.cfg with wordpad and look for the following 'var name's: <var name="r_xres" value="1024" /> <var name="r_yres" value="768" /> Change it to <var name="r_xres" value="1024" /> <var name="r_yres" value="600" /> I don't know if this will work properly, but you can always try. If your game doesn't start up anymore you have to change it back to original values. In case your screen gets damaged: I am not responsible for any caused damage to your screen, because it couldn't handle those value's. Hoppah
  11. Where did you buy the game? In the US? You don't need to install a patch then. When you have the UK, French or German version you need to install v1.3. Make sure you follow the readme step by step and I recommend you to make a backup of your game. It worked for other people with the UK version, so it should work for you too. When you still run into problems, reinstall Emergency 3 and try to install it again. Good luck, Hoppah
  12. Hehe, that mod is more than one year old (The .pdf file says 12 october 2005). Maybe you can try to contact the creator to add the ESU truck to your mod.
  13. I have improved the forum banner with new letters and animation. When you're still looking at the old one, you have to refresh your browser (F5).
  14. My posts are important, because without me = less posts = less forum visits. I don't have much news about my mod. I am working on a very large script for the fire station.
  15. Just wait until I have more information.
  16. Yeah, why not? The garage is also a place where people work. Besides that, it's not forbidden to have coke machines there.
  17. I have made some pictures of the fire station on the freeplay map. It's positioned on the 'old' base and I have changed the ground too. There is also a control panel which will be used for some special commands. 1. The fire station: 2. With roof 3. Without roof Please, don't post questions about 'park scripts' and other things which belong to the fire station because I am already busy with scripts. More info soon. Hoppah
  18. I am busy with the fire station right now and it will have some special commands. Vehicles will be able to drive and park in the fire station.
  19. It's not a Tahoe. It's a Chevrolet Suburban. Maybe you haven't seen the photo's I posted a while ago. http://www.code2high.com/lafd_batt12_1.htm http://www.code2high.com/lafd_batt12_2.htm So stop whining about the window. It's fine. I can add fire extinguishers to the police cars, but to keep some of the original gameplay I won't do that. Police is for 'gangsters' and traffic. Fire fighters to rescue and extinguish fires. Ambulance units to heal people.
  20. The Battalion Chief Unit is ready: Hoppah
  21. The model of the fire station is finished. Picture: I am working on a battalion chief vehicle (+ battalion chief) now. The battalion chief will have some special freeplay commands. Hoppah
×
×
  • Create New...