Jump to content

Chris07

Members
  • Posts

    339
  • Joined

  • Days Won

    4

Everything posted by Chris07

  1. Biggest thing I want: FULLY Documented Scripting API It's nice to be able to mod, but having an undocumented scripting language to work with is quite a barrier to modding.
  2. I recently edited an ambulance model (LA Mod Vintage Ambulance) in ZModeler3. I exported it as a V3O when complete and gave it to our Mod team's lighter. Our lighter did an AWESOME job in lighting the model, however, I realized that the model in the v3o file was off center! In being off center, the circular icon below the vehicle was at the bottom right of the model instead of being dead center (In the editor, the model rotated about the bottom right corner). My question is, is there a way in ZModeler3 to shift the center point of the model without SHIFTING the model to the default center? If I shift the model iteself, the lights become out of position....which would force my lighter to have to redo the lights!! Can anyone spar my lighter the headache of redoing the awesome lights?
  3. What exactly are you trying to do? What is this script?
  4. Sorry for the in flux in questions. I am modding for a clan and want to make some rather advanced additions. Unfortunately EM4's scripting engine is an undocumented nightmare! I hope that you more excperienced modders can help me out: (Grab a drink, you're in for a long one ) 1. I wish to add a suicide call to the multiplayer game. Currently the map does not contain any. How do I name the civilian models so that they are tagged as "jumpers" when the event triggers? I have placed them in the appropriate house model. Do they only need to be named a specific way or is there more to it? Does the same go for adding people drowning? 2. I want to create either a train derailment or plane crash mission in multiplayer. The best way I found to do it would be to treat it and set it up like a car crash. How would I add an explosion effect and start fires the moment the event is triggered? 3. If I wanted to create a custom mission, such as a fire alarm mission. How would I begin to script it? In other words, how does one add to the multiplayer mission mechanics? I know it's possible as other mods have done it, but how do you override / add to predefined logic. As with anything scripting related if the underlying mechanics of the game had been documented this whole process would be a WHOLE LOT easier. Possible alternative: Create a script that self-executes on game start which sets a timer of random length. When the timer expires, a building model which has been specially named is randomly selected, and an objective added. Another timer is started which is predefined as an objective deadline. If the mission is not completed by the deadline, the objective is failed and an explosion occurs. In order to complete the objective a firefighter has to search the house (using Hoppah's new house searching script) to deactiveate the alarm. After the objective is over, a new random timer is started to repeat the event again. Would this work? 4. How do you make a script self-execute? Utilizing the SetRestrictions() command? 5. When we drop a diver from the USCG helecopter (from LA Mod) in multiplayer, only the game's host can see it. The animation of the drop is visible to all, but the final diver model is not visible anywhere to anyone but the game's host. Is there a way to fix this? Thanks for your help!
  5. Log file has this which seems interesting...perhaps its an issue with the animation file....(Which i assume is the .vmo) |[VNUM=1.43] |Model contains 615 vertices, 484 polygons, 20 bones, 0 muscleanimframes |Loading Model mod:Models\Persons\01 LA Ambulance\flight_paramedic_stretcher.v3o |[VNUM=1.43] |Model contains 1598 vertices, 1194 polygons, 42 bones, 0 muscleanimframes ?Cannot add default animation set to L: incompatible bone structure? !WARNING: global listener object is still registered! Unregister listener before destroying object!
  6. I am trying to create a new paramedic stretcher crew called "Flight Paramedics". I am using LA Mod v2.1. Here is what I did: 1. Copy ff_paramedic_stretcher.v3o, ff_paramedic_stretcher_single.v3o 2. Unpack the v3o files. 3. Open each v3o file and manually change the texture file from ff_paramedic_stretcher.dds to flight_paramedic_stretcher.dds as shown: Flight_Paramedic_Stretcher SRF, stretcher, 0, 0, 0, stretcher.dds, 517, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 SRF, ff_paramedic_stretcher, 0, 0, 0, flight_paramedic_stretcher.dds, 517, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 Flight_Paramedic_Stretcher_Single SRF, ff_paramedic_stretcher, 0, 0, 0, flight_paramedic_stretcher.dds, 517, 0, 0, 0, , 0, 0, 0, 0, 0, 0, 0, 0 4. rename ff_paramedic_stretcher.v3o, ff_paramedic_stretcher_single.v3o to flight_paramedic_stretcher.v3o, flight_paramedic_stretcher_single.v3o 5. Save flight_paramedic_stretcher.dds in same directory as the .v3o files (/mods/MY MOD NAME/Models/Persons/01 LA Ambulance/) 6. Launch editor 7. Clone FF_Paramedic_Stretcher and FF_Paramedic_Stretcher_single prototypes in editor, naming the clones to Flight_Paramedic_Stretcher.e4p and Flight_Paramedic_Stretcher_Single.e4p 8. Rename each to say "Flight Paramedic Stretcher" and "Flight Paramedic Stretcher Single" 9. Select the appropriate v3o model for each prototype. "Flight Paramedic Stretcher Single" works as expected. However when I load "Flight Paramedic Stretcher" the editor crashes to desktop. Any ideas on what is going on?
  7. Some scripting questions for you all: (I know how to script I just need to know how to approach each problem or if it's even possible) I'm trying to add some extra functionality to the LAStabilize (I'm working with LA Mod) command to allow those with the Stabilize (Not heal) command be able to slow down the life drain rate of medical victims who are "comatose". Usually the stabilize command will not do anything for a comatose person, and the best thing anyone can do is use the heal command with an EMERGENCY BAG. I want to add the ability for the stabilize command to dramatically slow the (relatively fast) life draining rate when a person is comatose to allow for more time for a character with an emergency bag to get the victim. Where might I begin in accomplishing this? Would I be using the setInjuredLifeDrain() or setMedicalLifeDrain()? Second question: How can I change the starting life amount for victims of medical event is freeplay? For example, I would like certain events like food poisoning to have the victim start with less health points. Third question: Is it possible to change the life points of a person who has been shot? I would like to have those who have been shot start at half of their normal life points when injured.
×
×
  • Create New...