If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here
Moderator: Moderators
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Wed Apr 09, 2003 10:04 pm
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 ).
Admin .MAP Forums
Head above heels.
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Wed Apr 09, 2003 10:19 pm
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?
Admin .MAP Forums
Head above heels.
nuggets
General
Posts: 1006 Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:
Post
by nuggets » Wed Apr 09, 2003 11:38 pm
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)
hope this helps, prob not cos it's all foreign 2 me :-/
Angex
Major
Posts: 293 Joined: Mon Dec 30, 2002 1:23 pm
Contact:
Post
by Angex » Thu Apr 10, 2003 9:44 am
You could try using a script model.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Apr 10, 2003 10:14 am
Yes script_model will do the job
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Thu Apr 10, 2003 11:15 am
Making it a script_model will make it "inert"?
But I want it to be non-respawning and void of ammo...
Admin .MAP Forums
Head above heels.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Apr 10, 2003 12:14 pm
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.
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Thu Apr 10, 2003 12:26 pm
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?
Admin .MAP Forums
Head above heels.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Apr 10, 2003 12:29 pm
Yup. I hope. Or I'll be flamed I guess
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Thu Apr 10, 2003 12:57 pm
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?
Admin .MAP Forums
Head above heels.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Apr 10, 2003 1:46 pm
It's in g_allclasses.html that ships with Radiant.
But appearently not all information is correct
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Thu Apr 10, 2003 3:33 pm
startammo 0
dmstartammo 0
ammo_in_clip 0
...none of them work...
Admin .MAP Forums
Head above heels.
wacko
Field Marshal
Posts: 2085 Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany
Post
by wacko » Thu Apr 10, 2003 5:27 pm
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!")
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Thu Apr 10, 2003 9:42 pm
Nope, that what I thoght the Germans were saying... ( The texts give the english versions on the servers i play
)
Admin .MAP Forums
Head above heels.
wacko
Field Marshal
Posts: 2085 Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany
Post
by wacko » Thu Apr 10, 2003 9:47 pm
sorry! didn't want to play teacher... I just was so surprised that this is soo similar that I quit thinking for a moment.