[Question] How to create rotating item_in_worlds (specifically gun items)?

I have recently joined in a development of a gun game map. I think the lead developer wants rotating guns that are similar to what we have in Quake.
I tried following this post but it is no longer working even for the rendinst

1 Like

I think you can find answer here (3): Some questions about mods

What do you mean?

You can also try to use animated_scene_rendinst, but it requires +game_rendinst/+game_rendinst_decor postfix template. And yeah… They’re probably work only for rendinsts. IIRC some of these animated rendinsts doesn’t work properly in online. I’ll check it a bit later & update my message.

Oh I noted that they also added animated_scene_rendinst_with_wind.

1 Like

@Devenddar The answer is this pretty simple actually
The lead developer showed me this
image
item_in_world entities will spin after this prefix is added
image
The third field below is the rotation speed
image

Well… You can do it by this way. But it probably will take more time that just add these properties to weapon pickup:

  token_free__rotationSpeedDegPerSecond:r=30.0

  "token_free__tag:tag"{
  }

Why? Because you will need to edit animchar, item template, collision and probably token nominal to 0.



Also better to not add many info to scene.blk file.

The lead developer

Who is the lead developer?

@Joylo_sensei

How about this?
image
I think _use works similar to the + thing
edit: f it doesn’t. Never mind!

i believe he is talking about enginya.

but she is… a developer.
once attached to the editor.

EDIT:

what,
who da hell

is he?

where is his fancy tag

No, he develop mods, not a game developer
I joined his development here: Some questions about mods

ah… lenguage barrier.

for a moment, we almost found the golden chicken who lied the golded eggs.

but apparently not.

1 Like

A bit updated my old message.

Why need add all info from token when you can use only some of them? Also yeah… Line _use works like postfix template.

Don’t worry All the members of the staff active on the forum have a tag or a icon next to their name

Imagine there are undercovers that will spy on modders to see if there are anything fishy we are doing

Apparently not, it wont work
Your method works

and i love how the dropped gun would rotate into the ground
image

It’s actually work lol


Yeah… It’s bad idea to use almost similar weapons for screenshot.

But yeah… Still need to edit some properties. Like item template, item text, token nominal and something else.

Yeah. That’s why I suggest add seperate entity for pickup and for drop.

And you create nagant_m1895_zombie_pickup_gun_item for pickup. Only it rotates.

No, he develop mods, not a game developer

Mike-Monster-Inc-Bruh-Meme-meme-3

I mean idk what i was expecting

1 Like

I see, i know what you are saying now. So in the gun entity i do item__template:t="nagant_m1895_zombie_gun_item"
Very good idea

What do you guys think of this kar98k?
image
I created this by accident.

Spoiler

It is just a pre war kar98k over a k98k kriegsmodell

You probably don’t have to do this, because it will automatically have the correct if you do something like that:

nagant_m1895_zombie_pickup_gun_item{
  _use:t="nagant_m1895_zombie_gun_item"
1 Like