[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/lv/ - Libre Vidya

Video Games in Freedom

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


File: 1438080335062.jpg (266.25 KB, 1600x900, 16:9, xontemp20150728043302-00.jpg)

 No.1047

Need QuakeC help: can't get decals/bulletholes to work with spawned in BSP entities.

I spawn a bsp model in game. Though when you shoot it there are particle effects, there are no bullet holes/decals.

I can't figure out how to make them stick to it. I look in the darkplaces source to no avail, the quakec source, and google.

No mention of this.

spawnfunc_misc_clientmodel();

self.solid = SOLID_BSP;

self.movetype = MOVETYPE_PUSH;

how do I get decals/bulletholes to go on it, if possible? Is there a flag? The non-entity 0 movers in the map get bullet holes…

I notice entity 0 gets bullet holes, and other entities (movers, doors in the map) also get bullet

holes and decals. They aren't entity 0 but are part of the map.

Engine: darkplaces.

I asked on IRC but was told to fuck off they won't help me.

 No.1055

Just a reply to let you know you are not being ignored.

I struggle to understand why this would be an issue to begin with.

Is there another game using this? Sometimes looking at code that already works can be revealing.


 No.1058

Anyone have any ideas or could you go to darkplaces irc and ask them? They might help you (they won't help me).

irc.anynet.org

#darkplaces

#qc

Anon: I've looked at the code, and tried stuff, nothing works. The map built-ins are loaded at the begining, but that wont help things you build yourself or mutators spawn.

I wish there was a flag: self.acceptdecals :(


 No.1059

File: 1438236084611.jpg (253.68 KB, 1600x900, 16:9, xontemp20150729235507-00.jpg)

Heres a pic of the city generator.

I made all the buildings, (and the map here too).

Decals don't stick to them, only to the map (terrain)


 No.1060

File: 1438236184277.jpg (160.7 KB, 1600x900, 16:9, xontemp20150730000049-00.jpg)

They all have interiors


 No.1062

File: 1438239275259.jpg (294.28 KB, 1600x900, 16:9, xontemp20150730024251-00.jpg)

More examples


 No.1063

File: 1438239338183.jpg (276.11 KB, 1600x900, 16:9, xontemp20150730025549-00.jpg)

screenshot from today


 No.1064

File: 1438239377172.jpg (266.91 KB, 1600x900, 16:9, xontemp20150730030037-00.jpg)

screenshot from today


 No.1065

File: 1438245791756.jpg (147.78 KB, 1600x900, 16:9, xontemp20150730043527-00.jpg)

Just discovered this:

When you shoot right next to the model, where it intersects the world, it will

put parts of the decal on. Same with if something gets gibbed.

(Here the world (entity 0) is the grass, the bungalow is a bsp model)

Directly shooting the model gives no decal, and blood won't put stains on it when directly

dripped onto it.

[IMG]http://lgdb.org/sites/default/files/node_images/26891/13019.jpg[/IMG]

[IMG]http://lgdb.org/sites/default/files/node_images/26891/13021.jpg[/IMG]

[IMG]http://lgdb.org/sites/default/files/node_images/26891/13020.jpg[/IMG]


 No.1066

File: 1438246671111.jpg (123.97 KB, 1600x900, 16:9, xontemp20150730045816-00.jpg)

Seems like decals appear if you shoot the model near where it is near a plane of

the realworld (entity 0).

Also blood dripping sometimes works, but never does a decal be left on a wall that

is not near a plane of the world(ent0)

http://lgdb.org/sites/default/files/node_images/26891/13024.jpg

http://lgdb.org/sites/default/files/node_images/26891/13025.jpg

http://lgdb.org/sites/default/files/node_images/26891/13026.jpg

Don't know why nor how to enable it on the .bsp models totally.

http://lgdb.org/sites/default/files/node_images/26891/13027.jpg


 No.1126

maybe try posting your shit where there's actual coders/programmers and not just gamers that just installed Ubuntu 3 months ago

>>>/stackoverflow/

>>>/prog/

>>>/tech/




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]