OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: johan_d2 on 29 Mar 2005, 22:32:41

Title: custom signs
Post by: johan_d2 on 29 Mar 2005, 22:32:41
Hi,

Since the FLAG object has a mission designers option to attach a flag texture to it, why not with a street or city sign (name plate?)

So, I am looking for an object where I can set the texture of it!

Johan
Title: Re:custom signs
Post by: Grunt249 on 30 Mar 2005, 00:37:48
There is one I know of off the top of my head, but it's more of an advertisement-type sign than a street sign. I'm sure you can use this in some situations, or else you might have to make a new addon. A new one wouldn't be that hard to make though.

http://www.ofpbase.com/pafiledb/pafiledb.php?action=file&id=126 (http://www.ofpbase.com/pafiledb/pafiledb.php?action=file&id=126)

There is also an actual "street signs" addon, but it only includes two signs. You can check it out, and if it is close to what you need, you can either ask the author for permission to modify it to allow more textures, or you can make a new one similar to that style.

http://www.atwar.net/download.php?view.3515 (http://www.atwar.net/download.php?view.3515)
Title: Re:custom signs
Post by: johan_d2 on 30 Mar 2005, 07:45:33
the first leads to a dead download link... :noo:

the second one is not what I want.

And making a new addon for me is impossible,,,  ???
Title: Re:custom signs
Post by: dmakatra on 30 Mar 2005, 10:06:15
I can make the model... Shouldn't be too hard. No idea on how to make it customized though... Nedless to say, I'm no addon maker. I can have a look at that advert sign and maybe try to figure out how he did it.

:beat: *Gets Shot* :beat:

EDIT: That is, if I can find a correct link to the advert sign. ;D
Title: Re:custom signs
Post by: johan_d2 on 30 Mar 2005, 19:04:13
Hi,

It has something todo with hiddenselections in oxygen, and the use of setobjecttexture, at least that is what I can find in the forum.

Maybe that helps a bit?

Johan
Title: Re:custom signs
Post by: dmakatra on 30 Mar 2005, 19:59:32
Yea, that's what I thought. I have no idea how to use them though. As I said, I'm no addon maker. I got a tag though, yay! ;D

:beat: *Gets Shot* :beat:
Title: Re:custom signs
Post by: oyman on 30 Mar 2005, 21:47:38
in oxygen select the face or faces you want to be effected by the setobjectexture command, and make a new selection and name it yay
in the config you have to define yay in the Cfg models part like so
Code: [Select]
class cfgModels
{
    class Default{}:
    class Building : Default {};
    class sign : Building
    {
        sectionsInherit = "Building";
        sections[] = {yay};
    };
};
make sure you have a texture mapped to the yay faces
Title: Re:custom signs
Post by: johan_d2 on 30 Mar 2005, 22:05:48
@oyman

Wow.. thats abracadabra to me.. can you make a simple pole, with a plate on it that way?

Johan
Title: Re:custom signs
Post by: oyman on 30 Mar 2005, 22:07:47
sure when I get home ;)
Title: Re:custom signs
Post by: MOC_XIII on 31 Mar 2005, 06:38:36
Hey there was a sign addon on edgefiles that Grunt249 mentioned here but its link doesnt work.
But anyway, this addon idea sounds fun for making shops and car dealers and stuff.

We could even try to make a soda machine that you can advertise on!
If anyone makes this addon, please tell me!  :) ;)
Title: Re:custom signs
Post by: oyman on 31 Mar 2005, 07:04:45
(http://img.photobucket.com/albums/v331/oyman/dxdshot1112232652.jpg)
heres a test of the sign
I just took the BIS sign model, demo mission included

if you want some more sign models draw some in paint or something and ill make them :)


and like I said that sign model is just a test

1 bug is that you cant knock down the pole
Title: Re:custom signs
Post by: johan_d2 on 31 Mar 2005, 07:45:50
AMAZING!!!, just back from work, and you did it!!

Downloading and testing... BRB

Johan
Title: Re:custom signs
Post by: johan_d2 on 31 Mar 2005, 08:03:30
Hi,

Can you make something like this?

(http://www.toteshows.com/image/cvillesmsign.jpg)

Not to big, and about on head height?

And a lower one like this?

(http://www.davidson.edu/academic/german/gallery/geschichte/achtung.jpg)

I gonna use the first one you made, very usefull for my Battle of the Bulge Island I am making!

Johan
Title: Re:custom signs
Post by: oyman on 31 Mar 2005, 21:48:37
sure, when I get home again ;D


 ;)
Title: Re:custom signs
Post by: Planck on 31 Mar 2005, 22:09:22
Quote
1 bug is that you cant knock down the pole

Have you tried:

destrType="DestructTree";


Planck
Title: Re:custom signs
Post by: oyman on 31 Mar 2005, 22:16:19
yes, I have

its in the config right now

seems not to work on objects configed as flags or anything that is configed off flags :-\
Title: Re:custom signs
Post by: johan_d2 on 31 Mar 2005, 22:28:19
Hi,

Can you also include the TGA for the sign? its easier to make a new texture... :-)

And while your at it, maybe a small billboard too?

Looking forward great Oyman!

Johan
Title: Re:custom signs
Post by: Planck on 31 Mar 2005, 22:40:17
Base it off another class .....hmmm...... Target perhaps.

Let me see...

class Static: All;
class Building: Static;
class Strategic: Building;
class Target: Strategic;
class Whatever: Target
...
...
...


Planck
Title: Re:custom signs
Post by: Deathinmyhead on 01 Apr 2005, 05:42:19
Oyman:
That desert storm sniper man standing under the signs is cool! Where can I get him?
Title: Re:custom signs
Post by: oyman on 01 Apr 2005, 06:39:28
its Hyk's US troops http://ofp.gamezone.cz/index.php?showthis=7763 (http://ofp.gamezone.cz/index.php?showthis=7763) :)
Title: Re:custom signs
Post by: Morglor9 on 01 Apr 2005, 08:15:19
i think it would be great if someone made a set of blank signs, that could be changed using "setobjecttexture" like the nose paint on the SEB Nam Pack 2 Hueys. the sign looks the same, just has a different words/pictures
Title: Re:custom signs
Post by: johan_d2 on 01 Apr 2005, 08:16:56
Well, he did, and does some more.. finally some is capable of doing it.. fingers crossed..

Johan

 :D
Title: Re:custom signs
Post by: oyman on 02 Apr 2005, 02:05:03
i think it would be great if someone made a set of blank signs, that could be changed using "setobjecttexture" like the nose paint on the SEB Nam Pack 2 Hueys. the sign looks the same, just has a different words/pictures
those signs do use the setobjecttexture command the one in the middle is just the regular sign, and the ones on the outside use the command :)