Search found 73 matches

by russ
Fri May 04, 2018 8:47 am
Forum: 1942 Modding Discussion
Topic: Toggle vehicle engine on/off?
Replies: 4
Views: 10990

Re: Toggle vehicle engine on/off?

Yup, that won't have any effect on that template type. Here's a full catalog of things that you can do to an engine template: 1[2/1] 0/1 int ObjectTemplate[Engine].engineType(int) defaultDynamicObjectName 1[2/1] 0/1 float ObjectTemplate[Engine].torque(float) defaultDynamicObjectName 1[2/1] 0/1 float...
by russ
Thu May 03, 2018 10:56 am
Forum: 1942 Modding Discussion
Topic: Toggle vehicle engine on/off?
Replies: 4
Views: 10990

Re: Toggle vehicle engine on/off?

setActivater only functions on ActiveKitPartTemplate. What template type are you attempting to use it on?
by russ
Fri Apr 27, 2018 7:59 am
Forum: 1942 Modding Discussion
Topic: *SSM Limiting Altitude in SA342s
Replies: 29
Views: 47495

Re: *SSM Limiting Altitude in SA342s

You just put a bunch of bubbles at altitude. Depending on how the engine works, you might be able to cheat and put it at 10,000,000 meters or something and set the radius to 9,999,900 meters.
by russ
Wed Apr 25, 2018 6:04 am
Forum: 1942 Modding Discussion
Topic: *SSM Limiting Altitude in SA342s
Replies: 29
Views: 47495

Re: *SSM Limiting Altitude in SA342s

Another quick idea. You could put in some death bubbles at altitude.
by russ
Tue Apr 24, 2018 5:55 am
Forum: 1942 Modding Discussion
Topic: Fixing the CTF flag object so it doesn't fall through meshes
Replies: 33
Views: 80656

Re: Fixing the CTF flag object so it doesn't fall through me

I don't mean the code, I mean what did you try? Shooting at it? Throwing grenades at it? Pushing it with a jeep? etc.
by russ
Mon Apr 23, 2018 10:01 pm
Forum: 1942 Modding Discussion
Topic: Fixing the CTF flag object so it doesn't fall through meshes
Replies: 33
Views: 80656

Re: Fixing the CTF flag object so it doesn't fall through me

Out of curiosity, what actions did you test?
by russ
Mon Apr 23, 2018 1:49 pm
Forum: 1942 Modding Discussion
Topic: Fixing the CTF flag object so it doesn't fall through meshes
Replies: 33
Views: 80656

Re: Fixing the CTF flag object so it doesn't fall through me

When the flag is dropped, it doesn't do any interacting. Take a look at dice::ref2::world::Flag::handleDrop. It gets the position of the player's "vehicle", then gets the terrain height and normal at that position. It then sets the flag position to 1.5 meters above the terrain. drop is not...
by russ
Sun Apr 22, 2018 7:26 am
Forum: 1942 Modding Discussion
Topic: Fixing the CTF flag object so it doesn't fall through meshes
Replies: 33
Views: 80656

Re: Fixing the CTF flag object so it doesn't fall through me

Fun fact, since the flag just warps to the surface of the terrain, if you kill someone who has the flag while standing next to them but you are on the upper floor of a building you don't return the flag.
by russ
Wed Apr 18, 2018 9:27 am
Forum: General discussion & notices
Topic: Vehicle that stops working but never dies..
Replies: 15
Views: 46323

Re: Vehicle that stops working but never dies..

Zombie thread, but you might try ObjectTemplate.resetWhenRemoved 1. After timeToLiveAfterDeath has passed, it should reset it to full health.
by russ
Tue Apr 17, 2018 1:42 am
Forum: 1942 Modding Discussion
Topic: *SSM Limiting Altitude in SA342s
Replies: 29
Views: 47495

Re: *SSM Limiting Altitude in SA342s

Here's what happens when someone drops the zero air density altitude to zero while you are flying: http://www.youtube.com/watch?v=kCa5AGUGAkc Here's what happens when it's zero at takeoff: http://www.youtube.com/watch?v=gWtI00_6N5k Note that the takeoff roll is quite fast. It looks like if anything ...