Page 1 of 2
Playerweapon?
Posted: Wed Apr 09, 2003 10:04 pm
by Bjarne BZR
Im dedicating an office room to every FFisON clan member in the next version of Vemork factory and as some members have specialised in certain weapons... I thought I would put that weapon in their rooms...
BUT ( here comes the question ) if i put a playerwaepon->axis->Kar98-sniper ( just an example ) in the map, will that be usable in game then? I don't want it to be... I just want it as a "plugged replica" on the wall or possibly just void of ammo... ( usable without ammo is more logical, now that I think of it... thats what I want ).
Posted: Wed Apr 09, 2003 10:19 pm
by Bjarne BZR
Argh! I made a test... by default its a respawning sniper rifle with 10*5 rounds of ammo! I want it not to respawn and have no ammo!
Gebe mir dekkung! Unter beschoss, ich brauche hilfe!
Must I script this or can I control it by mapping parameters?
Posted: Wed Apr 09, 2003 11:38 pm
by nuggets
prob can do it in scrtiping but not sure how 2,
u'd be best off just adding the files into the static directory (but not the tik)

Posted: Thu Apr 10, 2003 9:44 am
by Angex
You could try using a script model.
Posted: Thu Apr 10, 2003 10:14 am
by jv_map
Yes script_model will do the job

Posted: Thu Apr 10, 2003 11:15 am
by Bjarne BZR
Making it a script_model will make it "inert"?
But I want it to be non-respawning and void of ammo...

Posted: Thu Apr 10, 2003 12:14 pm
by jv_map
In that case, use the playerweapon and set these keys / values:
ammo_in_clip / 0
cnt / 1
You will be able to pickup the weapon, but it has no ammo and it won't respawn.
Posted: Thu Apr 10, 2003 12:26 pm
by Bjarne BZR
U rock jv!
( I'll flame U later if it doesent work

)
The cnt variable.... is that 'count'? So if I'll set 2 it will respawn once?
Posted: Thu Apr 10, 2003 12:29 pm
by jv_map
Yup. I hope. Or I'll be flamed I guess

Posted: Thu Apr 10, 2003 12:57 pm
by Bjarne BZR
1/2 flame!
Respawn disabling with cnt 1 works as expected, but the ammo_in_clip 0 is ignored

Do you just know this stuff or do you read it somewhere jv?
Posted: Thu Apr 10, 2003 1:46 pm
by jv_map
It's in g_allclasses.html that ships with Radiant.
But appearently not all information is correct

Posted: Thu Apr 10, 2003 3:33 pm
by Bjarne BZR
startammo 0
dmstartammo 0
ammo_in_clip 0
...none of them work...

Posted: Thu Apr 10, 2003 5:27 pm
by wacko
Bjarne BZR wrote:Gebe mir dekkung! Unter beschoss, ich brauche hilfe!
Is this Swedish? It's almost the same as German ("Gebt mir Deckung! Unter Beschu?, ich brauche Hilfe!")
Posted: Thu Apr 10, 2003 9:42 pm
by Bjarne BZR
Nope, that what I thoght the Germans were saying... ( The texts give the english versions on the servers i play

)
Posted: Thu Apr 10, 2003 9:47 pm
by wacko

sorry! didn't want to play teacher... I just was so surprised that this is soo similar that I quit thinking for a moment.