Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Trick to bypass the bug in placing models in RPG

Learn more on how to use Sandbox, or submit your own tutorials or resources.
Post Reply
dassoubarna
Member
Member
Posts: 11
Joined: October 29th, 2009, 3:21 am
Name: Soubarna Das

Trick to bypass the bug in placing models in RPG

Post by dassoubarna »

I have faced some problem when I try to put my own model in RPG mode.

I have read about the problem and the bug in the following topic.

viewtopic.php?f=15&t=492&p=2312&hilit=spawn#p2312

I use a trick to solve the problem.

I put my own model in the models folder. (e.g. /SoU/mummy).

Then I go to the /data folder and open the default_map_models.cfg file.

I put my model path in the list as shown below.

  • ..............................................
    ..........................................
    mmodel "rc/blue"
    mmodel "rc/red" //128
    mmodel "rpg/characters/dragon"
    mmodel "rpg/characters/golem"
    mmodel "rpg/characters/grizzly"
    mmodel "rpg/characters/grizzly/lighter"
    mmodel "rpg/characters/horse"
    mmodel "rpg/characters/horse/black"
    mmodel "rpg/characters/horse/grey"
    mmodel "rpg/characters/horse/light_brown"
    mmodel "rpg/characters/mman"
    mmodel "rpg/characters/npcman" //138
    mmodel "rpg/characters/rat"
    mmodel "rpg/characters/snagon"
    mmodel "rpg/characters/wolf"
    mmodel "SoU/mummy"


As you can see the number of some models are written as a comment in the right side. The "rpg/characters/npcman" is the the 138th model.
So mine will be 142("SoU/mummy").

Now I open RPG in edit mode. I place my model SoU/mummy from the GUI. As usual it put a model box without a model.

Now I press "." to edit the entity . In command line I can see the following

/entset mapmodel 274 274 142 0 0 0 0 0 0

I just change the second attribute to 142 which is the model number and the next one is the trigger type which I change to 0 (or anything you want according to your requirement of trigger between 0 ..... 29). The first attribute is the Yaw.

/entset mapmodel 274 142 0 0 0 0 0 0 0 0

But still I don't see my model. Now I just put 141 instead of 142 and it works.

/entset mapmodel 274 141 0 0 0 0 0 0 0 0
And now I can see my model appeares in the map. :)

If you want to use "rpg/characters/npcman" just put 137.

For "rpg/characters/wolf", 140; for "rpg/characters/rat", 138 and so on. :lol:
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Trick to bypass the bug in placing models in RPG

Post by Mike »

If it is an already created map put in your maps art.cfg Make sure to put at the end. Putting it in the map_default_settings.cfg is so that it appears in future maps that you make and it will automatically be placed in the art files for the new maps. Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Post Reply