Jump to content

SergeantTomlin

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by SergeantTomlin

  1. 2 minutes ago, itchboy said:

    Rechecking them one by one.

    Try using notepad++ as a replacement for regular notepad, in order to have a 'highlighter' that shows the end and beginning lines of the code. If things dont line up, it might show up.

    Last resort is sending the files to me for me to give it a try to fix.

    For some reason I cannot get Notepad++ to open xml files. 

  2. 1 hour ago, itchboy said:

    Means something has gone wrong in one of the xml's. The unit icons should show up correctly if everything is setup right, even if you just plopped the vehicle at random.

    Go into the FP map where you plopped the vehicle. Delete it and replace it with a 'fresh' one. Commands should show up.

    The commands are there now.

     

    Anyway, how should I go about fixing the xml's? 

  3. 14 hours ago, itchboy said:

    Do the texts and unit name below it appear?

    For now, if you cant get the unit to spawn via menu, go into the editor and add the needed commands into the units. MoveTo, EmptyCar, GoHome, and others if need be.

    Edit in the traits as well to make it a vehicleType 'POLICE_STW'.

    The only thing that appears under it is ID_TOOLTIP_HC_SMPA. 

    And I'll do that. 

    The car can be selected now, I can place an officer inside of it, and move it around the map.

    However, even though I added them, the EmptyCar and GoHome commands don't show up, and the car still isn't accessible from the menu. 

  4. Got it, I'll do it now.

     

    18 hours ago, itchboy said:

    An experimental idea. Go into the editor, go into the FP map. Plop one instance of that police cruiser in the map. Make a backup of the original. Save the edited map.

    Go ingame and you should have the vehicle in the map (but not in the menu). Check if the vehicle's icons, text and commands show up.

    How do I make a backup of the original? I can't find the map file inside my mod folder. 

     

    18 hours ago, itchboy said:

    An experimental idea. Go into the editor, go into the FP map. Plop one instance of that police cruiser in the map. Make a backup of the original. Save the edited map.

    Go ingame and you should have the vehicle in the map (but not in the menu). Check if the vehicle's icons, text and commands show up.

    Alright, so I went into editor. 

    Added in one Civic.

    Saved.

    Opened it in freeplay.

    It didn't appear on the map, so I went to where I had placed it, and it was there.

    The health bar popped up, along with the "big" image for it, but there were no commands and I couldn't make a unit get in it. 

  5. As far as I can tell, there aren't any conflicts. 

    Here's the unit.xml's content. 

    <unit id="HC_SMPA">
        <campaign>
            <missions value="1 2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 24 26 27 28 29 30 31 32 33 34 35">
                <prototype name="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" />
                <price value="170" />
                <speed value="120" />
                <space value="2" />
                <loadspace value="2" />
                <personnel>
                    <unit id="POLICE_OFFICER">
                        <defaultcount value="3" />
                    </unit>
                </personnel>
                <equipment>
                    <unit id="ROAD BLOCK" />
                </equipment>
            </missions>
        </campaign>
        
        <freeplay>
            <missions value="22">
                <prototype name="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" />
                <price value="0" />
                <speed value="170" />
                <space value="2" />
                <loadspace value="2" />
                <personnel>
                    <unit id="POLICE_OFFICER">
                        <defaultcount value="3" />
                    </unit>
                </personnel>
                <equipment>
                    <unit id="ROAD BLOCK" />
                </equipment>
            </missions>
        </freeplay>        
    </unit>

     

    And I've also attached a screenshot of the Unit's folder. 

     

    As for what you said about my organization, thank you.

    I am nearly OCD when it comes to organization, having specific folders helps me locate things faster. 

    Screenshot_4.png

  6. 2 hours ago, itchboy said:

    Korean mod? Hope to see more Asian content being done.

    Did you try the portraits.xml in the Lang folder?

    Another thing that could have gone wrong is the folder name of the unit in the Personel/Vehicles folder.

    Yup, I'm working on Seoul.

    Privated for now, as I'm basically using other models to get the hang of editor and modding in general. 

    But anyway, yeah, I've checked all of that. 

    I'll attach all of the XMLs I have. 

    Starting with the Lang folder's contents; 

    Portraits.xml 

    <string name="ID_PORTRAIT_HC_SMPA">Honda Civic Patrol Vehicle</string>

    Infotexts.xml 

    <string name="ID_NAME_HC_SMPA">SMPA Honda Civic Patrol Vehicle</string>
    <string name="ID_PURPOSE_HC_SMPA">The Honda Civic Patrol Vehicle is used by Seoul's police officers to patrol their areas, and respond to 112 Emergency calls.
    <string name="ID_TOOLTIP_HC_SMPA">SMPA Honda Civic Patrol Vehicle</string>
    <string name="ID_ABBR_HC_SMPA">SMPAHC</string>

    And moving onto the Specs folder; 

    Freeplaybase.xml

        <vehicle prototype="mod:Prototypes/Vehicles/Police/stw.e4p" count="3" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/mtw.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/sw.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/phc.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/gtw.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/waw.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/getawaycar.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01" count="3" />
     

    Freeplaybase_d.xml

        <vehicle prototype="mod:Prototypes/Vehicles/Police/stw.e4p" count="3" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/mtw.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/sw.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/phc.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/gtw.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/waw.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/getawaycar.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01" count="3" />

    Freeplaybase_mp.xml 

    <vehicle prototype="mod:Prototypes/Vehicles/Police/stw.e4p" count="3" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/mtw.e4p" count="2" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/sw.e4p" count="1" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/phc.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/Police/waw.e4p" count="0" />
        <vehicle prototype="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01" count="3" />

    Metastrings.xml

    <meta>
        <file name="lang:infotexts.xml" />
        <file name="lang:poi.xml" />
        <file name="lang:portraits.xml" />
        <file name="lang:fail.xml" />
        <file name="lang:ingamehelp.xml" />
        <file name="lang:objectives.xml" />
        <file name="lang:hints.xml" />
        <file name="lang:missiontitles.xml" />
        <file name="lang:missiontips.xml" />
        <file name="lang:mission.xml" />
        <file name="lang:talk.xml" />
        <file name="lang:supervobj.xml" />
        <file name="lang:supervfail.xml" />
        <file name="lang:supervresult.xml" />
        <file name="lang:supervtut.xml" />
        <file name="lang:tutorial.xml" />
        <file name="lang:command.xml" />
        <file name="lang:supervobj.xml" />
        <file name="lang:credits.xml" />
        <file name="lang:supervquest.xml" />
        <file name="lang:quest.xml" />
        <file name="lang:supervaward.xml" />
        <file name="lang:events.xml" />
        <file name="lang:supervevents.xml" />
        <file name="lang:superveventsobj.xml" />
        <file name="lang:mainmenu.xml" />
        <file name="lang:gui.xml" />
        <file name="lang:score.xml" />
        <file name="lang:strings.xml" />
        <file name="lang:voices.xml" />
    </meta>

    Portraits.xml

    <portrait prototype="mod:Prototypes/Vehicles/Police/stw.e4p" text="STW" unit="STW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/mtw.e4p" text="MTW" unit="MTW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/sw.e4p" text="SW" unit="SW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/waw.e4p" text="WAW" unit="WAW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/gtw.e4p" text="GTW" unit="GTW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/phc.e4p" text="PHC" unit="PHC"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/getawaycar.e4p" text="FLIGHT" unit="FLIGHT"/>
        <portrait prototype="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" text="HC_SMPA" unit="HC_SMPA"/>

    The file directory where the car model and texture is are located at Seoul Modification V1 > Models > Vehicles > 03 Seoul Police > Honda Civic Patrol Car.

    The file directory where the prototypes for the car are located at Seoul Modification V1 > Models > Vehicles >03 Seoul Police > Honda Civic Patrol Car. 

  7. 1 hour ago, itchboy said:

    Does it have the required unit icons in it? What about the 'Lang' part for the infotexts and stuff? Portraits.xml in specs, and portraits.xml in Lang folder as well.

    Sigh, I wish adding units were easier, but unfortunately they arent.

    All of the icons are there, and I'm pretty sure I have the infotexts set up right. 

     

    Screenshot_57.png

  8. 4 hours ago, FInn Rescue 12 said:

    Check the unis file make sure the unit ID is the same iexample (   <unit id="TAURUS_MSP" )  used in your portraits specs      <portrait 

        <portrait prototype="mod:Prototypes/Vehicles/03 LA Police/Taurus_msp.e4p" text="TAURUS_MPS" unit="TAURUS_MSP"/>. 

    freeplay      <vehicle prototype="mod:Prototypes/Vehicles/03 LA Police/Taurus_msp.e4p" count="1" />

     

    It is, but it still refuses to work. 

    I'll attach the Specs Portrait, and the Unit xml. 

    Unit XML; 

    <unit id="HC_SMPA">
        <campaign>
            <missions value="1 2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 24 26 27 28 29 30 31 32 33 34 35">
                <prototype name="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" />
                <price value="170" />
                <speed value="120" />
                <space value="2" />
                <loadspace value="2" />
                <personnel>
                    <unit id="POLICE_OFFICER">
                        <defaultcount value="3" />
                    </unit>
                </personnel>
                <equipment>
                    <unit id="ROAD BLOCK" />
                </equipment>
            </missions>
        </campaign>
        
        <freeplay>
            <missions value="22">
                <prototype name="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" />
                <price value="0" />
                <speed value="170" />
                <space value="2" />
                <loadspace value="2" />
                <personnel>
                    <unit id="POLICE_OFFICER">
                        <defaultcount value="3" />
                    </unit>
                </personnel>
                <equipment>
                    <unit id="ROAD BLOCK" />
                </equipment>
            </missions>
        </freeplay>        
    </unit>

     

    Portraits XML, for the police section 

        <portrait prototype="mod:Prototypes/Vehicles/Police/stw.e4p" text="STW" unit="STW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/mtw.e4p" text="MTW" unit="MTW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/sw.e4p" text="SW" unit="SW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/waw.e4p" text="WAW" unit="WAW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/gtw.e4p" text="GTW" unit="GTW"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/phc.e4p" text="PHC" unit="PHC"/>
        <portrait prototype="mod:Prototypes/Vehicles/Police/getawaycar.e4p" text="FLIGHT" unit="FLIGHT"/>
        <portrait prototype="mod:Prototypes/Vehicles/03 Seoul Police/smpa_patrolcar01.e4p" text="HC_SMPA" unit="HC_SMPA"/>

  9. I have been trying to add the car I've set up in editor into the game, following a video tutorial, and Hoppah's text tutorial. However, even though I have all of my stuff set up properly, (I've compared it to the LA Mod XMLs to double check), the car won't show up in Freeplay, or Editor. I need help with this, I can send my XMLs if they're needed. 

  10. I'm currently making a mod (that I will reveal later on, it's still in the early stages) and I'm having problems my first car.

    I've set up all of the folders correctly, and I've made the prototype in the editor successfully, and I've linked the model to it. 

    However, when I insert the model into the editor, the "missing modelfile" box appears. 

    I went to look at the v3o file in notepad and I've noticed that it's empty.

    What do I do to fix this? 

     

    EDIT;

    Resolved, I had a typo in the model name when I exported it. 

  11. 17 hours ago, itchboy said:

    Extrude the thing. Go into vertice mode and move the dots to form the side panel to form into the image on the upper left. My tutorial covers the process. This is what an extruded mesh should look like. Ive already UV mapped it but the lines should make the form much clearer.

    I can't seem to extrude properly. 

    Did I model it incorrectly? 

  12. So I'm having some noob issues with vehicle modeling.

    I've went through several tutorials, (Hoppah's modeling tutorial, itchboy's modeling a vehicle from scratch tutorial, and a YouTube tutorial that was in 240p and barely watchable.) 

    However, I keep getting stuck when I find it time to model the other sides, the top, the trunk, and the front. 

     

    For example, I'll use the Dodge Charger I've been modeling. (I've attached an image, though I'm not sure if I attached it properly) 

    I've modeled the left side of the charger, leaving a gap for the door, which I'm going to model later (If I recall I'm supposed to leave spots for the doors).

    What do I do now? (Pardon for my noob-osity, I'm extremely new to modeling.)  

     

    Screenshot_28.png

×
×
  • Create New...