Help with sign templates

Post Reply
User avatar
Mantrid
Posts: 1233
Joined: 11 Aug 2015 08:04
Location: Mantrid Planet

Help with sign templates

#1 Post by Mantrid » 14 Sep 2017 09:09

I have created a new sign in Blender and it shows up perfectly in-game. Now I want to make it an editable sign, so I changed the attribute to "true". However when I try to create a new template using this sign model, it eventually crashes saying there are no editable areas.
I am at a total loss on how to proceed.
Rule [5.4.2]
Follow me on Twitch @ https://www.twitch.tv/homburg
Join my Discord @ https://discord.gg/XbtnazF
User avatar
natvander
SCS Software
Posts: 2991
Joined: 01 Feb 2015 01:42
Location: NSW, Australia

Re: Help with sign templates

#2 Post by natvander » 14 Sep 2017 10:26

Does your sign mesh have a hookup pointer for the editable area?
Never argue with idiots. They bring you down to their level and beat you with experience.
User avatar
Mantrid
Posts: 1233
Joined: 11 Aug 2015 08:04
Location: Mantrid Planet

Re: Help with sign templates

#3 Post by Mantrid » 14 Sep 2017 21:23

I think so, I modified an existing sign. There is a locator called ml6, is that it?
Rule [5.4.2]
Follow me on Twitch @ https://www.twitch.tv/homburg
Join my Discord @ https://discord.gg/XbtnazF
User avatar
natvander
SCS Software
Posts: 2991
Joined: 01 Feb 2015 01:42
Location: NSW, Australia

Re: Help with sign templates

#4 Post by natvander » 14 Sep 2017 21:30

That should be it. Is that referenced in the config for the sign?
Never argue with idiots. They bring you down to their level and beat you with experience.
User avatar
Mantrid
Posts: 1233
Joined: 11 Aug 2015 08:04
Location: Mantrid Planet

Re: Help with sign templates

#5 Post by Mantrid » 15 Sep 2017 03:47

Which config?
Rule [5.4.2]
Follow me on Twitch @ https://www.twitch.tv/homburg
Join my Discord @ https://discord.gg/XbtnazF
User avatar
natvander
SCS Software
Posts: 2991
Joined: 01 Feb 2015 01:42
Location: NSW, Australia

Re: Help with sign templates

#6 Post by natvander » 15 Sep 2017 04:58

Sorry - I'm at work and at the time was on the road. Now have access to my signs files (tho not the game) so we'll see how we go. I'll cover what i can - just skip the bits you already know.

Your sign def file should be in def/world

As an example of a file, here's one I prepared earlier

Code: Select all

sign_model : sign.nathan18 {
	model_desc: "/model/sign/navigation/n_jct_sign_1.pmd"
	model_coll: "/model/sign/navigation/n_jct_sign_1.pmc"
	
	distance_type: 2
	category: "editable area"
	sign_name: "n_jct_sign_1"
	dynamic: false
	editable: true
	mass: 500.0
	
	
}
Now in the blender file you need a locator - in your example ml6. In blender you need to ensure that locator references a hookup for the size you need. This specifies the editable area for the sign. To do this go to the locator settings and find a hookup named sign.xxy (width by height - whatever size you need). Make sure the hookup library is referenced in your library or it won't show here. Once it's referenced you export and it should show up.

Hope that helps. I'm flying a bit blind as I don't have Blender here to go off so if anyone wants to correct me feel free.
Never argue with idiots. They bring you down to their level and beat you with experience.
User avatar
Mantrid
Posts: 1233
Joined: 11 Aug 2015 08:04
Location: Mantrid Planet

Re: Help with sign templates

#7 Post by Mantrid » 15 Sep 2017 08:38

I don't know how to do any of that in Blender.

Edit: I figured it out, I was looking in the wrong place for the SCS Objects.

Thanks for your help
Rule [5.4.2]
Follow me on Twitch @ https://www.twitch.tv/homburg
Join my Discord @ https://discord.gg/XbtnazF
User avatar
natvander
SCS Software
Posts: 2991
Joined: 01 Feb 2015 01:42
Location: NSW, Australia

Re: Help with sign templates

#8 Post by natvander » 16 Sep 2017 08:39

So you're all set?
Never argue with idiots. They bring you down to their level and beat you with experience.
Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 6 guests