Scripting?

Discuss all aspects related to modding Zandronum here.
Post Reply
The Endertainer
 
Posts: 49
Joined: Thu Jun 28, 2012 12:25 pm
Location: Hell

Scripting?

#1

Post by The Endertainer » Thu Aug 23, 2012 1:21 am

I know this might be a stupid question (but i am new at wad making, so i need help) but how do you make scripts? There's one particular thing i want to know how, its how to set a slot for a weapon (ex.:the chaingun goes in slot 4)

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: Scripting?

#2

Post by TerminusEst13 » Thu Aug 23, 2012 1:24 am

You don't really have to learn scripting for that.

http://zdoom.org/wiki/Weapon_slots - This will tell you how.

BloodyAcid
Forum Regular
Posts: 294
Joined: Sat Jun 16, 2012 7:42 pm

RE: Scripting?

#3

Post by BloodyAcid » Thu Aug 23, 2012 1:38 am

Also, you posted in the wrong forum. The one you're looking for is this:

http://zandronum.com/forum/forumdisplay.php?fid=11

Also, you're not looking for ACS scripting, but rather DECORATE code.

Springy
Forum Regular
Posts: 233
Joined: Wed Jun 06, 2012 10:56 pm
Location: Britland
Contact:

RE: Scripting?

#4

Post by Springy » Thu Aug 23, 2012 9:46 am

It will be in decorate and it's weapon.slotnumber you're looking for.
[quote=Zero X Diamond ]Careful, you don't want to push that Pikachu dude to action. Who knows what unspeakable things lie in store for you? Maybe he'll... send you another nasty tweet![/quote]
[quote=Sonter_Man]Autism runs amok on zandaemon[/quote]

User avatar
Disguise
Retired Staff / Community Team Member
Posts: 359
Joined: Thu May 24, 2012 10:00 pm
Location: Romania
Contact:

RE: Scripting?

#5

Post by Disguise » Thu Aug 23, 2012 11:51 am

Moved to the correct place.
Image

The Endertainer
 
Posts: 49
Joined: Thu Jun 28, 2012 12:25 pm
Location: Hell

RE: Scripting?

#6

Post by The Endertainer » Thu Aug 23, 2012 12:48 pm

OK, but how do i actually replace a weapon? Basically replace the old chaingun with the new chaingun.

Neewbie
Forum Regular
Posts: 140
Joined: Sat Jun 23, 2012 11:10 am

RE: Scripting?

#7

Post by Neewbie » Thu Aug 23, 2012 1:11 pm


Watermelon
Zandrone
Posts: 1244
Joined: Thu Jun 28, 2012 9:07 pm
Location: Rwanda

RE: Scripting?

#8

Post by Watermelon » Thu Aug 23, 2012 5:45 pm

The Endertainer wrote: OK, but how do i actually replace a weapon? Basically replace the old chaingun with the new chaingun.
http://zdoom.org/wiki/Using_inheritance

Go there, youre going to be using 'replaces'.
Last edited by Watermelon on Thu Aug 23, 2012 5:45 pm, edited 1 time in total.

Post Reply