Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Douglas · Jun 30, 2012 at 06:40 AM · modding

KotOR-esque Modding System?

If you've ever modded Knights of the Old Republic, you'll know that it's rather simple. Just create(unless it's already there) an "Override" folder and drop the modified files in. I was wondering if I could do something like that for a project in Unity.

Basically, if a player wants to change the texture, they just find the texture images(KotOR uses .tga files), change them around in their editor, and then put them in the Override folder. Items could be retextured and even new items be made(simply creating the weapon files then adding a value to an item manager. Even scripts(AIs, force powers, difficulty, et cetera) and dialog could be created or edited in KotOR.

Is there anyway to force the engine to check and see if a file is in the Override folder(assuming that is what I call it) before it checks the core files and load the Override version if it exists? This would help a great deal because I plan on releasing official mods or "DLC" packs for my game after it is finished and an ability such as this would be extremely helpful. This method of modding works out best for both the modders and for the game owner. The modder doesn't have to worry about going into the source and changing it then recompiling and the game owner doesn't have to worry if they install a mod they don't like or that crashes the game. They simply removed the files from the override folder without worrying about ruining the game as the vanilla is never touched, just overridden.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Coderdood · Jun 30, 2012 at 05:05 PM

First you need to load resources at runtime this could be either from a local file or from a web server.

Next, unless your users have Unity 3D Pro in order to create Asset Bundles you would need to make your game use some custom file format for data.

A simple example would be to store a text file with balance values and download it from a server - as shown here.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Douglas · Jun 30, 2012 at 10:52 PM 0
Share

Thank you very much. :) It helps a great deal knowing this can be done.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How easy would mod compatibility be? 2 Answers

Can a Unity game create/load assets at runtime? 2 Answers

Letting players write code. 1 Answer

I cant mod a game made with unity. plz help me,I want to mod a game made in unity but when i locate to "assets/bin/data/managed" i see 3 folders instead of "assembly-csharp.dll" plz help me in how to edit this game. 0 Answers

How to serialize/deserialize a class without knowing its type 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges